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 test_alias_skip_idx__fuzz_0 ( `c` UInt32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 2 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_1 ( `c` UInt32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 3 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_2 ( `c` Int128, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 4 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_3 ( `c` Nullable(Int128), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 5 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_4 ( `c` Nullable(Int128), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 6 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_5 ( `c` Nullable(Int128), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 7 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_6 ( `c` Nullable(Int128), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 8 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_7 ( `c` Int128, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 9 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_8 ( `c` Array(Int128), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_alias_skip_idx__fuzz_8 (`c` Array(Int128), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(Int128) and UInt8 of arguments of function plus: While processing c + 1 AS a: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 10 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_9 ( `c` Float32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 11 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_10 ( `c` Float32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 12 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_11 ( `c` Float32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 13 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_12 ( `c` Float32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 14 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_13 ( `c` LowCardinality(Float32), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 15 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_14 ( `c` Nullable(Float32), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 16 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_15 ( `c` Tuple(Int32, Int128, UInt256, DateTime64(3)), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_alias_skip_idx__fuzz_15 (`c` Tuple(Int32, Int128, UInt256, DateTime64(3)), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Tuple(Int32, Int128, UInt256, DateTime64(3)) and UInt8 of arguments of function plus: While processing c + 1 AS a: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 17 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_16 ( `c` Float32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 18 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_17 ( `c` Float32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 19 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_18 ( `c` Float32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 20 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_19 ( `c` Array(Float32), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_alias_skip_idx__fuzz_19 (`c` Array(Float32), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(Float32) and UInt8 of arguments of function plus: While processing c + 1 AS a: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 21 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_20 ( `c` Int32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 22 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_21 ( `c` Int32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 23 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_22 ( `c` Int32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 24 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_23 ( `c` Array(Int32), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_alias_skip_idx__fuzz_23 (`c` Array(Int32), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(Int32) and UInt8 of arguments of function plus: While processing c + 1 AS a: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 25 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_24 ( `c` Nullable(Int32), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 26 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_25 ( `c` Nullable(Int32), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 27 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_26 ( `c` Nullable(Int32), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 28 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_27 ( `c` Int32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 29 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_28 ( `c` Int32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 30 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_29 ( `c` LowCardinality(Int32), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 31 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_30 ( `c` Decimal(18, 1), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 32 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_31 ( `c` Array(Decimal(18, 1)), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_alias_skip_idx__fuzz_31 (`c` Array(Decimal(18, 1)), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(Decimal(18, 1)) and UInt8 of arguments of function plus: While processing c + 1 AS a: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 33 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_32 ( `c` String, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_alias_skip_idx__fuzz_32 (`c` String, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types String and UInt8 of arguments of function plus: While processing c + 1 AS a: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 34 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_33 ( `c` Decimal(18, 1), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 35 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_34 ( `c` Date, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 36 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_35 ( `c` Date, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 37 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_36 ( `c` LowCardinality(Date), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 38 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_37 ( `c` LowCardinality(Date), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 39 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_38 ( `c` LowCardinality(Date), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 40 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_39 ( `c` LowCardinality(Date), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 41 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_40 ( `c` LowCardinality(Nullable(Date)), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 42 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_41 ( `c` LowCardinality(Nullable(Date)), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 43 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_42 ( `c` Float32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 44 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_43 ( `c` Float32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 45 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_44 ( `c` Float32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 46 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_45 ( `c` LowCardinality(Float32), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 47 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_46 ( `c` Array(LowCardinality(Float32)), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_alias_skip_idx__fuzz_46 (`c` Array(LowCardinality(Float32)), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(Float32) and UInt8 of arguments of function plus: While processing c + 1 AS a: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 48 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_47 ( `c` LowCardinality(Float32), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 49 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_48 ( `c` Array(Float32), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_alias_skip_idx__fuzz_48 (`c` Array(Float32), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(Float32) and UInt8 of arguments of function plus: While processing c + 1 AS a: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 0 out of 1 Query succeeded, using this AST as a start INSERT INTO test_alias_skip_idx__fuzz_30 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_25 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_41 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_21 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_35 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_10 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_4 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_37 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_0 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_14 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_3 SELECT number FROM numbers(10) Fuzzing step 0 out of 1 Query succeeded, using this AST as a start INSERT INTO test_alias_skip_idx__fuzz_30 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_25 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_41 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_21 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_35 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_10 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_4 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_37 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_0 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_14 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_3 SELECT number + 200 FROM numbers(10) Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 2 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 3 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 4 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 5 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 6 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 7 out of 1000 EXPLAIN AST graph = true SELECT 'merge_expressions=0' Error on processing query 'EXPLAIN AST graph = true SELECT 'merge_expressions=0'': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 8 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 9 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 10 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 11 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 12 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 13 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 14 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 15 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 16 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 17 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 18 out of 1000 SELECT toFixedString('merge_expressions=0', 19) Query succeeded, using this AST as a start Fuzzing step 19 out of 1000 SELECT toFixedString('merge_expressions=0') Error on processing query 'SELECT toFixedString('merge_expressions=0')': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope SELECT toFixedString('merge_expressions=0'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 20 out of 1000 SELECT toFixedString('merge_expressions=0', 19) Got boring AST Fuzzing step 21 out of 1000 SELECT toFixedString(toLowCardinality('merge_expressions=0'), 19) Query succeeded, using this AST as a start Fuzzing step 22 out of 1000 SELECT toFixedString(toLowCardinality(toNullable('merge_expressions=0')), 19) Query succeeded, using this AST as a start Fuzzing step 23 out of 1000 SELECT toFixedString(toLowCardinality(toNullable('merge_expressions=0')), 19) Got boring AST Fuzzing step 24 out of 1000 SELECT toFixedString(toLowCardinality(toNullable('merge_expressions=0')), 19) Got boring AST Fuzzing step 25 out of 1000 SELECT toFixedString(toLowCardinality(toNullable('merge_expressions=0')), 19) Got boring AST Fuzzing step 26 out of 1000 SELECT toFixedString(toLowCardinality(toNullable('merge_expressions=0')), 19) Got boring AST Fuzzing step 27 out of 1000 SELECT toLowCardinality(toNullable('merge_expressions=0')), 19 Query succeeded, using this AST as a start Fuzzing step 28 out of 1000 SELECT toLowCardinality(toNullable('merge_expressions=0')), 19 Got boring AST Fuzzing step 29 out of 1000 SELECT toLowCardinality(toNullable('merge_expressions=0')), toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 30 out of 1000 SELECT toLowCardinality(toNullable('merge_expressions=0')), 19 Query succeeded, using this AST as a start Fuzzing step 31 out of 1000 SELECT toLowCardinality(toNullable('merge_expressions=0')), 19 Got boring AST Fuzzing step 32 out of 1000 SELECT toLowCardinality(toNullable('merge_expressions=0')), 19 Got boring AST Fuzzing step 33 out of 1000 SELECT toLowCardinality(toNullable(toLowCardinality('merge_expressions=0'))), 19 Query succeeded, using this AST as a start Fuzzing step 34 out of 1000 SELECT toLowCardinality(toNullable(toLowCardinality('merge_expressions=0'))), 19 Got boring AST Fuzzing step 35 out of 1000 SELECT toLowCardinality(toNullable(toLowCardinality('merge_expressions=0'))), 19 Got boring AST Fuzzing step 36 out of 1000 SELECT toNullable(toLowCardinality('merge_expressions=0')), 19 Query succeeded, using this AST as a start Fuzzing step 37 out of 1000 SELECT toNullable('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 38 out of 1000 SELECT toNullable('merge_expressions=0'), 19 Got boring AST Fuzzing step 39 out of 1000 SELECT toNullable('merge_expressions=0'), 19 Got boring AST Fuzzing step 40 out of 1000 SELECT toNullable('merge_expressions=0'), 19 Got boring AST Fuzzing step 41 out of 1000 SELECT toNullable('merge_expressions=0'), 19 Got boring AST Fuzzing step 42 out of 1000 SELECT toNullable('merge_expressions=0'), 19 Got boring AST Fuzzing step 43 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 44 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 45 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 46 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 47 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 48 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 49 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 50 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 51 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 52 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 53 out of 1000 SELECT 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_3 Error on processing query 'SELECT 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_3': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_3' in scope SELECT 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 54 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 55 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 56 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 57 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 58 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 59 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 60 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 61 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 (''merge_expressions=0''): 'merge_expressions=0', 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 62 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 63 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 64 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 65 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 66 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 (''merge_expressions=0''): 'merge_expressions=0', 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 67 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 68 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 69 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 70 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 71 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 72 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 73 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 74 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 75 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 76 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 77 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 78 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 79 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 80 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 81 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 82 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 83 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 85 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 86 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 87 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 88 out of 1000 EXPLAIN SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 89 out of 1000 EXPLAIN SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 90 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 92 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 94 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 95 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 96 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 97 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 98 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 99 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 100 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 101 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 102 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 103 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 104 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 105 out of 1000 EXPLAIN SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 106 out of 1000 EXPLAIN SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 107 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 108 out of 1000 EXPLAIN SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 109 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 110 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 111 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 112 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 113 out of 1000 EXPLAIN SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 114 out of 1000 EXPLAIN SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 115 out of 1000 EXPLAIN SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 116 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 117 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', materialize(toUInt128(19)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', materialize(toUInt128(19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 (''merge_expressions=0''): 'merge_expressions=0', materialize(toUInt128(19)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 118 out of 1000 EXPLAIN SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 119 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 120 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 121 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 122 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 123 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 124 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', materialize(toUInt128(19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 (''merge_expressions=0''): 'merge_expressions=0', materialize(toUInt128(19)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 125 out of 1000 EXPLAIN SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 126 out of 1000 EXPLAIN SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 127 out of 1000 EXPLAIN SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 128 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 129 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 130 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 131 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 132 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', materialize(toUInt128(19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 (''merge_expressions=0''): 'merge_expressions=0', materialize(toUInt128(19)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 133 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 134 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 135 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 136 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 137 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', materialize(toUInt128(19)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', materialize(toUInt128(19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 (''merge_expressions=0''): 'merge_expressions=0', materialize(toUInt128(19)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 138 out of 1000 EXPLAIN SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 EXPLAIN SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 140 out of 1000 EXPLAIN SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 141 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 142 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 143 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 144 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 145 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 146 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 147 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 148 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', materialize(toUInt128(19)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', materialize(toUInt128(19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 (''merge_expressions=0''): 'merge_expressions=0', materialize(toUInt128(19)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 149 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 150 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', materialize(toUInt128(19)) Got boring AST Fuzzing step 151 out of 1000 SELECT 'merge_expressions=0', materialize(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 152 out of 1000 SELECT 'merge_expressions=0', materialize(19) Query succeeded, using this AST as a start Fuzzing step 153 out of 1000 SELECT 'merge_expressions=0', materialize(19) Got boring AST Fuzzing step 154 out of 1000 SELECT 'merge_expressions=0', materialize(19) Got boring AST Fuzzing step 155 out of 1000 SELECT 'merge_expressions=0', materialize(19) Got boring AST Fuzzing step 156 out of 1000 SELECT 'merge_expressions=0', materialize(19) Got boring AST Fuzzing step 157 out of 1000 SELECT 'merge_expressions=0', materialize(19) Got boring AST Fuzzing step 158 out of 1000 SELECT 'merge_expressions=0', materialize(19) Got boring AST Fuzzing step 159 out of 1000 SELECT 'merge_expressions=0', materialize(19) Got boring AST Fuzzing step 160 out of 1000 SELECT 'merge_expressions=0', materialize(19) Got boring AST Fuzzing step 161 out of 1000 SELECT 'merge_expressions=0', materialize(19) Got boring AST Fuzzing step 162 out of 1000 SELECT 'merge_expressions=0', materialize(19) Got boring AST Fuzzing step 163 out of 1000 SELECT 'merge_expressions=0', materialize(19) Got boring AST Fuzzing step 164 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 165 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 166 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 167 out of 1000 SELECT 'merge_expressions=0', 19 GROUP BY test_alias_skip_idx__fuzz_27 Error on processing query 'SELECT 'merge_expressions=0', 19 GROUP BY test_alias_skip_idx__fuzz_27': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_27' in scope SELECT 'merge_expressions=0', 19 GROUP BY test_alias_skip_idx__fuzz_27. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 168 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 169 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 170 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 171 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 172 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 173 out of 1000 SELECT MergeTree, 'merge_expressions=0', 19 Error on processing query 'SELECT MergeTree, 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Unknown expression identifier 'MergeTree' in scope SELECT MergeTree, 'merge_expressions=0', 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 174 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 175 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 176 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 177 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 178 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 179 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 180 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 181 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 182 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 183 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 184 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 185 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 186 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 187 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 188 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 189 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 190 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 191 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT 'merge_expressions=0', 19 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT 'merge_expressions=0', 19': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 192 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 193 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 194 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 195 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 196 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 197 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 198 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 (''merge_expressions=0''): 'merge_expressions=0', 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 199 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 200 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 201 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 202 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 203 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 204 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 205 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 206 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 207 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 208 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 209 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 210 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 211 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 212 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 213 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 214 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 215 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 216 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 217 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 218 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 219 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 220 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 221 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 222 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 223 out of 1000 EXPLAIN PIPELINE SELECT toNullable('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 224 out of 1000 EXPLAIN SYNTAX SELECT toNullable('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 225 out of 1000 EXPLAIN SYNTAX SELECT toNullable('merge_expressions=0'), 19 Got boring AST Fuzzing step 226 out of 1000 EXPLAIN SYNTAX SELECT toNullable('merge_expressions=0'), 19 Got boring AST Fuzzing step 227 out of 1000 EXPLAIN SYNTAX SELECT toNullable('merge_expressions=0'), 19 Got boring AST Fuzzing step 228 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable('merge_expressions=0'), 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable('merge_expressions=0'), 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('toNullable'): toNullable('merge_expressions=0'), 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 229 out of 1000 EXPLAIN SYNTAX SELECT toNullable('merge_expressions=0'), 19 Got boring AST Fuzzing step 230 out of 1000 EXPLAIN SYNTAX SELECT toNullable('merge_expressions=0'), 19 Got boring AST Fuzzing step 231 out of 1000 EXPLAIN SYNTAX SELECT toNullable('merge_expressions=0'), 19 Got boring AST Fuzzing step 232 out of 1000 EXPLAIN SYNTAX SELECT toNullable('merge_expressions=0'), 19 Got boring AST Fuzzing step 233 out of 1000 EXPLAIN SYNTAX SELECT toNullable('merge_expressions=0'), 19 Got boring AST Fuzzing step 234 out of 1000 EXPLAIN AST SELECT toNullable('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 235 out of 1000 SELECT toNullable('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 236 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 237 out of 1000 SELECT toLowCardinality('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 238 out of 1000 SELECT toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 239 out of 1000 SELECT toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 240 out of 1000 SELECT test_alias_skip_idx__fuzz_24, toLowCardinality('merge_expressions=0'), 19 Error on processing query 'SELECT test_alias_skip_idx__fuzz_24, toLowCardinality('merge_expressions=0'), 19': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_24' in scope SELECT test_alias_skip_idx__fuzz_24, toLowCardinality('merge_expressions=0'), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 241 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 242 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 243 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 244 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 245 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 246 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 247 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 248 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 249 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 250 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 251 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 252 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 253 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 254 out of 1000 SELECT 'merge_expressions=0', toNullable(19) Query succeeded, using this AST as a start Fuzzing step 255 out of 1000 SELECT 'merge_expressions=0', toNullable(19) Got boring AST Fuzzing step 256 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 257 out of 1000 SELECT 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_2 Error on processing query 'SELECT 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_2': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_2' in scope SELECT 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 258 out of 1000 SELECT toLowCardinality(toNullable('merge_expressions=0')), 19, 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 259 out of 1000 SELECT toNullable('merge_expressions=0'), 19, 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 SELECT toNullable('merge_expressions=0'), 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 261 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 262 out of 1000 SELECT 'merge_expressions=0', toNullable(19), 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 263 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 264 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 265 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 266 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 267 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 268 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 269 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 270 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 271 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 272 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 273 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 274 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 275 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 276 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 277 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 278 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 279 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 280 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 281 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 282 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 283 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 284 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 285 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 286 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 287 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 288 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 (''merge_expressions=0''): 'merge_expressions=0', 19, 'merge_expressions=0', 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 289 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 (''merge_expressions=0''): 'merge_expressions=0', 19, 'merge_expressions=0', 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 290 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 291 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 (''merge_expressions=0''): 'merge_expressions=0', 19, 'merge_expressions=0', 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 292 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 293 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 (''merge_expressions=0''): 'merge_expressions=0', 19, 'merge_expressions=0', 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 294 out of 1000 SELECT 'merge_expressions=0', materialize(toUInt256(19)), 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 295 out of 1000 SELECT 'merge_expressions=0', materialize(19), 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 SELECT 'merge_expressions=0', materialize(19), 'merge_expressions=0', 19 Got boring AST Fuzzing step 297 out of 1000 SELECT 'merge_expressions=0', materialize(19), 'merge_expressions=0', 19 Got boring AST Fuzzing step 298 out of 1000 SELECT 'merge_expressions=0', materialize(19), 'merge_expressions=0', 19 Got boring AST Fuzzing step 299 out of 1000 SELECT 'merge_expressions=0', materialize(19), 'merge_expressions=0', 19 Got boring AST Fuzzing step 300 out of 1000 SELECT 'merge_expressions=0', materialize(19), c + 1, 'merge_expressions=0', 19 Error on processing query 'SELECT 'merge_expressions=0', materialize(19), c + 1, 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'c' in scope SELECT 'merge_expressions=0', materialize(19), c + 1, 'merge_expressions=0', 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 301 out of 1000 SELECT 'merge_expressions=0', materialize(19), toLowCardinality('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 302 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 303 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 304 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 305 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality(toLowCardinality('merge_expressions=0')), 19 Query succeeded, using this AST as a start Fuzzing step 306 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality(toLowCardinality('merge_expressions=0')), 19 Got boring AST Fuzzing step 307 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 308 out of 1000 SELECT toNullable('merge_expressions=0'), 19, toLowCardinality('merge_expressions=0'), toUInt128(19) GROUP BY test_alias_skip_idx__fuzz_36, test_alias_skip_idx__fuzz_12, test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_44 Error on processing query 'SELECT toNullable('merge_expressions=0'), 19, toLowCardinality('merge_expressions=0'), toUInt128(19) GROUP BY test_alias_skip_idx__fuzz_36, test_alias_skip_idx__fuzz_12, test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_44': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_36' in scope SELECT toNullable('merge_expressions=0'), 19, toLowCardinality('merge_expressions=0'), toUInt128(19) GROUP BY test_alias_skip_idx__fuzz_36, test_alias_skip_idx__fuzz_12, test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_44. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 309 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 310 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 311 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19, toLowCardinality(toLowCardinality('merge_expressions=0')), 19 Query succeeded, using this AST as a start Fuzzing step 312 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19, toLowCardinality(toLowCardinality('merge_expressions=0')), 19 Got boring AST Fuzzing step 313 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, toLowCardinality(toLowCardinality('merge_expressions=0')), 19 Query succeeded, using this AST as a start Fuzzing step 314 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, toLowCardinality(toLowCardinality('merge_expressions=0')), 19 Got boring AST Fuzzing step 315 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, toLowCardinality(toLowCardinality('merge_expressions=0')), 19 Got boring AST Fuzzing step 316 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality(toLowCardinality('merge_expressions=0')), 19 Query succeeded, using this AST as a start Fuzzing step 317 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 318 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 319 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 320 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 321 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19), toLowCardinality('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 322 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19), toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 323 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19), toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 324 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality('merge_expressions=0'), toUInt256(19) GROUP BY test_alias_skip_idx__fuzz_21, test_alias_skip_idx__fuzz_6, test_alias_skip_idx__fuzz_3, test_alias_skip_idx__fuzz_10 Error on processing query 'SELECT 'merge_expressions=0', 19, toLowCardinality('merge_expressions=0'), toUInt256(19) GROUP BY test_alias_skip_idx__fuzz_21, test_alias_skip_idx__fuzz_6, test_alias_skip_idx__fuzz_3, test_alias_skip_idx__fuzz_10': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_21' in scope SELECT 'merge_expressions=0', 19, toLowCardinality('merge_expressions=0'), toUInt256(19) GROUP BY test_alias_skip_idx__fuzz_21, test_alias_skip_idx__fuzz_6, test_alias_skip_idx__fuzz_3, test_alias_skip_idx__fuzz_10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 325 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19), toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 326 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(toUInt128(19)), toLowCardinality('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 SELECT 'merge_expressions=0', toUInt128(19), toLowCardinality('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 328 out of 1000 SELECT 'merge_expressions=0', toUInt128(19), toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 329 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 330 out of 1000 SELECT 'merge_expressions=0', toUInt128(19), 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 331 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 332 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 333 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 334 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 335 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 336 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_13 Error on processing query 'SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_13': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_13' in scope SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_13. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 337 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 338 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 339 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19 Got boring AST Fuzzing step 340 out of 1000 SELECT 'merge_expressions=0', 19, toFixedString('merge_expressions=0', 19), 19 Query succeeded, using this AST as a start Fuzzing step 341 out of 1000 SELECT 'merge_expressions=0', 19, toFixedString('merge_expressions=0', 19), 19 Got boring AST Fuzzing step 342 out of 1000 SELECT 'merge_expressions=0', 19, toFixedString('merge_expressions=0', 19), 19 Got boring AST Fuzzing step 343 out of 1000 SELECT 'merge_expressions=0', 19, toFixedString('merge_expressions=0', 19), 19 Got boring AST Fuzzing step 344 out of 1000 SELECT 'merge_expressions=0', 19, toFixedString('merge_expressions=0', 19), 19 Got boring AST Fuzzing step 345 out of 1000 SELECT 'merge_expressions=0', 19, toFixedString('merge_expressions=0', 19), 19 Got boring AST Fuzzing step 346 out of 1000 SELECT 'merge_expressions=0', 19, toFixedString('merge_expressions=0', 19), 19 Got boring AST Fuzzing step 347 out of 1000 SELECT 'merge_expressions=0', 19, toFixedString('merge_expressions=0', 19), 19 Got boring AST Fuzzing step 348 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19, 19 Query succeeded, using this AST as a start Fuzzing step 349 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 350 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 351 out of 1000 SELECT 'merge_expressions=0', 19, 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 352 out of 1000 SELECT 'merge_expressions=0', 19, materialize('merge_expressions=0'), 19, 19 Query succeeded, using this AST as a start Fuzzing step 353 out of 1000 SELECT 'merge_expressions=0', 19, materialize('merge_expressions=0'), 19, 19 Got boring AST Fuzzing step 354 out of 1000 SELECT 'merge_expressions=0', 19, materialize('merge_expressions=0'), 19, 19 Got boring AST Fuzzing step 355 out of 1000 SELECT 'merge_expressions=0', 19, materialize('merge_expressions=0'), 19, 19 Got boring AST Fuzzing step 356 out of 1000 SELECT 'merge_expressions=0', 19, materialize('merge_expressions=0'), 19, 19 Got boring AST Fuzzing step 357 out of 1000 SELECT 'merge_expressions=0', 19, materialize('merge_expressions=0'), 19, 19 Got boring AST Fuzzing step 358 out of 1000 SELECT 'merge_expressions=0', 19, materialize('merge_expressions=0'), 19, 19 Got boring AST Fuzzing step 359 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 360 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 361 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 362 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 363 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 364 out of 1000 SELECT 'merge_expressions=0', 19 GROUP BY test_alias_skip_idx__fuzz_4, test_alias_skip_idx__fuzz_26, toLowCardinality('merge_expressions=0') Error on processing query 'SELECT 'merge_expressions=0', 19 GROUP BY test_alias_skip_idx__fuzz_4, test_alias_skip_idx__fuzz_26, toLowCardinality('merge_expressions=0')': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_4' in scope SELECT 'merge_expressions=0', 19 GROUP BY test_alias_skip_idx__fuzz_4, test_alias_skip_idx__fuzz_26, toLowCardinality('merge_expressions=0'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 365 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 366 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 367 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 368 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 369 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 370 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 371 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 372 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 373 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 374 out of 1000 SELECT 'merge_expressions=0', 19 GROUP BY test_alias_skip_idx__fuzz_4 Error on processing query 'SELECT 'merge_expressions=0', 19 GROUP BY test_alias_skip_idx__fuzz_4': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_4' in scope SELECT 'merge_expressions=0', 19 GROUP BY test_alias_skip_idx__fuzz_4. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 375 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 376 out of 1000 SELECT 'merge_expressions=0', toNullable(19) Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 SELECT 'merge_expressions=0', toNullable(19) Got boring AST Fuzzing step 378 out of 1000 SELECT 'merge_expressions=0', toNullable(19) Got boring AST Fuzzing step 379 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT 'merge_expressions=0', toNullable(19) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT 'merge_expressions=0', toNullable(19)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 380 out of 1000 SELECT 'merge_expressions=0', toNullable(19) Got boring AST Fuzzing step 381 out of 1000 SELECT 'merge_expressions=0', toNullable(19) Got boring AST Fuzzing step 382 out of 1000 SELECT test_alias_skip_idx, 'merge_expressions=0', toNullable(19) Error on processing query 'SELECT test_alias_skip_idx, 'merge_expressions=0', toNullable(19)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx' in scope SELECT test_alias_skip_idx, 'merge_expressions=0', toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 383 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 384 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 385 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 386 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 387 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 388 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 389 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 390 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 391 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 392 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 393 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 394 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 395 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 396 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 398 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 399 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 400 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 401 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 402 out of 1000 SELECT 'merge_expressions=0', toNullable(19) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 SELECT 'merge_expressions=0', toNullable(19) WHERE materialize(19) GROUP BY test_alias_skip_idx__fuzz_40, c, test_alias_skip_idx__fuzz_35 Error on processing query 'SELECT 'merge_expressions=0', toNullable(19) WHERE materialize(19) GROUP BY test_alias_skip_idx__fuzz_40, c, test_alias_skip_idx__fuzz_35': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_40' in scope SELECT 'merge_expressions=0', toNullable(19) WHERE materialize(19) GROUP BY test_alias_skip_idx__fuzz_40, c, test_alias_skip_idx__fuzz_35. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 404 out of 1000 SELECT 'merge_expressions=0', toNullable(19) WHERE materialize(19) GROUP BY test_alias_skip_idx__fuzz_30, test_alias_skip_idx__fuzz_13, test_alias_skip_idx__fuzz_16 Error on processing query 'SELECT 'merge_expressions=0', toNullable(19) WHERE materialize(19) GROUP BY test_alias_skip_idx__fuzz_30, test_alias_skip_idx__fuzz_13, test_alias_skip_idx__fuzz_16': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_30' in scope SELECT 'merge_expressions=0', toNullable(19) WHERE materialize(19) GROUP BY test_alias_skip_idx__fuzz_30, test_alias_skip_idx__fuzz_13, test_alias_skip_idx__fuzz_16. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 405 out of 1000 SELECT 'merge_expressions=0', toNullable(19) PREWHERE test_alias_skip_idx__fuzz_7 WHERE materialize(19) Error on processing query 'SELECT 'merge_expressions=0', toNullable(19) PREWHERE test_alias_skip_idx__fuzz_7 WHERE materialize(19)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_7' in scope SELECT 'merge_expressions=0', toNullable(19) PREWHERE test_alias_skip_idx__fuzz_7 WHERE materialize(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 406 out of 1000 SELECT 'merge_expressions=0', toNullable(19) WHERE materialize(19) Got boring AST Fuzzing step 407 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 408 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 409 out of 1000 SELECT test_alias_skip_idx__fuzz_41, 'merge_expressions=0', toLowCardinality(toNullable(19)) WHERE materialize(19) Error on processing query 'SELECT test_alias_skip_idx__fuzz_41, 'merge_expressions=0', toLowCardinality(toNullable(19)) WHERE materialize(19)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope SELECT test_alias_skip_idx__fuzz_41, 'merge_expressions=0', toLowCardinality(toNullable(19)) WHERE materialize(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 410 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 411 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 412 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 413 out of 1000 SELECT test_alias_skip_idx__fuzz_28, 'merge_expressions=0', 19 WHERE materialize(19) Error on processing query 'SELECT test_alias_skip_idx__fuzz_28, 'merge_expressions=0', 19 WHERE materialize(19)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_28' in scope SELECT test_alias_skip_idx__fuzz_28, 'merge_expressions=0', 19 WHERE materialize(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 414 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 415 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 416 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 417 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 418 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 419 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 420 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 421 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 422 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 423 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 424 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 425 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 426 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 427 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 428 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 429 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19 WHERE materialize(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19 WHERE materialize(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 (''merge_expressions=0''): 'merge_expressions=0', 19 WHERE materialize(19). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 430 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 431 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 432 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 433 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 434 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 435 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 436 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 437 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 438 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 439 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 440 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19 WHERE materialize(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19 WHERE materialize(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 (''merge_expressions=0''): 'merge_expressions=0', 19 WHERE materialize(19). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 441 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 442 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 443 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 444 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 445 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 446 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 447 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19 WHERE materialize(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19 WHERE materialize(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 (''merge_expressions=0''): 'merge_expressions=0', 19 WHERE materialize(19). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 448 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 449 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 450 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 451 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 452 out of 1000 SELECT 'merge_expressions=0', 19 WHERE materialize(19) Got boring AST Fuzzing step 453 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 454 out of 1000 SELECT 'merge_expressions=0', 19 GROUP BY test_alias_skip_idx__fuzz_2, test_alias_skip_idx__fuzz_28, test_alias_skip_idx__fuzz_35 Error on processing query 'SELECT 'merge_expressions=0', 19 GROUP BY test_alias_skip_idx__fuzz_2, test_alias_skip_idx__fuzz_28, test_alias_skip_idx__fuzz_35': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_2' in scope SELECT 'merge_expressions=0', 19 GROUP BY test_alias_skip_idx__fuzz_2, test_alias_skip_idx__fuzz_28, test_alias_skip_idx__fuzz_35. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 455 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 456 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 457 out of 1000 SELECT 'merge_expressions=0', 19 PREWHERE test_alias_skip_idx__fuzz_47 Error on processing query 'SELECT 'merge_expressions=0', 19 PREWHERE test_alias_skip_idx__fuzz_47': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_47' in scope SELECT 'merge_expressions=0', 19 PREWHERE test_alias_skip_idx__fuzz_47. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 458 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 459 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 460 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 461 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 462 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 463 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 464 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 465 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 466 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 467 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 468 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 469 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 470 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 471 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 472 out of 1000 SELECT 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_35 Error on processing query 'SELECT 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_35': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_35' in scope SELECT 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_35. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 473 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 474 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 475 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 476 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 477 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 478 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 479 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 480 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 481 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 482 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 483 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 484 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 485 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 486 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 487 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 488 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 489 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 490 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 491 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 (''merge_expressions=0''): 'merge_expressions=0', 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 492 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 493 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 494 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 495 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 496 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 (''merge_expressions=0''): 'merge_expressions=0', 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 497 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 498 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 499 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 500 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 501 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 502 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 503 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 (''merge_expressions=0''): 'merge_expressions=0', 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 504 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 505 out of 1000 SELECT 'merge_expressions=0', materialize(19) Query succeeded, using this AST as a start Fuzzing step 506 out of 1000 SELECT 'merge_expressions=0', materialize(19) Got boring AST Fuzzing step 507 out of 1000 SELECT 'merge_expressions=0', materialize(materialize(toUInt256(19))) Query succeeded, using this AST as a start Fuzzing step 508 out of 1000 SELECT 'merge_expressions=0', materialize(toUInt256(19)) Query succeeded, using this AST as a start Fuzzing step 509 out of 1000 SELECT materialize('merge_expressions=0'), toUInt256(19) Query succeeded, using this AST as a start Fuzzing step 510 out of 1000 SELECT materialize('merge_expressions=0'), toUInt256(19) GROUP BY toUInt128(19), minmax, materialize(19), test_alias_skip_idx__fuzz_41 Error on processing query 'SELECT materialize('merge_expressions=0'), toUInt256(19) GROUP BY toUInt128(19), minmax, materialize(19), test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'minmax' in scope SELECT materialize('merge_expressions=0'), toUInt256(19) GROUP BY toUInt128(19), minmax, materialize(19), test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 511 out of 1000 SELECT materialize('merge_expressions=0'), toUInt256(19) GROUP BY test_alias_skip_idx__fuzz_3, test_alias_skip_idx__fuzz_38 Error on processing query 'SELECT materialize('merge_expressions=0'), toUInt256(19) GROUP BY test_alias_skip_idx__fuzz_3, test_alias_skip_idx__fuzz_38': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_3' in scope SELECT materialize('merge_expressions=0'), toUInt256(19) GROUP BY test_alias_skip_idx__fuzz_3, test_alias_skip_idx__fuzz_38. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 512 out of 1000 SELECT materialize('merge_expressions=0'), 19 WHERE materialize(toUInt256(19)) Error on processing query 'SELECT materialize('merge_expressions=0'), 19 WHERE materialize(toUInt256(19))': Received from localhost:9000. DB::Exception: Illegal type UInt256 of column materialize(_CAST('19'_UInt256, 'UInt256'_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x0000000012fcc497 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001316d043 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&) @ 0x000000001163a878 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>>&) @ 0x0000000011668f69 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662c15 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 10. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 11. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 513 out of 1000 SELECT materialize('merge_expressions=0'), toUInt256(19) Got boring AST Fuzzing step 514 out of 1000 SELECT materialize('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 515 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 516 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 517 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 (''merge_expressions=0''): 'merge_expressions=0', 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 518 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 519 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 520 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 521 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 522 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 523 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 524 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 525 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 526 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 527 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 528 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 529 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 530 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 531 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 532 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 533 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 534 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 535 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 (''merge_expressions=0''): 'merge_expressions=0', 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 536 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 537 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 538 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 539 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 540 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 541 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 542 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 543 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 544 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 545 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 546 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 547 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 548 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 549 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 550 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 551 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 552 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 553 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 554 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 555 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 556 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 558 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 559 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 560 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 561 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 562 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 563 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 564 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 565 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 566 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 567 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 568 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 569 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 570 out of 1000 SELECT 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_6 GROUP BY test_alias_skip_idx__fuzz_4, test_alias_skip_idx__fuzz_40, test_alias_skip_idx__fuzz_36 Error on processing query 'SELECT 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_6 GROUP BY test_alias_skip_idx__fuzz_4, test_alias_skip_idx__fuzz_40, test_alias_skip_idx__fuzz_36': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_6' in scope SELECT 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_6 GROUP BY test_alias_skip_idx__fuzz_4, test_alias_skip_idx__fuzz_40, test_alias_skip_idx__fuzz_36. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 571 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 572 out of 1000 SELECT toLowCardinality('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 573 out of 1000 SELECT toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 574 out of 1000 SELECT toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 575 out of 1000 SELECT toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 576 out of 1000 SELECT toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 577 out of 1000 SELECT toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 578 out of 1000 SELECT toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 579 out of 1000 SELECT toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 580 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 581 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 582 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 583 out of 1000 SELECT materialize('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 584 out of 1000 SELECT materialize('merge_expressions=0'), 19 Got boring AST Fuzzing step 585 out of 1000 SELECT materialize('merge_expressions=0'), 19 Got boring AST Fuzzing step 586 out of 1000 SELECT materialize('merge_expressions=0'), 19 Got boring AST Fuzzing step 587 out of 1000 SELECT materialize('merge_expressions=0'), 19 Got boring AST Fuzzing step 588 out of 1000 SELECT materialize('merge_expressions=0'), 19 Got boring AST Fuzzing step 589 out of 1000 SELECT materialize('merge_expressions=0'), 19 Got boring AST Fuzzing step 590 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 591 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 592 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 593 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 594 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 595 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 596 out of 1000 SELECT test_alias_skip_idx__fuzz_7, 'merge_expressions=0', 19 PREWHERE materialize(19) Error on processing query 'SELECT test_alias_skip_idx__fuzz_7, 'merge_expressions=0', 19 PREWHERE materialize(19)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_7' in scope SELECT test_alias_skip_idx__fuzz_7, 'merge_expressions=0', 19 PREWHERE materialize(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 597 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 598 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 599 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 600 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 601 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 602 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 603 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 604 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 605 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 606 out of 1000 SELECT 'merge_expressions=0', 19 WHERE minmax Error on processing query 'SELECT 'merge_expressions=0', 19 WHERE minmax': Received from localhost:9000. DB::Exception: Unknown expression identifier 'minmax' in scope SELECT 'merge_expressions=0', 19 WHERE minmax. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 607 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 608 out of 1000 SELECT 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_33 Error on processing query 'SELECT 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_33': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_33' in scope SELECT 'merge_expressions=0', 19 WHERE test_alias_skip_idx__fuzz_33. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 609 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 610 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 611 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 612 out of 1000 SELECT 'merge_expressions=0', 19 PREWHERE materialize(19) Error on processing query 'SELECT 'merge_expressions=0', 19 PREWHERE materialize(19)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 613 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 614 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 615 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 616 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 617 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 618 out of 1000 SELECT toNullable('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 619 out of 1000 SELECT toNullable('merge_expressions=0'), 19 Got boring AST Fuzzing step 620 out of 1000 SELECT toNullable('merge_expressions=0'), materialize(19) WHERE test_alias_skip_idx__fuzz_4 Error on processing query 'SELECT toNullable('merge_expressions=0'), materialize(19) WHERE test_alias_skip_idx__fuzz_4': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_4' in scope SELECT toNullable('merge_expressions=0'), materialize(19) WHERE test_alias_skip_idx__fuzz_4. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 621 out of 1000 SELECT toNullable('merge_expressions=0'), 19 GROUP BY test_alias_skip_idx__fuzz_36, toLowCardinality(toUInt128(19)), test_alias_skip_idx__fuzz_35 Error on processing query 'SELECT toNullable('merge_expressions=0'), 19 GROUP BY test_alias_skip_idx__fuzz_36, toLowCardinality(toUInt128(19)), test_alias_skip_idx__fuzz_35': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_36' in scope SELECT toNullable('merge_expressions=0'), 19 GROUP BY test_alias_skip_idx__fuzz_36, toLowCardinality(toUInt128(19)), test_alias_skip_idx__fuzz_35. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 622 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 623 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 624 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 625 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 626 out of 1000 SELECT 'merge_expressions=0', 19 PREWHERE test_alias_skip_idx__fuzz_28 Error on processing query 'SELECT 'merge_expressions=0', 19 PREWHERE test_alias_skip_idx__fuzz_28': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_28' in scope SELECT 'merge_expressions=0', 19 PREWHERE test_alias_skip_idx__fuzz_28. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 627 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 628 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 629 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 630 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 631 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 632 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 633 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 634 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 635 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 636 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 637 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 638 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 639 out of 1000 SELECT test_alias_skip_idx__fuzz_25, 'merge_expressions=0', 19 Error on processing query 'SELECT test_alias_skip_idx__fuzz_25, 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_25' in scope SELECT test_alias_skip_idx__fuzz_25, 'merge_expressions=0', 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 640 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 641 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 642 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 643 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 644 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 645 out of 1000 SELECT test_alias_skip_idx__fuzz_35, 'merge_expressions=0', 19 Error on processing query 'SELECT test_alias_skip_idx__fuzz_35, 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_35' in scope SELECT test_alias_skip_idx__fuzz_35, 'merge_expressions=0', 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 646 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 647 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 648 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 649 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 650 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 651 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 652 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 653 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 654 out of 1000 SELECT toLowCardinality('merge_expressions=0'), 19 Query succeeded, using this AST as a start Fuzzing step 655 out of 1000 SELECT toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 656 out of 1000 SELECT toLowCardinality('merge_expressions=0'), 19 Got boring AST Fuzzing step 657 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 658 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 659 out of 1000 EXPLAIN indexes = true, sorting = true SELECT materialize('merge_expressions=0'), 19 Error on processing query 'EXPLAIN indexes = true, sorting = true SELECT materialize('merge_expressions=0'), 19': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 660 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 661 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 662 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 663 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 664 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 665 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19) Got boring AST Fuzzing step 666 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 667 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 668 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 669 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 670 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 (''merge_expressions=0''): 'merge_expressions=0', 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 671 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 672 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 (''merge_expressions=0''): 'merge_expressions=0', 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 673 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 674 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 675 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 676 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 677 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 (''merge_expressions=0''): 'merge_expressions=0', 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 679 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 680 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 681 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 682 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 683 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 684 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 685 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 686 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 687 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 688 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 689 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 690 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 691 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 692 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 693 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 694 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 695 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 696 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 697 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 698 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 699 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 700 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 701 out of 1000 SELECT 'merge_expressions=0', 19 PREWHERE test_alias_skip_idx__fuzz_27 Error on processing query 'SELECT 'merge_expressions=0', 19 PREWHERE test_alias_skip_idx__fuzz_27': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_27' in scope SELECT 'merge_expressions=0', 19 PREWHERE test_alias_skip_idx__fuzz_27. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 702 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 703 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 704 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 705 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 706 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 707 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 708 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 709 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 710 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 711 out of 1000 SELECT 'merge_expressions=0', toNullable(19) Query succeeded, using this AST as a start Fuzzing step 712 out of 1000 SELECT 'merge_expressions=0', toNullable(19) Got boring AST Fuzzing step 713 out of 1000 SELECT 'merge_expressions=0', toNullable(19) Got boring AST Fuzzing step 714 out of 1000 SELECT 'merge_expressions=0', toNullable(19) WHERE test_alias_skip_idx__fuzz_38 Error on processing query 'SELECT 'merge_expressions=0', toNullable(19) WHERE test_alias_skip_idx__fuzz_38': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_38' in scope SELECT 'merge_expressions=0', toNullable(19) WHERE test_alias_skip_idx__fuzz_38. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 715 out of 1000 SELECT 'merge_expressions=0', toNullable(19) Got boring AST Fuzzing step 716 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 717 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19 Query succeeded, using this AST as a start Fuzzing step 718 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19 Got boring AST Fuzzing step 719 out of 1000 SELECT toFixedString(test_alias_skip_idx__fuzz_33, 'merge_expressions=0', 19), 19 Error on processing query 'SELECT toFixedString(test_alias_skip_idx__fuzz_33, 'merge_expressions=0', 19), 19': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_33' in scope SELECT toFixedString(test_alias_skip_idx__fuzz_33, 'merge_expressions=0', 19), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 720 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19 Got boring AST Fuzzing step 721 out of 1000 SELECT toFixedString(19), 19 Error on processing query 'SELECT toFixedString(19), 19': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope SELECT toFixedString(19), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 722 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19 Got boring AST Fuzzing step 723 out of 1000 SELECT 'merge_expressions=0', 19, 19 WHERE test_alias_skip_idx__fuzz_21 Error on processing query 'SELECT 'merge_expressions=0', 19, 19 WHERE test_alias_skip_idx__fuzz_21': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_21' in scope SELECT 'merge_expressions=0', 19, 19 WHERE test_alias_skip_idx__fuzz_21. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 724 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19 Got boring AST Fuzzing step 725 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19 Got boring AST Fuzzing step 726 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19 Got boring AST Fuzzing step 727 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19 Got boring AST Fuzzing step 728 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19 WHERE test_alias_skip_idx__fuzz_9 Error on processing query 'SELECT toFixedString('merge_expressions=0', 19), 19 WHERE test_alias_skip_idx__fuzz_9': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_9' in scope SELECT toFixedString('merge_expressions=0', 19), 19 WHERE test_alias_skip_idx__fuzz_9. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 729 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19 Got boring AST Fuzzing step 730 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19 Got boring AST Fuzzing step 731 out of 1000 SELECT 'merge_expressions=0', 19, 19 Query succeeded, using this AST as a start Fuzzing step 732 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 733 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 734 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 735 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19, materialize(toLowCardinality(19)) PREWHERE test_alias_skip_idx__fuzz_33 Error on processing query 'SELECT toFixedString('merge_expressions=0', 19), 19, materialize(toLowCardinality(19)) PREWHERE test_alias_skip_idx__fuzz_33': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_33' in scope SELECT toFixedString('merge_expressions=0', 19), 19, materialize(toLowCardinality(19)) PREWHERE test_alias_skip_idx__fuzz_33. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 736 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 737 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 738 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 739 out of 1000 SELECT 'merge_expressions=0', 19, 19 WHERE c Error on processing query 'SELECT 'merge_expressions=0', 19, 19 WHERE c': Received from localhost:9000. DB::Exception: Unknown expression identifier 'c' in scope SELECT 'merge_expressions=0', 19, 19 WHERE c. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 740 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 741 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 742 out of 1000 SELECT 'merge_expressions=0', 19, 19 Query succeeded, using this AST as a start Fuzzing step 743 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 744 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 745 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 746 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 747 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 748 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 749 out of 1000 SELECT 'merge_expressions=0', 19, 19 PREWHERE toNullable(toLowCardinality('merge_expressions=0')) Error on processing query 'SELECT 'merge_expressions=0', 19, 19 PREWHERE toNullable(toLowCardinality('merge_expressions=0'))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: LowCardinality(Nullable(String)). In query SELECT 'merge_expressions=0', 19, 19 PREWHERE toNullable(toLowCardinality('merge_expressions=0')). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 750 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 751 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 752 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 753 out of 1000 SELECT 19, toFixedString('merge_expressions=0', 19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 754 out of 1000 SELECT 19, 'merge_expressions=0', 19, 19, 19 PREWHERE materialize(materialize(toUInt256(19))) Error on processing query 'SELECT 19, 'merge_expressions=0', 19, 19, 19 PREWHERE materialize(materialize(toUInt256(19)))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 755 out of 1000 SELECT 19, toFixedString('merge_expressions=0', 19), 19, 19 Got boring AST Fuzzing step 756 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 757 out of 1000 SELECT 19 Got boring AST Fuzzing step 758 out of 1000 SELECT 19 Got boring AST Fuzzing step 759 out of 1000 SELECT 19 Got boring AST Fuzzing step 760 out of 1000 SELECT 19 Got boring AST Fuzzing step 761 out of 1000 SELECT 19 Got boring AST Fuzzing step 762 out of 1000 SELECT 19 Got boring AST Fuzzing step 763 out of 1000 SELECT 19 Got boring AST Fuzzing step 764 out of 1000 SELECT toFixedString('merge_expressions=0'), 19 Error on processing query 'SELECT toFixedString('merge_expressions=0'), 19': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope SELECT toFixedString('merge_expressions=0'), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 765 out of 1000 SELECT 19 Got boring AST Fuzzing step 766 out of 1000 SELECT 19 Got boring AST Fuzzing step 767 out of 1000 SELECT 19 Got boring AST Fuzzing step 768 out of 1000 SELECT 19 Got boring AST Fuzzing step 769 out of 1000 SELECT 19 Got boring AST Fuzzing step 770 out of 1000 SELECT 19 Got boring AST Fuzzing step 771 out of 1000 SELECT 19 Got boring AST Fuzzing step 772 out of 1000 EXPLAIN QUERY TREE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 773 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('19'): 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 774 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 775 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 776 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 777 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 778 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 779 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 780 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 781 out of 1000 EXPLAIN PIPELINE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 782 out of 1000 EXPLAIN PIPELINE SELECT 19 Got boring AST Fuzzing step 783 out of 1000 EXPLAIN SELECT 19 Query succeeded, using this AST as a start Fuzzing step 784 out of 1000 EXPLAIN SELECT 19 Got boring AST Fuzzing step 785 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('19'): 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 786 out of 1000 EXPLAIN SYNTAX SELECT 19 Query succeeded, using this AST as a start Fuzzing step 787 out of 1000 EXPLAIN SYNTAX SELECT 19 Got boring AST Fuzzing step 788 out of 1000 EXPLAIN QUERY TREE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 789 out of 1000 EXPLAIN SYNTAX SELECT 19 Query succeeded, using this AST as a start Fuzzing step 790 out of 1000 EXPLAIN SYNTAX SELECT 19 Got boring AST Fuzzing step 791 out of 1000 EXPLAIN SYNTAX SELECT 19 Got boring AST Fuzzing step 792 out of 1000 EXPLAIN AST SELECT 19 Query succeeded, using this AST as a start Fuzzing step 793 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 SELECT 19 Got boring AST Fuzzing step 795 out of 1000 SELECT 19 Got boring AST Fuzzing step 796 out of 1000 SELECT 19 Got boring AST Fuzzing step 797 out of 1000 SELECT 19 Got boring AST Fuzzing step 798 out of 1000 SELECT 19 Got boring AST Fuzzing step 799 out of 1000 SELECT 19 Got boring AST Fuzzing step 800 out of 1000 SELECT 19 Got boring AST Fuzzing step 801 out of 1000 SELECT 19 Got boring AST Fuzzing step 802 out of 1000 SELECT 19 Got boring AST Fuzzing step 803 out of 1000 SELECT 19 Got boring AST Fuzzing step 804 out of 1000 SELECT toNullable(19) Query succeeded, using this AST as a start Fuzzing step 805 out of 1000 SELECT toNullable(19) Got boring AST Fuzzing step 806 out of 1000 SELECT toNullable(19) Got boring AST Fuzzing step 807 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 808 out of 1000 SELECT 19 Got boring AST Fuzzing step 809 out of 1000 SELECT 19 Got boring AST Fuzzing step 810 out of 1000 SELECT 19 WHERE test_alias_skip_idx__fuzz_1 Error on processing query 'SELECT 19 WHERE test_alias_skip_idx__fuzz_1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_1' in scope SELECT 19 WHERE test_alias_skip_idx__fuzz_1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 811 out of 1000 SELECT 19 Got boring AST Fuzzing step 812 out of 1000 SELECT 19 Got boring AST Fuzzing step 813 out of 1000 SELECT 19 Got boring AST Fuzzing step 814 out of 1000 SELECT 19 Got boring AST Fuzzing step 815 out of 1000 SELECT 19 Got boring AST Fuzzing step 816 out of 1000 SELECT 19 Got boring AST Fuzzing step 817 out of 1000 EXPLAIN PIPELINE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 818 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 819 out of 1000 SELECT 19 Got boring AST Fuzzing step 820 out of 1000 SELECT 19 Got boring AST Fuzzing step 821 out of 1000 SELECT 19 Got boring AST Fuzzing step 822 out of 1000 SELECT 19 Got boring AST Fuzzing step 823 out of 1000 SELECT 19 Got boring AST Fuzzing step 824 out of 1000 SELECT 19 Got boring AST Fuzzing step 825 out of 1000 SELECT materialize(19) Query succeeded, using this AST as a start Fuzzing step 826 out of 1000 SELECT materialize(19) Got boring AST Fuzzing step 827 out of 1000 SELECT materialize(19) Got boring AST Fuzzing step 828 out of 1000 SELECT materialize(19) Got boring AST Fuzzing step 829 out of 1000 SELECT materialize(19) Got boring AST Fuzzing step 830 out of 1000 SELECT materialize(19) Got boring AST Fuzzing step 831 out of 1000 SELECT materialize(19) Got boring AST Fuzzing step 832 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 833 out of 1000 SELECT 19 Got boring AST Fuzzing step 834 out of 1000 EXPLAIN json = true SELECT 19 Error on processing query 'EXPLAIN json = true SELECT 19': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 835 out of 1000 SELECT 19 Got boring AST Fuzzing step 836 out of 1000 SELECT 19 Got boring AST Fuzzing step 837 out of 1000 SELECT 19 Got boring AST Fuzzing step 838 out of 1000 SELECT 19 Got boring AST Fuzzing step 839 out of 1000 SELECT 19 Got boring AST Fuzzing step 840 out of 1000 SELECT 19 Got boring AST Fuzzing step 841 out of 1000 SELECT 19 Got boring AST Fuzzing step 842 out of 1000 SELECT 19 Got boring AST Fuzzing step 843 out of 1000 SELECT 19 Got boring AST Fuzzing step 844 out of 1000 SELECT 19 Got boring AST Fuzzing step 845 out of 1000 SELECT 19 Got boring AST Fuzzing step 846 out of 1000 SELECT 19 Got boring AST Fuzzing step 847 out of 1000 SELECT 19 Got boring AST Fuzzing step 848 out of 1000 SELECT 19 Got boring AST Fuzzing step 849 out of 1000 SELECT 19 Got boring AST Fuzzing step 850 out of 1000 SELECT 19 Got boring AST Fuzzing step 851 out of 1000 SELECT 19 Got boring AST Fuzzing step 852 out of 1000 SELECT 19 Got boring AST Fuzzing step 853 out of 1000 SELECT 19 Got boring AST Fuzzing step 854 out of 1000 SELECT 19 Got boring AST Fuzzing step 855 out of 1000 SELECT 19 Got boring AST Fuzzing step 856 out of 1000 SELECT 19 Got boring AST Fuzzing step 857 out of 1000 SELECT 19 Got boring AST Fuzzing step 858 out of 1000 SELECT 19 Got boring AST Fuzzing step 859 out of 1000 SELECT 19 Got boring AST Fuzzing step 860 out of 1000 SELECT 19 Got boring AST Fuzzing step 861 out of 1000 SELECT 19 Got boring AST Fuzzing step 862 out of 1000 SELECT 19 Got boring AST Fuzzing step 863 out of 1000 SELECT 19 Got boring AST Fuzzing step 864 out of 1000 EXPLAIN AST SELECT toUInt256(19) Query succeeded, using this AST as a start Fuzzing step 865 out of 1000 EXPLAIN AST SELECT toUInt256(19) Got boring AST Fuzzing step 866 out of 1000 EXPLAIN AST SELECT toUInt256(19) Got boring AST Fuzzing step 867 out of 1000 EXPLAIN SELECT toUInt256(19) Query succeeded, using this AST as a start Fuzzing step 868 out of 1000 EXPLAIN SELECT toUInt256(19) Got boring AST Fuzzing step 869 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('toUInt256'): toUInt256(19). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 870 out of 1000 EXPLAIN SELECT toUInt256(19) Got boring AST Fuzzing step 871 out of 1000 EXPLAIN AST SELECT toUInt256(19) Query succeeded, using this AST as a start Fuzzing step 872 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 873 out of 1000 SELECT 19 Got boring AST Fuzzing step 874 out of 1000 SELECT 19 Got boring AST Fuzzing step 875 out of 1000 SELECT 19 Got boring AST Fuzzing step 876 out of 1000 SELECT 19 Got boring AST Fuzzing step 877 out of 1000 SELECT 19 Got boring AST Fuzzing step 878 out of 1000 SELECT 19 Got boring AST Fuzzing step 879 out of 1000 SELECT 19 Got boring AST Fuzzing step 880 out of 1000 SELECT 19 Got boring AST Fuzzing step 881 out of 1000 SELECT 19 Got boring AST Fuzzing step 882 out of 1000 SELECT 19 Got boring AST Fuzzing step 883 out of 1000 SELECT 19 Got boring AST Fuzzing step 884 out of 1000 SELECT 19 Got boring AST Fuzzing step 885 out of 1000 SELECT materialize(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 886 out of 1000 SELECT materialize(toNullable(19)) Got boring AST Fuzzing step 887 out of 1000 SELECT materialize(toNullable(19)) Got boring AST Fuzzing step 888 out of 1000 SELECT materialize(19) Query succeeded, using this AST as a start Fuzzing step 889 out of 1000 SELECT materialize(19) Got boring AST Fuzzing step 890 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 891 out of 1000 SELECT 19 Got boring AST Fuzzing step 892 out of 1000 SELECT 19 Got boring AST Fuzzing step 893 out of 1000 SELECT 19 Got boring AST Fuzzing step 894 out of 1000 SELECT 19 Got boring AST Fuzzing step 895 out of 1000 SELECT 19 Got boring AST Fuzzing step 896 out of 1000 SELECT 19 Got boring AST Fuzzing step 897 out of 1000 SELECT 19 GROUP BY test_alias_skip_idx__fuzz_41 Error on processing query 'SELECT 19 GROUP BY test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope SELECT 19 GROUP BY test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 898 out of 1000 SELECT 19 Got boring AST Fuzzing step 899 out of 1000 SELECT 19 Got boring AST Fuzzing step 900 out of 1000 SELECT 19 Got boring AST Fuzzing step 901 out of 1000 SELECT 19 Got boring AST Fuzzing step 902 out of 1000 SELECT 19 Got boring AST Fuzzing step 903 out of 1000 SELECT 19 Got boring AST Fuzzing step 904 out of 1000 SELECT 19 Got boring AST Fuzzing step 905 out of 1000 SELECT 19 Got boring AST Fuzzing step 906 out of 1000 SELECT 19 Got boring AST Fuzzing step 907 out of 1000 SELECT test_alias_skip_idx__fuzz_16, 19 Error on processing query 'SELECT test_alias_skip_idx__fuzz_16, 19': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_16' in scope SELECT test_alias_skip_idx__fuzz_16, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 908 out of 1000 SELECT 19 Got boring AST Fuzzing step 909 out of 1000 SELECT 19 Got boring AST Fuzzing step 910 out of 1000 SELECT 19 Got boring AST Fuzzing step 911 out of 1000 SELECT 19 Got boring AST Fuzzing step 912 out of 1000 EXPLAIN ESTIMATE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 913 out of 1000 EXPLAIN ESTIMATE SELECT 19 Got boring AST Fuzzing step 914 out of 1000 EXPLAIN ESTIMATE SELECT 19 Got boring AST Fuzzing step 915 out of 1000 EXPLAIN QUERY TREE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 916 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('19'): 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 917 out of 1000 EXPLAIN AST SELECT 19 Query succeeded, using this AST as a start Fuzzing step 918 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 919 out of 1000 EXPLAIN QUERY TREE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 920 out of 1000 EXPLAIN SYNTAX SELECT 19 Query succeeded, using this AST as a start Fuzzing step 921 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 922 out of 1000 SELECT 19 Got boring AST Fuzzing step 923 out of 1000 SELECT 19 PREWHERE test_alias_skip_idx__fuzz_39 Error on processing query 'SELECT 19 PREWHERE test_alias_skip_idx__fuzz_39': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_39' in scope SELECT 19 PREWHERE test_alias_skip_idx__fuzz_39. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 924 out of 1000 SELECT 19 Got boring AST Fuzzing step 925 out of 1000 SELECT 19 Got boring AST Fuzzing step 926 out of 1000 SELECT 19 Got boring AST Fuzzing step 927 out of 1000 SELECT 19 Got boring AST Fuzzing step 928 out of 1000 SELECT 19 Got boring AST Fuzzing step 929 out of 1000 SELECT 19 Got boring AST Fuzzing step 930 out of 1000 SELECT 19 Got boring AST Fuzzing step 931 out of 1000 SELECT 19 WHERE test_alias_skip_idx__fuzz_2 Error on processing query 'SELECT 19 WHERE test_alias_skip_idx__fuzz_2': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_2' in scope SELECT 19 WHERE test_alias_skip_idx__fuzz_2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 932 out of 1000 SELECT 19 Got boring AST Fuzzing step 933 out of 1000 SELECT 19 Got boring AST Fuzzing step 934 out of 1000 SELECT toUInt256(19) Query succeeded, using this AST as a start Fuzzing step 935 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 936 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 937 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 938 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 939 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 940 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 941 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 942 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 943 out of 1000 SELECT toUInt256(19) WHERE toLowCardinality(toNullable(minmax, 'merge_expressions=0')) Error on processing query 'SELECT toUInt256(19) WHERE toLowCardinality(toNullable(minmax, 'merge_expressions=0'))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'minmax' in scope SELECT toUInt256(19) WHERE toLowCardinality(toNullable(minmax, 'merge_expressions=0')). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 944 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 945 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 946 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 947 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 948 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 949 out of 1000 SELECT toUInt256(test_alias_skip_idx__fuzz_29, 19) Error on processing query 'SELECT toUInt256(test_alias_skip_idx__fuzz_29, 19)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_29' in scope SELECT toUInt256(test_alias_skip_idx__fuzz_29, 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 950 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 951 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 952 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 953 out of 1000 SELECT toUInt256(19) GROUP BY test_alias_skip_idx__fuzz_4, materialize(toUInt128(19)) Error on processing query 'SELECT toUInt256(19) GROUP BY test_alias_skip_idx__fuzz_4, materialize(toUInt128(19))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_4' in scope SELECT toUInt256(19) GROUP BY test_alias_skip_idx__fuzz_4, materialize(toUInt128(19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 954 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 955 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 956 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 957 out of 1000 SELECT 19 Got boring AST Fuzzing step 958 out of 1000 SELECT 19 Got boring AST Fuzzing step 959 out of 1000 SELECT 19 Got boring AST Fuzzing step 960 out of 1000 SELECT 19 Got boring AST Fuzzing step 961 out of 1000 SELECT 19 Got boring AST Fuzzing step 962 out of 1000 SELECT 19 Got boring AST Fuzzing step 963 out of 1000 SELECT 19 Got boring AST Fuzzing step 964 out of 1000 SELECT 19 Got boring AST Fuzzing step 965 out of 1000 SELECT 19 Got boring AST Fuzzing step 966 out of 1000 SELECT 19 Got boring AST Fuzzing step 967 out of 1000 SELECT 19 Got boring AST Fuzzing step 968 out of 1000 SELECT 19 Got boring AST Fuzzing step 969 out of 1000 SELECT 19 Got boring AST Fuzzing step 970 out of 1000 SELECT 19 Got boring AST Fuzzing step 971 out of 1000 SELECT 19 Got boring AST Fuzzing step 972 out of 1000 SELECT 19 Got boring AST Fuzzing step 973 out of 1000 SELECT toNullable(19) Query succeeded, using this AST as a start Fuzzing step 974 out of 1000 EXPLAIN optimize = true SELECT toNullable(19) GROUP BY test_alias_skip_idx__fuzz_11, test_alias_skip_idx__fuzz_24 Error on processing query 'EXPLAIN optimize = true SELECT toNullable(19) GROUP BY test_alias_skip_idx__fuzz_11, test_alias_skip_idx__fuzz_24': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 975 out of 1000 SELECT toNullable(test_alias_skip_idx__fuzz_39, 19) Error on processing query 'SELECT toNullable(test_alias_skip_idx__fuzz_39, 19)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_39' in scope SELECT toNullable(test_alias_skip_idx__fuzz_39, 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 976 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 977 out of 1000 SELECT 19 Got boring AST Fuzzing step 978 out of 1000 SELECT 19 Got boring AST Fuzzing step 979 out of 1000 SELECT 19 Got boring AST Fuzzing step 980 out of 1000 SELECT 19 Got boring AST Fuzzing step 981 out of 1000 SELECT 19 Got boring AST Fuzzing step 982 out of 1000 SELECT 19 Got boring AST Fuzzing step 983 out of 1000 SELECT 19 Got boring AST Fuzzing step 984 out of 1000 SELECT 19 Got boring AST Fuzzing step 985 out of 1000 SELECT 19 Got boring AST Fuzzing step 986 out of 1000 SELECT 19 Got boring AST Fuzzing step 987 out of 1000 SELECT 19 Got boring AST Fuzzing step 988 out of 1000 SELECT 19 Got boring AST Fuzzing step 989 out of 1000 SELECT 19 Got boring AST Fuzzing step 990 out of 1000 SELECT 19 Got boring AST Fuzzing step 991 out of 1000 EXPLAIN PIPELINE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 992 out of 1000 EXPLAIN PIPELINE SELECT 19 Got boring AST Fuzzing step 993 out of 1000 EXPLAIN PIPELINE SELECT 19 Got boring AST Fuzzing step 994 out of 1000 EXPLAIN AST SELECT 19 Query succeeded, using this AST as a start Fuzzing step 995 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 996 out of 1000 EXPLAIN QUERY TREE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 997 out of 1000 EXPLAIN PIPELINE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 998 out of 1000 EXPLAIN QUERY TREE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 999 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 2 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 3 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 4 out of 1000 EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('*'): * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0. Expected one of: token sequence, Dot, token, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 5 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 6 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 7 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 8 out of 1000 EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('SELECT'): SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0. Expected one of: INTO OUTFILE, FORMAT, SETTINGS, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 9 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 10 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 11 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 12 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 13 out of 1000 EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN QUERY TREE query. Supported settings: dump_passes, dump_ast, dump_tree, run_passes, passes. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [11], String&&) @ 0x00000000115973eb 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115903be 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 14 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 15 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 16 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 17 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 18 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 19 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 20 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 21 out of 1000 EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN SYNTAX query. Supported settings: oneline. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [7], String&&) @ 0x0000000011596e6b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001159022c 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 22 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 23 out of 1000 EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('SELECT'): SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0. Expected one of: INTO OUTFILE, FORMAT, SETTINGS, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 24 out of 1000 EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN QUERY TREE query. Supported settings: dump_passes, dump_ast, dump_tree, run_passes, passes. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [11], String&&) @ 0x00000000115973eb 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115903be 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 25 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 26 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 27 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 28 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 29 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 30 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 31 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 32 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 33 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 34 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 35 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 36 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 37 out of 1000 SELECT test_alias_skip_idx__fuzz_38, * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT test_alias_skip_idx__fuzz_38, * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_38' in scope SELECT test_alias_skip_idx__fuzz_38, * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 38 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 39 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 40 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 41 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 42 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 43 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 44 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 45 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 46 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 47 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 48 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 49 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 50 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 51 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 52 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 53 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 54 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 55 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 56 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 57 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 58 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 59 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 60 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 61 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 62 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 63 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 64 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 65 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 66 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 67 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 68 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 69 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 70 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 71 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 72 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 73 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 74 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 75 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 76 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 77 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 78 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 79 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 80 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 81 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 82 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 83 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 85 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 86 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 87 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 88 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 89 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 90 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 91 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 GROUP BY 19, test_alias_skip_idx__fuzz_1, test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_3 GROUP BY 19, test_alias_skip_idx__fuzz_1, test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT * FROM test_alias_skip_idx__fuzz_3 GROUP BY 19, test_alias_skip_idx__fuzz_1, test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 92 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 94 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 95 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 96 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 97 out of 1000 SELECT test_alias_skip_idx__fuzz_12, * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT test_alias_skip_idx__fuzz_12, * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_12' in scope SELECT test_alias_skip_idx__fuzz_12, * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 98 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 99 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 100 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 101 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 102 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 103 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 104 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 105 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 106 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 107 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 108 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = -9223372036854775808 Fuzzing step 109 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 110 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 111 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 112 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 113 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 114 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 115 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 116 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 117 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 118 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 119 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 120 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 121 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 122 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 123 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 124 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 125 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 126 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 127 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 128 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 129 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 130 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 131 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 132 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 133 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 134 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 135 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 136 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 137 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 138 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 140 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 141 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 142 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 143 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable('merge_expressions=0') SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable('merge_expressions=0') SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(String). In query SELECT * FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable('merge_expressions=0') SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 144 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 145 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 146 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 147 out of 1000 SELECT test_alias_skip_idx__fuzz_1, * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT test_alias_skip_idx__fuzz_1, * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_1' in scope SELECT test_alias_skip_idx__fuzz_1, * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 148 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 149 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 PREWHERE test_alias_skip_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_0 PREWHERE test_alias_skip_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_34' in scope SELECT * FROM test_alias_skip_idx__fuzz_0 PREWHERE test_alias_skip_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 150 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 151 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 152 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 153 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 154 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 155 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 156 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 GROUP BY test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_35 GROUP BY test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_3' in scope SELECT * FROM test_alias_skip_idx__fuzz_35 GROUP BY test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 157 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 158 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 159 out of 1000 EXPLAIN QUERY TREE dump_passes = true SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN QUERY TREE dump_passes = true SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 160 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 PREWHERE c SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_0 PREWHERE c SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a55b3 5. /build/contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x0000000012907dff 6. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x0000000012905f4c 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1081: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x0000000012903c03 8. /build/src/Storages/MergeTree/MergeTreeReadTask.cpp:165: DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x0000000012921020 9. /build/src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38: DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x00000000131bef2f 10. /build/src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:206: DB::MergeTreeSelectProcessor::read() @ 0x000000001291df97 11. /build/src/Storages/MergeTree/MergeTreeSource.cpp:180: DB::MergeTreeSource::tryGenerate() @ 0x00000000131c1640 12. /build/contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x0000000012d6e3e7 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:0: DB::ExecutionThreadContext::executeTask() @ 0x0000000012d86909 14. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x0000000012d7c5b0 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x0000000012d7c83d 16. /build/src/Processors/Executors/PipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x0000000012d7d19f 17. /build/src/Common/ThreadPool.cpp:781: ThreadPoolImpl>::ThreadFromThreadPool::worker() @ 0x000000000c708f9f 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ? @ 0x000000000c70e122 19. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 161 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 162 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 163 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 164 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 165 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 166 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 167 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 PREWHERE c SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_25 PREWHERE c SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Illegal type Nullable(Int32) of column for filter. Must be UInt8 or Nullable(UInt8).: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a563d 5. /build/contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x0000000012907dff 6. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x0000000012905f4c 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1081: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x0000000012903c03 8. /build/src/Storages/MergeTree/MergeTreeReadTask.cpp:165: DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x0000000012921020 9. /build/src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38: DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x00000000131bef2f 10. /build/src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:206: DB::MergeTreeSelectProcessor::read() @ 0x000000001291df97 11. /build/src/Storages/MergeTree/MergeTreeSource.cpp:180: DB::MergeTreeSource::tryGenerate() @ 0x00000000131c1640 12. /build/contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x0000000012d6e3e7 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:0: DB::ExecutionThreadContext::executeTask() @ 0x0000000012d86909 14. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x0000000012d7c5b0 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x0000000012d7c83d 16. /build/src/Processors/Executors/PipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x0000000012d7d19f 17. /build/src/Common/ThreadPool.cpp:781: ThreadPoolImpl>::ThreadFromThreadPool::worker() @ 0x000000000c708f9f 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ? @ 0x000000000c70e122 19. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 168 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 169 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1024 Fuzzing step 170 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 171 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 172 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 173 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 174 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 175 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 176 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 GROUP BY test_alias_skip_idx__fuzz_39, toFixedString(toLowCardinality(toNullable('merge_expressions=0')), 19), a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_37 GROUP BY test_alias_skip_idx__fuzz_39, toFixedString(toLowCardinality(toNullable('merge_expressions=0')), 19), a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_39' in scope SELECT * FROM test_alias_skip_idx__fuzz_37 GROUP BY test_alias_skip_idx__fuzz_39, toFixedString(toLowCardinality(toNullable('merge_expressions=0')), 19), a > 100 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 177 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 178 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 179 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 180 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 181 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 182 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 183 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 184 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 185 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 186 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 187 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 188 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 189 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 190 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 191 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 192 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 193 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 194 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 195 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 197 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 198 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 199 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 200 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 201 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 202 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 203 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 204 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 205 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 206 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 207 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 208 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 209 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 210 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 211 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 212 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 213 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 214 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 215 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 216 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 217 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 218 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 219 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 220 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 221 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 222 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 223 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 224 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 225 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 226 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 227 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 228 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 229 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 230 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 231 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 232 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 233 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 65535 Fuzzing step 234 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 235 out of 1000 EXPLAIN json = true, sorting = true SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN json = true, sorting = true SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 236 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 65537 Fuzzing step 237 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 238 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 239 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 240 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 241 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 242 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 243 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 244 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 245 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 246 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 247 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 248 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 249 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 250 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 251 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 252 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 253 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 254 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 255 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 256 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 257 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 258 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 259 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 GROUP BY test_alias_skip_idx__fuzz_12, test_alias_skip_idx__fuzz_14, test_alias_skip_idx__fuzz_40 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_37 GROUP BY test_alias_skip_idx__fuzz_12, test_alias_skip_idx__fuzz_14, test_alias_skip_idx__fuzz_40 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_12' in scope SELECT * FROM test_alias_skip_idx__fuzz_37 GROUP BY test_alias_skip_idx__fuzz_12, test_alias_skip_idx__fuzz_14, test_alias_skip_idx__fuzz_40 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 261 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 262 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 263 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 264 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 265 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 266 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 267 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 268 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 269 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 270 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 271 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 272 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 273 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 274 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 275 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 276 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 277 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 278 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 279 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 280 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 281 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 282 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 283 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 284 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 WHERE materialize(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_14 WHERE materialize(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Illegal type UInt256 of column materialize(materialize(_CAST('19'_UInt256, 'UInt256'_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x0000000012fcc497 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001316d043 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&) @ 0x000000001163a878 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>>&) @ 0x0000000011668f69 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662c15 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 10. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 11. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 285 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 286 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 287 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 288 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 289 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 290 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 291 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 292 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 293 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 294 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 295 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 297 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 GROUP BY test_alias_skip_idx__fuzz_2, toLowCardinality(19) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_10 GROUP BY test_alias_skip_idx__fuzz_2, toLowCardinality(19) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_2' in scope SELECT * FROM test_alias_skip_idx__fuzz_10 GROUP BY test_alias_skip_idx__fuzz_2, toLowCardinality(19) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 298 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 299 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 300 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 301 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 302 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 303 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 304 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 305 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 306 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 307 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 308 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 309 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 310 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 255 Fuzzing step 311 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 312 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 313 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 314 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 315 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 316 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 317 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 318 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 319 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 320 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 321 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 322 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 323 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 324 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 325 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 326 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 327 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 328 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 329 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 330 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 331 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 332 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 333 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 334 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 335 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 336 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 337 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 338 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 339 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 340 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 341 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 342 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 343 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 344 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 345 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 346 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 347 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 348 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 349 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 350 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 351 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 352 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 353 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 355 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 356 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 357 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 358 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 359 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 360 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 WHERE test_alias_skip_idx__fuzz_29 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_25 WHERE test_alias_skip_idx__fuzz_29 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_29' in scope SELECT * FROM test_alias_skip_idx__fuzz_25 WHERE test_alias_skip_idx__fuzz_29 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 361 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 362 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 363 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 364 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 365 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 366 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 367 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 368 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 369 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 370 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 371 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 372 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 373 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 374 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 2147483647 Fuzzing step 377 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 379 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 380 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 381 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 382 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 383 out of 1000 SELECT materialize(materialize(toUInt256(19))), * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 384 out of 1000 SELECT materialize(materialize(toUInt256(19))), * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 385 out of 1000 SELECT materialize(materialize(toUInt256(19))), * FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 386 out of 1000 SELECT materialize(toUInt256(19)), * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 387 out of 1000 SELECT materialize(19), * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 388 out of 1000 SELECT materialize(19), * FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 389 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT materialize(19), * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT materialize(19), * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 390 out of 1000 SELECT materialize(19), * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 391 out of 1000 SELECT materialize(19), * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 392 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 394 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 395 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_3 WHERE test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT materialize(19) FROM test_alias_skip_idx__fuzz_3 WHERE test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_25' in scope SELECT materialize(19) FROM test_alias_skip_idx__fuzz_3 WHERE test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 396 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 398 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 399 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 400 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 401 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 402 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 403 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 404 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 405 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 406 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 407 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 408 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 409 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 411 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 412 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 413 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 414 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 415 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 416 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 417 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 418 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 420 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 421 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 422 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 423 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 424 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 425 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 426 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 427 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 428 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 429 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 430 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 431 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 432 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 434 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 435 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 436 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 437 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 438 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 439 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 440 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 441 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 442 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 443 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 444 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 446 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 447 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 448 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 449 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY test_alias_skip_idx__fuzz_12, test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY test_alias_skip_idx__fuzz_12, test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_12' in scope SELECT 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY test_alias_skip_idx__fuzz_12, test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 450 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 451 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 452 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 453 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 454 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 455 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 456 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 457 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 458 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 459 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 460 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 461 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY test_alias_skip_idx__fuzz_42 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY test_alias_skip_idx__fuzz_42 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_42' in scope SELECT 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY test_alias_skip_idx__fuzz_42 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 462 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 464 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 465 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 466 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 467 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 468 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 469 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 470 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 471 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 472 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('19'): 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 473 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 474 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('19'): 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 475 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 476 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 477 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 478 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 479 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 480 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 481 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 482 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 483 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 484 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 485 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 486 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 488 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 489 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 490 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 491 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 492 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 493 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 494 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 495 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 496 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 497 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 498 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 499 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 500 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 501 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 502 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 503 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 504 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE toLowCardinality(toNullable('merge_expressions=0')) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE toLowCardinality(toNullable('merge_expressions=0')) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: LowCardinality(Nullable(String)). In query SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE toLowCardinality(toNullable('merge_expressions=0')) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 505 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 506 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 507 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 508 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 509 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 510 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 511 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 512 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 513 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 514 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 515 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 516 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 517 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 518 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 519 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 520 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 521 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 522 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 523 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 524 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 525 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 526 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 527 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 528 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 529 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 530 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 531 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 532 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 533 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 534 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 535 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_4' in scope SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 536 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 537 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 538 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY toLowCardinality(toNullable('merge_expressions=0')), test_alias_skip_idx, toNullable('merge_expressions=0'), c, MergeTree SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY toLowCardinality(toNullable('merge_expressions=0')), test_alias_skip_idx, toNullable('merge_expressions=0'), c, MergeTree SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx' in scope SELECT 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY toLowCardinality(toNullable('merge_expressions=0')), test_alias_skip_idx, toNullable('merge_expressions=0'), c, MergeTree SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 539 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 540 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 541 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 542 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 543 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 544 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 545 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('19'): 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 546 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 547 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 548 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 549 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('19'): 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 550 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 551 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 553 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 554 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 555 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 556 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('19'): 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 557 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 558 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 559 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 560 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 561 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 562 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 563 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 564 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 565 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 566 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 567 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 568 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 569 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 570 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 571 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 572 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 573 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 574 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 575 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 577 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 578 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 579 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 580 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 581 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 582 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 583 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 584 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 585 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 586 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 588 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 589 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 590 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 591 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 592 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 593 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 594 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 595 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 596 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 597 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toLowCardinality(toNullable('merge_expressions=0')) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toLowCardinality(toNullable('merge_expressions=0')) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: LowCardinality(Nullable(String)). In query SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toLowCardinality(toNullable('merge_expressions=0')) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 598 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 599 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 600 out of 1000 SELECT materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 601 out of 1000 SELECT materialize(toUInt256(toLowCardinality(19))) FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 602 out of 1000 SELECT toUInt256(toLowCardinality(19)) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 603 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 605 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 606 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 607 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 608 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 609 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 610 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 611 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 612 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE test_alias_skip_idx__fuzz_12 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE test_alias_skip_idx__fuzz_12 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_12' in scope SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE test_alias_skip_idx__fuzz_12 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 613 out of 1000 EXPLAIN PIPELINE header = true SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN PIPELINE header = true SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 614 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 615 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 616 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 618 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 619 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 620 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 621 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 622 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 623 out of 1000 SELECT test_alias_skip_idx__fuzz_21, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT test_alias_skip_idx__fuzz_21, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_21' in scope SELECT test_alias_skip_idx__fuzz_21, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 624 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 625 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 626 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 627 out of 1000 SELECT materialize(toUInt128(19)) FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 628 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 629 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 630 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 631 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 632 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 633 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 634 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 635 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 636 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 637 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 638 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 639 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 640 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 641 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 642 out of 1000 SELECT test_alias_skip_idx__fuzz_18, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT test_alias_skip_idx__fuzz_18, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_18' in scope SELECT test_alias_skip_idx__fuzz_18, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 643 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 644 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 645 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 646 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 647 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 648 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 649 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 651 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 652 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 653 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 654 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 655 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 656 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 657 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 658 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 659 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 660 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE test_alias_skip_idx__fuzz_39 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE test_alias_skip_idx__fuzz_39 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_39' in scope SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE test_alias_skip_idx__fuzz_39 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 661 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 662 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 WHERE toLowCardinality(toNullable('merge_expressions=0')) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_30 WHERE toLowCardinality(toNullable('merge_expressions=0')) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: LowCardinality(Nullable(String)). In query SELECT 19 FROM test_alias_skip_idx__fuzz_30 WHERE toLowCardinality(toNullable('merge_expressions=0')) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 663 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 664 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 665 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 666 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 667 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 10 Fuzzing step 668 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE greater(a, test_alias_skip_idx__fuzz_7, 100) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE greater(a, test_alias_skip_idx__fuzz_7, 100) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_7' in scope SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE greater(a, test_alias_skip_idx__fuzz_7, 100) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 669 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 670 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 671 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 672 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 673 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 674 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 675 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 676 out of 1000 SELECT test_alias_skip_idx__fuzz_26, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY toLowCardinality(toLowCardinality('merge_expressions=0')), test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT test_alias_skip_idx__fuzz_26, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY toLowCardinality(toLowCardinality('merge_expressions=0')), test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_26' in scope SELECT test_alias_skip_idx__fuzz_26, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY toLowCardinality(toLowCardinality('merge_expressions=0')), test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 677 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 679 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 680 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 681 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 682 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 683 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 684 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE greater(a, toFixedString(materialize(toLowCardinality(toNullable('merge_expressions=0')))), 100) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE greater(a, toFixedString(materialize(toLowCardinality(toNullable('merge_expressions=0')))), 100) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE greater(a, toFixedString(materialize(toLowCardinality(toNullable('merge_expressions=0')))), 100) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 685 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 686 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 2 Fuzzing step 687 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE greater(a, test_alias_skip_idx__fuzz_7, 100) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE greater(a, test_alias_skip_idx__fuzz_7, 100) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_7' in scope SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE greater(a, test_alias_skip_idx__fuzz_7, 100) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 688 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 689 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE a > 100 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 690 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE greater(toUInt128(19), a, 100) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE greater(toUInt128(19), a, 100) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE greater(toUInt128(19), a, 100) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 691 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, toNullable(19) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 692 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY greater(100), toNullable(19) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY greater(100), toNullable(19) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY greater(100), toNullable(19) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 693 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(19)) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 694 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(19)) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 695 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE greater(a, test_alias_skip_idx__fuzz_24, 100) GROUP BY a > 100, toNullable(materialize(19)) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE greater(a, test_alias_skip_idx__fuzz_24, 100) GROUP BY a > 100, toNullable(materialize(19)) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_24' in scope SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE greater(a, test_alias_skip_idx__fuzz_24, 100) GROUP BY a > 100, toNullable(materialize(19)) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 696 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(19)) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 697 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(19)) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 698 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(19)) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(19)) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(19)) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 699 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(materialize(toUInt256(19)))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 700 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(materialize(toUInt256(19)))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 701 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 702 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 703 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 704 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 705 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 706 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 707 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('19'): 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 708 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 709 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 710 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 711 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 712 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 713 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('19'): 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 714 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 715 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 716 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 717 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 718 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 719 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 720 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 721 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 722 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 723 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 724 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 725 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 726 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 727 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('19'): 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 728 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 729 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 730 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 731 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 732 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 733 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 734 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 735 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 736 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 737 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 738 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 WITH TOTALS SETTINGS query_plan_merge_expressions = 1': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 739 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 740 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 741 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 742 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 743 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 744 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 745 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 746 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 747 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 748 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 749 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('19'): 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 750 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 751 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 752 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 753 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 754 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 755 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 756 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 757 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('19'): 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 758 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 759 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 760 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 761 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 762 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 763 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 764 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 765 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 766 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 767 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 768 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 769 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('19'): 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 770 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 771 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 772 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 773 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('19'): 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 774 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 775 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 776 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 777 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 778 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 779 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 780 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 781 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 782 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 783 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 784 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 785 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 786 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 787 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 788 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 789 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 790 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 791 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, toNullable(materialize(toUInt256(19))) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 792 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 GROUP BY a > 100, materialize(toUInt256(19)) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 793 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, materialize(toUInt256(19)) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 795 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 796 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 797 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_41 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_41 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 798 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_41 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_41 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 799 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_35 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_35 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 800 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_30 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_alias_skip_idx__fuzz_30 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 801 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_4 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_alias_skip_idx__fuzz_4 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 802 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 803 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 804 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 805 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 806 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 807 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 808 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE greater(a, 'merge_expressions=0', 100) WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE greater(a, 'merge_expressions=0', 100) WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE greater(a, 'merge_expressions=0', 100) WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 809 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 810 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 811 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 812 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 813 out of 1000 SELECT c, 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE greater(100) WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT c, 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE greater(100) WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT c, 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE greater(100) WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 814 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 815 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 816 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 817 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 818 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 WHERE a > 100 GROUP BY a > materialize(100), materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 819 out of 1000 EXPLAIN PIPELINE header = true SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 WHERE a > 100 GROUP BY a > materialize(100), materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN PIPELINE header = true SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 WHERE a > 100 GROUP BY a > materialize(100), materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 820 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WHERE a > 100 GROUP BY a > materialize(100), materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WHERE a > 100 GROUP BY a > materialize(100), materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WHERE a > 100 GROUP BY a > materialize(100), materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 821 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 WHERE a > 100 GROUP BY a > materialize(100), materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 822 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 GROUP BY a > materialize(100), materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 823 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100 GROUP BY a > materialize(100), materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100 GROUP BY a > materialize(100), materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100 GROUP BY a > materialize(100), materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 824 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 GROUP BY a > materialize(100), materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 825 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 826 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_21 PREWHERE a > 100 WHERE a > materialize(100) GROUP BY a > 100, materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 827 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > materialize(100) GROUP BY a > 100, materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 828 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 WHERE greater(19, a, materialize(100)) GROUP BY greater(test_alias_skip_idx__fuzz_21, a, 100), materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 WHERE greater(19, a, materialize(100)) GROUP BY greater(test_alias_skip_idx__fuzz_21, a, 100), materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 WHERE greater(19, a, materialize(100)) GROUP BY greater(test_alias_skip_idx__fuzz_21, a, 100), materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 829 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 WHERE a > materialize(100) GROUP BY a > 100, materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 830 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 WHERE a > materialize(100) GROUP BY a > 100, materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 831 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > materialize(100) GROUP BY a > 100, materialize(19) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 832 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 WHERE a > materialize(100) GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 833 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 WHERE a > 100 GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 834 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 WHERE a > materialize(toUInt256(100)) GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 835 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > materialize(toUInt256(100)) GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > materialize(toUInt256(100)) GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > materialize(toUInt256(100)) GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 836 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE a > materialize(100) WHERE a > materialize(toUInt256(toLowCardinality(toNullable(100)))) GROUP BY a > 100, materialize(toLowCardinality('merge_expressions=0'), 19) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE a > materialize(100) WHERE a > materialize(toUInt256(toLowCardinality(toNullable(100)))) GROUP BY a > 100, materialize(toLowCardinality('merge_expressions=0'), 19) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE a > materialize(100) WHERE a > materialize(toUInt256(toLowCardinality(toNullable(100)))) GROUP BY a > 100, materialize(toLowCardinality('merge_expressions=0'), 19) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 837 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_37 PREWHERE greater(a) WHERE a > materialize(toUInt256(100)) GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_37 PREWHERE greater(a) WHERE a > materialize(toUInt256(100)) GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_37 PREWHERE greater(a) WHERE a > materialize(toUInt256(100)) GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 838 out of 1000 SELECT test_alias_skip_idx__fuzz_35, toNullable(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 WHERE a > materialize(toUInt256(100)) GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT test_alias_skip_idx__fuzz_35, toNullable(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 WHERE a > materialize(toUInt256(100)) GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_35' in scope SELECT test_alias_skip_idx__fuzz_35, toNullable(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 WHERE a > materialize(toUInt256(100)) GROUP BY a > 100, 19 SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 839 out of 1000 SELECT toNullable(toLowCardinality(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > materialize(toUInt256(100)) GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 840 out of 1000 SELECT toNullable(toLowCardinality(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE greater(a) WHERE a > materialize(toUInt256(100)) GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT toNullable(toLowCardinality(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE greater(a) WHERE a > materialize(toUInt256(100)) GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT toNullable(toLowCardinality(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE greater(a) WHERE a > materialize(toUInt256(100)) GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 841 out of 1000 SELECT toNullable(toLowCardinality(19)) FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 WHERE a > materialize(toUInt256(100)) GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 842 out of 1000 SELECT toNullable(toLowCardinality(19)) FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 WHERE a > materialize(toUInt256(100)) GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 843 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 WHERE a > materialize(toUInt256(100)) GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 844 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(19) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 845 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 846 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 847 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 848 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > toNullable(100), materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > toNullable(100), materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > toNullable(100), materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 849 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 850 out of 1000 EXPLAIN QUERY TREE dump_passes = true SELECT 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE a > 100 GROUP BY a > 100, materialize(toLowCardinality(19), 19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN QUERY TREE dump_passes = true SELECT 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE a > 100 GROUP BY a > 100, materialize(toLowCardinality(19), 19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 851 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 852 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 853 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 854 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 855 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 856 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 857 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WITH TOTALS SETTINGS query_plan_merge_expressions = 1': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 858 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > 100, materialize(toLowCardinality(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > 100, materialize(toLowCardinality(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > 100, materialize(toLowCardinality(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 859 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 860 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 861 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 862 out of 1000 SELECT test_alias_skip_idx__fuzz_47, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 GROUP BY a > 100, 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT test_alias_skip_idx__fuzz_47, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 GROUP BY a > 100, 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_47' in scope SELECT test_alias_skip_idx__fuzz_47, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 GROUP BY a > 100, 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 863 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 864 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 865 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 257 Fuzzing step 866 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1048577 Fuzzing step 867 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > toLowCardinality(100), 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > toLowCardinality(100), 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > toLowCardinality(100), 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 868 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 869 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 870 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 871 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 872 out of 1000 SELECT a, 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT a, 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Column default.test_alias_skip_idx__fuzz_25.a is not under aggregate function and not in GROUP BY keys. In query SELECT a, 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x000000001109825e 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001109733c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 873 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 874 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 875 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > toUInt128(100), materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 876 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 GROUP BY a > toUInt128(100), materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 877 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > toUInt128(100), 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > toUInt128(100), 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > toUInt128(100), 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 878 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > toUInt128(100), 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > toUInt128(100), 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > toUInt128(100), 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 879 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > toUInt128(100), materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > toUInt128(100), materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > toUInt128(100), materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 880 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > toUInt128(100), materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 881 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > toUInt128(100), materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 882 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 883 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > toUInt128(100), 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > toUInt128(100), 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > toUInt128(100), 19 WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 884 out of 1000 SELECT toUInt128(19) FROM test_alias_skip_idx__fuzz_30 PREWHERE a > toNullable(100) GROUP BY a > toUInt128(100), materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 885 out of 1000 SELECT toUInt128(19) FROM test_alias_skip_idx__fuzz_30 PREWHERE a > toNullable(100) GROUP BY a > toUInt128(toUInt128(19), 100), materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT toUInt128(19) FROM test_alias_skip_idx__fuzz_30 PREWHERE a > toNullable(100) GROUP BY a > toUInt128(toUInt128(19), 100), materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': 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 toUInt128(19) FROM test_alias_skip_idx__fuzz_30 PREWHERE a > toNullable(100) GROUP BY a > toUInt128(toUInt128(19), 100), materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 886 out of 1000 SELECT toUInt128(19) FROM test_alias_skip_idx__fuzz_30 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 887 out of 1000 SELECT toUInt128(19) FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT toUInt128(19) FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT toUInt128(19) FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 888 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 889 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 890 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 891 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 892 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 893 out of 1000 EXPLAIN `header, description` = true SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN `header, description` = true SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 894 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 WHERE test_alias_skip_idx GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 WHERE test_alias_skip_idx GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx' in scope SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 WHERE test_alias_skip_idx GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 895 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE greater(a) GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE greater(a) GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE greater(a) GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 896 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 897 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 898 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 899 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 900 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 901 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 902 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 903 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 904 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 905 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 906 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('19'): 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 907 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 908 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 909 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 910 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 911 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 912 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 913 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 914 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 915 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 916 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 917 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 918 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 919 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 920 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 921 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 922 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 923 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 924 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 925 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 926 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 927 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 928 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 929 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 WITH TOTALS SETTINGS query_plan_merge_expressions = 1': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 930 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 931 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 932 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 933 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 934 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 935 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 936 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 937 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('19'): 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 938 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 939 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 940 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 941 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 942 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 943 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 944 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('19'): 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 945 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('19'): 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 946 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('19'): 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 947 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 948 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, materialize(materialize(19)) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 949 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 950 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 951 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 129 ('CUBE'): CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 952 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 953 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 954 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 955 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 956 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 957 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 958 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 959 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 960 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 961 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 962 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 963 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE greater(test_alias_skip_idx__fuzz_43, a, 100) GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE greater(test_alias_skip_idx__fuzz_43, a, 100) GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_43' in scope SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE greater(test_alias_skip_idx__fuzz_43, a, 100) GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 964 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 965 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE a > 100 GROUP BY a > 100, materialize(test_alias_skip_idx__fuzz_35, 19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE a > 100 GROUP BY a > 100, materialize(test_alias_skip_idx__fuzz_35, 19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_35' in scope SELECT 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE a > 100 GROUP BY a > 100, materialize(test_alias_skip_idx__fuzz_35, 19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 966 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 967 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 968 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 969 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 970 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 971 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 972 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 973 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 974 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 975 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 18. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 19. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 976 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 977 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 GROUP BY a > 100, 19 WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 978 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 979 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(toNullable(materialize(toUInt256(19))), 19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(toNullable(materialize(toUInt256(19))), 19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(toNullable(materialize(toUInt256(19))), 19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 980 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 981 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 129 ('CUBE'): CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 982 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 983 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 984 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 WITH TOTALS SETTINGS query_plan_merge_expressions = 1': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 985 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 986 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY greater(a, toFixedString(toLowCardinality(toNullable(materialize('merge_expressions=0'))), 19), 100), materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY greater(a, toFixedString(toLowCardinality(toNullable(materialize('merge_expressions=0'))), 19), 100), materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY greater(a, toFixedString(toLowCardinality(toNullable(materialize('merge_expressions=0'))), 19), 100), materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 987 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 988 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WITH TOTALS SETTINGS query_plan_merge_expressions = 1': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 989 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 990 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 991 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 GROUP BY a > 100, materialize(19) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 992 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(toLowCardinality(toUInt256(19))) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 993 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 GROUP BY a > 100, materialize(toLowCardinality(toUInt256(19))) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 994 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 GROUP BY a > 100, materialize(toLowCardinality(toUInt256(19))) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 995 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 GROUP BY a > 100, materialize(toLowCardinality(toUInt256(19))) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 996 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, toLowCardinality(toUInt256(19)) WITH ROLLUP SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 997 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 GROUP BY a > 100, toLowCardinality(toUInt256(19)) WITH ROLLUP WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 998 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE a > materialize(toLowCardinality(toUInt128(100))) GROUP BY a > 100, toLowCardinality(toUInt256(19)) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 999 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > toLowCardinality(toUInt128(100)) GROUP BY a > 100, toUInt256(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > toLowCardinality(toUInt128(100)) GROUP BY a > 100, toUInt256(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt128) of function greater: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE a > toLowCardinality(toUInt128(100)) GROUP BY a > 100, toUInt256(19) WITH TOTALS SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT 'enable_optimizations=0' Got boring AST Fuzzing step 2 out of 1000 SELECT toFixedString('enable_optimizations=0', 22) Query succeeded, using this AST as a start Fuzzing step 3 out of 1000 SELECT toFixedString('enable_optimizations=0', 22) Got boring AST Fuzzing step 4 out of 1000 SELECT toFixedString('enable_optimizations=0', 22) Got boring AST Fuzzing step 5 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 6 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 7 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 8 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 9 out of 1000 SELECT test_alias_skip_idx__fuzz_20, 'enable_optimizations=0', 22 Error on processing query 'SELECT test_alias_skip_idx__fuzz_20, 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_20' in scope SELECT test_alias_skip_idx__fuzz_20, 'enable_optimizations=0', 22. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 10 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 11 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 12 out of 1000 EXPLAIN QUERY TREE run_passes = true SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN QUERY TREE run_passes = true SELECT 'enable_optimizations=0', 22': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 13 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 14 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 15 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 16 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 17 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 18 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 19 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 20 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 21 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 22 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 23 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 24 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 25 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 26 out of 1000 SELECT 'enable_optimizations=0', 22 WHERE test_alias_skip_idx Error on processing query 'SELECT 'enable_optimizations=0', 22 WHERE test_alias_skip_idx': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx' in scope SELECT 'enable_optimizations=0', 22 WHERE test_alias_skip_idx. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 27 out of 1000 EXPLAIN PIPELINE header = true, compact = true SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN PIPELINE header = true, compact = true SELECT 'enable_optimizations=0', 22': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 28 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 29 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 30 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 31 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 32 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Query succeeded, using this AST as a start Fuzzing step 33 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Got boring AST Fuzzing step 34 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Got boring AST Fuzzing step 35 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 36 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Query succeeded, using this AST as a start Fuzzing step 37 out of 1000 SELECT 'enable_optimizations=0', toNullable(toLowCardinality(22)) Query succeeded, using this AST as a start Fuzzing step 38 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Query succeeded, using this AST as a start Fuzzing step 39 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', toNullable(22) Query succeeded, using this AST as a start Fuzzing step 40 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', toNullable(22) Got boring AST Fuzzing step 41 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', toNullable(22) Query succeeded, using this AST as a start Fuzzing step 42 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', toNullable(22) Query succeeded, using this AST as a start Fuzzing step 43 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Query succeeded, using this AST as a start Fuzzing step 44 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Got boring AST Fuzzing step 45 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 46 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 47 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 48 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 49 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 50 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 51 out of 1000 SELECT 'enable_optimizations=0', materialize(22) Query succeeded, using this AST as a start Fuzzing step 52 out of 1000 SELECT 'enable_optimizations=0', materialize(22) Got boring AST Fuzzing step 53 out of 1000 SELECT 'enable_optimizations=0', materialize(test_alias_skip_idx__fuzz_36, 22) Error on processing query 'SELECT 'enable_optimizations=0', materialize(test_alias_skip_idx__fuzz_36, 22)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_36' in scope SELECT 'enable_optimizations=0', materialize(test_alias_skip_idx__fuzz_36, 22). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 54 out of 1000 SELECT 'enable_optimizations=0', materialize(22) Got boring AST Fuzzing step 55 out of 1000 SELECT 'enable_optimizations=0', materialize(22) Got boring AST Fuzzing step 56 out of 1000 SELECT 'enable_optimizations=0', materialize(22) Got boring AST Fuzzing step 57 out of 1000 SELECT 'enable_optimizations=0', materialize(22) Got boring AST Fuzzing step 58 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 59 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 60 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 61 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT 'enable_optimizations=0', toLowCardinality(22) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT 'enable_optimizations=0', toLowCardinality(22)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 62 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 63 out of 1000 SELECT 'enable_optimizations=0', toUInt256(22) Query succeeded, using this AST as a start Fuzzing step 64 out of 1000 SELECT 'enable_optimizations=0', toUInt256(22) Got boring AST Fuzzing step 65 out of 1000 SELECT 'enable_optimizations=0', toUInt256(22) Got boring AST Fuzzing step 66 out of 1000 SELECT 'enable_optimizations=0', toUInt256(22) Got boring AST Fuzzing step 67 out of 1000 SELECT 'enable_optimizations=0', toUInt256(22) Got boring AST Fuzzing step 68 out of 1000 SELECT 'enable_optimizations=0', toUInt256(22) Got boring AST Fuzzing step 69 out of 1000 SELECT 'enable_optimizations=0', toUInt256(22) Got boring AST Fuzzing step 70 out of 1000 SELECT 'enable_optimizations=0', toUInt256(22) Got boring AST Fuzzing step 71 out of 1000 SELECT 'enable_optimizations=0', toUInt256(22) Got boring AST Fuzzing step 72 out of 1000 SELECT 'enable_optimizations=0', toUInt256(22) Got boring AST Fuzzing step 73 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 74 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 75 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 76 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 77 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 78 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 79 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 80 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 81 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 82 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 (''enable_optimizations=0''): 'enable_optimizations=0', 22. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 83 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 84 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 (''enable_optimizations=0''): 'enable_optimizations=0', 22. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 85 out of 1000 EXPLAIN SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 86 out of 1000 EXPLAIN SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 87 out of 1000 EXPLAIN SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 88 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 89 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 90 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 92 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 93 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 94 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 (''enable_optimizations=0''): 'enable_optimizations=0', 22. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 95 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 96 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 97 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 (''enable_optimizations=0''): 'enable_optimizations=0', 22. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 98 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 99 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 (''enable_optimizations=0''): 'enable_optimizations=0', 22. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 100 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 101 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 (''enable_optimizations=0''): 'enable_optimizations=0', 22. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 102 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 103 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 104 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 105 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 106 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 107 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 108 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 109 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 110 out of 1000 SELECT test_alias_skip_idx__fuzz_28, 'enable_optimizations=0', 22 Error on processing query 'SELECT test_alias_skip_idx__fuzz_28, 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_28' in scope SELECT test_alias_skip_idx__fuzz_28, 'enable_optimizations=0', 22. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 111 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 112 out of 1000 SELECT 'enable_optimizations=0', 22 WHERE test_alias_skip_idx__fuzz_45 Error on processing query 'SELECT 'enable_optimizations=0', 22 WHERE test_alias_skip_idx__fuzz_45': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_45' in scope SELECT 'enable_optimizations=0', 22 WHERE test_alias_skip_idx__fuzz_45. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 113 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 114 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 115 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 116 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 117 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 118 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 119 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 120 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 121 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 122 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 123 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 124 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 125 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 126 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 127 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 128 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 129 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 130 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 131 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 132 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 133 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 134 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 135 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 136 out of 1000 SELECT 'enable_optimizations=0', 22 GROUP BY materialize(toLowCardinality(toUInt256(19))), test_alias_skip_idx__fuzz_44, c Error on processing query 'SELECT 'enable_optimizations=0', 22 GROUP BY materialize(toLowCardinality(toUInt256(19))), test_alias_skip_idx__fuzz_44, c': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_44' in scope SELECT 'enable_optimizations=0', 22 GROUP BY materialize(toLowCardinality(toUInt256(19))), test_alias_skip_idx__fuzz_44, c. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 137 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 138 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 139 out of 1000 SELECT 19, 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 140 out of 1000 SELECT 19, 'enable_optimizations=0', 22 Got boring AST Fuzzing step 141 out of 1000 SELECT 19, 'enable_optimizations=0', 22 PREWHERE test_alias_skip_idx__fuzz_9 Error on processing query 'SELECT 19, 'enable_optimizations=0', 22 PREWHERE test_alias_skip_idx__fuzz_9': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_9' in scope SELECT 19, 'enable_optimizations=0', 22 PREWHERE test_alias_skip_idx__fuzz_9. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 142 out of 1000 SELECT 19, 'enable_optimizations=0', 22 GROUP BY test_alias_skip_idx__fuzz_16, c + 1 Error on processing query 'SELECT 19, 'enable_optimizations=0', 22 GROUP BY test_alias_skip_idx__fuzz_16, c + 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_16' in scope SELECT 19, 'enable_optimizations=0', 22 GROUP BY test_alias_skip_idx__fuzz_16, c + 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 143 out of 1000 SELECT 19, 'enable_optimizations=0', 22 Got boring AST Fuzzing step 144 out of 1000 SELECT 19, 'enable_optimizations=0', 22 Got boring AST Fuzzing step 145 out of 1000 SELECT 19, 'enable_optimizations=0', 22 Got boring AST Fuzzing step 146 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 147 out of 1000 SELECT 19 Got boring AST Fuzzing step 148 out of 1000 SELECT 19 Got boring AST Fuzzing step 149 out of 1000 SELECT 19 Got boring AST Fuzzing step 150 out of 1000 SELECT 19 Got boring AST Fuzzing step 151 out of 1000 SELECT 19 Got boring AST Fuzzing step 152 out of 1000 SELECT 19 Got boring AST Fuzzing step 153 out of 1000 SELECT 19 Got boring AST Fuzzing step 154 out of 1000 EXPLAIN PIPELINE SELECT 19 PREWHERE toNullable(materialize(materialize(toUInt256(19)))) Error on processing query 'EXPLAIN PIPELINE SELECT 19 PREWHERE toNullable(materialize(materialize(toUInt256(19))))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 155 out of 1000 SELECT 19 Got boring AST Fuzzing step 156 out of 1000 SELECT 19 Got boring AST Fuzzing step 157 out of 1000 SELECT 19 Got boring AST Fuzzing step 158 out of 1000 SELECT 19 Got boring AST Fuzzing step 159 out of 1000 SELECT 19 Got boring AST Fuzzing step 160 out of 1000 SELECT 19 Got boring AST Fuzzing step 161 out of 1000 SELECT 19 PREWHERE toLowCardinality(toUInt128(19)) Error on processing query 'SELECT 19 PREWHERE toLowCardinality(toUInt128(19))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 162 out of 1000 SELECT 19 Got boring AST Fuzzing step 163 out of 1000 SELECT 19 Got boring AST Fuzzing step 164 out of 1000 SELECT 19 Got boring AST Fuzzing step 165 out of 1000 SELECT 19 Got boring AST Fuzzing step 166 out of 1000 SELECT test_alias_skip_idx__fuzz_21, 19 Error on processing query 'SELECT test_alias_skip_idx__fuzz_21, 19': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_21' in scope SELECT test_alias_skip_idx__fuzz_21, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 167 out of 1000 SELECT 19 Got boring AST Fuzzing step 168 out of 1000 SELECT 19 Got boring AST Fuzzing step 169 out of 1000 SELECT 19 Got boring AST Fuzzing step 170 out of 1000 SELECT 19 WHERE test_alias_skip_idx__fuzz_18 Error on processing query 'SELECT 19 WHERE test_alias_skip_idx__fuzz_18': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_18' in scope SELECT 19 WHERE test_alias_skip_idx__fuzz_18. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 171 out of 1000 SELECT 19 Got boring AST Fuzzing step 172 out of 1000 SELECT 19 Got boring AST Fuzzing step 173 out of 1000 SELECT 19 Got boring AST Fuzzing step 174 out of 1000 SELECT 19 Got boring AST Fuzzing step 175 out of 1000 SELECT 19 Got boring AST Fuzzing step 176 out of 1000 SELECT 19 Got boring AST Fuzzing step 177 out of 1000 SELECT 19 Got boring AST Fuzzing step 178 out of 1000 SELECT toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 179 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 180 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 181 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 182 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 183 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 184 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 185 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 186 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 187 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 188 out of 1000 SELECT test_alias_skip_idx__fuzz_35, toLowCardinality(19) Error on processing query 'SELECT test_alias_skip_idx__fuzz_35, toLowCardinality(19)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_35' in scope SELECT test_alias_skip_idx__fuzz_35, toLowCardinality(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 189 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 190 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 191 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 192 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 193 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 194 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 195 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 196 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 197 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 198 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 199 out of 1000 SELECT 19 Got boring AST Fuzzing step 200 out of 1000 SELECT 19 Got boring AST Fuzzing step 201 out of 1000 SELECT 19 Got boring AST Fuzzing step 202 out of 1000 SELECT 19 Got boring AST Fuzzing step 203 out of 1000 SELECT 19 Got boring AST Fuzzing step 204 out of 1000 SELECT 19 WHERE test_alias_skip_idx__fuzz_1 Error on processing query 'SELECT 19 WHERE test_alias_skip_idx__fuzz_1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_1' in scope SELECT 19 WHERE test_alias_skip_idx__fuzz_1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 205 out of 1000 SELECT 19 Got boring AST Fuzzing step 206 out of 1000 SELECT 19 Got boring AST Fuzzing step 207 out of 1000 SELECT 19 Got boring AST Fuzzing step 208 out of 1000 SELECT 19 Got boring AST Fuzzing step 209 out of 1000 SELECT 19 Got boring AST Fuzzing step 210 out of 1000 SELECT 19 Got boring AST Fuzzing step 211 out of 1000 SELECT 19 WHERE toUInt256(100) Error on processing query 'SELECT 19 WHERE toUInt256(100)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 212 out of 1000 SELECT 19 Got boring AST Fuzzing step 213 out of 1000 SELECT 19 PREWHERE toLowCardinality(toUInt128(100)) Error on processing query 'SELECT 19 PREWHERE toLowCardinality(toUInt128(100))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 214 out of 1000 SELECT 19 Got boring AST Fuzzing step 215 out of 1000 SELECT 19 Got boring AST Fuzzing step 216 out of 1000 SELECT 19 Got boring AST Fuzzing step 217 out of 1000 SELECT 19 GROUP BY test_alias_skip_idx__fuzz_20, toNullable(toLowCardinality(19)) Error on processing query 'SELECT 19 GROUP BY test_alias_skip_idx__fuzz_20, toNullable(toLowCardinality(19))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_20' in scope SELECT 19 GROUP BY test_alias_skip_idx__fuzz_20, toNullable(toLowCardinality(19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 218 out of 1000 SELECT 19 Got boring AST Fuzzing step 219 out of 1000 SELECT 19 Got boring AST Fuzzing step 220 out of 1000 SELECT 19 Got boring AST Fuzzing step 221 out of 1000 SELECT 19 Got boring AST Fuzzing step 222 out of 1000 SELECT 19 Got boring AST Fuzzing step 223 out of 1000 SELECT 19 Got boring AST Fuzzing step 224 out of 1000 SELECT 19 Got boring AST Fuzzing step 225 out of 1000 SELECT 19 Got boring AST Fuzzing step 226 out of 1000 EXPLAIN PIPELINE header = true SELECT materialize(19) Error on processing query 'EXPLAIN PIPELINE header = true SELECT materialize(19)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 227 out of 1000 SELECT 19 Got boring AST Fuzzing step 228 out of 1000 SELECT 19 Got boring AST Fuzzing step 229 out of 1000 SELECT 19 Got boring AST Fuzzing step 230 out of 1000 SELECT 19 Got boring AST Fuzzing step 231 out of 1000 SELECT toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 232 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 233 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 234 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 235 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 236 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 237 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 238 out of 1000 SELECT 19 Got boring AST Fuzzing step 239 out of 1000 SELECT materialize(19) Query succeeded, using this AST as a start Fuzzing step 240 out of 1000 SELECT materialize(19) Got boring AST Fuzzing step 241 out of 1000 SELECT materialize(19) WHERE test_alias_skip_idx__fuzz_22 Error on processing query 'SELECT materialize(19) WHERE test_alias_skip_idx__fuzz_22': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_22' in scope SELECT materialize(19) WHERE test_alias_skip_idx__fuzz_22. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 242 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 243 out of 1000 SELECT 19 Got boring AST Fuzzing step 244 out of 1000 SELECT 19 Got boring AST Fuzzing step 245 out of 1000 SELECT test_alias_skip_idx__fuzz_30, 19 Error on processing query 'SELECT test_alias_skip_idx__fuzz_30, 19': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_30' in scope SELECT test_alias_skip_idx__fuzz_30, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 246 out of 1000 SELECT 19 Got boring AST Fuzzing step 247 out of 1000 SELECT 19 Got boring AST Fuzzing step 248 out of 1000 SELECT 19 Got boring AST Fuzzing step 249 out of 1000 SELECT 19 WHERE test_alias_skip_idx__fuzz_12 Error on processing query 'SELECT 19 WHERE test_alias_skip_idx__fuzz_12': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_12' in scope SELECT 19 WHERE test_alias_skip_idx__fuzz_12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 250 out of 1000 SELECT 19 Got boring AST Fuzzing step 251 out of 1000 SELECT 19 Got boring AST Fuzzing step 252 out of 1000 SELECT 19 Got boring AST Fuzzing step 253 out of 1000 SELECT 19 Got boring AST Fuzzing step 254 out of 1000 SELECT 19 Got boring AST Fuzzing step 255 out of 1000 SELECT 19 Got boring AST Fuzzing step 256 out of 1000 SELECT materialize(toUInt256(19)) Query succeeded, using this AST as a start Fuzzing step 257 out of 1000 SELECT materialize(toUInt256(19)) Got boring AST Fuzzing step 258 out of 1000 SELECT materialize(toUInt256(19)) Got boring AST Fuzzing step 259 out of 1000 SELECT toUInt256(19) Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 261 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 262 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 263 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 264 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 265 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 266 out of 1000 SELECT 19 Got boring AST Fuzzing step 267 out of 1000 SELECT 19 Got boring AST Fuzzing step 268 out of 1000 SELECT 19 Got boring AST Fuzzing step 269 out of 1000 SELECT 19 Got boring AST Fuzzing step 270 out of 1000 SELECT 19 Got boring AST Fuzzing step 271 out of 1000 SELECT 19 PREWHERE 'enable_optimizations=0' Error on processing query 'SELECT 19 PREWHERE 'enable_optimizations=0'': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: String. In query SELECT 19 PREWHERE 'enable_optimizations=0'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 272 out of 1000 SELECT 19 Got boring AST Fuzzing step 273 out of 1000 SELECT 19 Got boring AST Fuzzing step 274 out of 1000 SELECT 19 Got boring AST Fuzzing step 275 out of 1000 SELECT 19 Got boring AST Fuzzing step 276 out of 1000 SELECT 19 Got boring AST Fuzzing step 277 out of 1000 EXPLAIN AST SELECT 19 Query succeeded, using this AST as a start Fuzzing step 278 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 279 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 280 out of 1000 EXPLAIN SELECT 19 Query succeeded, using this AST as a start Fuzzing step 281 out of 1000 EXPLAIN AST SELECT 19 Query succeeded, using this AST as a start Fuzzing step 282 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('19'): 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 283 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 284 out of 1000 EXPLAIN PIPELINE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 285 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 286 out of 1000 SELECT 19 Got boring AST Fuzzing step 287 out of 1000 SELECT 19 Got boring AST Fuzzing step 288 out of 1000 SELECT 19 Got boring AST Fuzzing step 289 out of 1000 SELECT 19 Got boring AST Fuzzing step 290 out of 1000 SELECT 19 Got boring AST Fuzzing step 291 out of 1000 SELECT 19 Got boring AST Fuzzing step 292 out of 1000 SELECT 19 Got boring AST Fuzzing step 293 out of 1000 SELECT 19 Got boring AST Fuzzing step 294 out of 1000 SELECT 19 Got boring AST Fuzzing step 295 out of 1000 SELECT 19 PREWHERE toUInt128(100) Error on processing query 'SELECT 19 PREWHERE toUInt128(100)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 296 out of 1000 SELECT 19 Got boring AST Fuzzing step 297 out of 1000 SELECT 19 Got boring AST Fuzzing step 298 out of 1000 SELECT 19 Got boring AST Fuzzing step 299 out of 1000 SELECT 19 Got boring AST Fuzzing step 300 out of 1000 SELECT 19 Got boring AST Fuzzing step 301 out of 1000 SELECT 19 Got boring AST Fuzzing step 302 out of 1000 SELECT 19 Got boring AST Fuzzing step 303 out of 1000 SELECT 19 Got boring AST Fuzzing step 304 out of 1000 SELECT 19 Got boring AST Fuzzing step 305 out of 1000 SELECT 19 Got boring AST Fuzzing step 306 out of 1000 SELECT 19 Got boring AST Fuzzing step 307 out of 1000 SELECT materialize(toUInt256(19)) WHERE test_alias_skip_idx__fuzz_1 Error on processing query 'SELECT materialize(toUInt256(19)) WHERE test_alias_skip_idx__fuzz_1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_1' in scope SELECT materialize(toUInt256(19)) WHERE test_alias_skip_idx__fuzz_1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 308 out of 1000 SELECT 19 Got boring AST Fuzzing step 309 out of 1000 SELECT toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 310 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 311 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 312 out of 1000 SELECT test_alias_skip_idx__fuzz_25, 19 Error on processing query 'SELECT test_alias_skip_idx__fuzz_25, 19': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_25' in scope SELECT test_alias_skip_idx__fuzz_25, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 313 out of 1000 SELECT 19 Got boring AST Fuzzing step 314 out of 1000 SELECT 19 Got boring AST Fuzzing step 315 out of 1000 EXPLAIN PIPELINE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 316 out of 1000 EXPLAIN PIPELINE SELECT 19 Got boring AST Fuzzing step 317 out of 1000 EXPLAIN PIPELINE SELECT 19 Got boring AST Fuzzing step 318 out of 1000 EXPLAIN AST SELECT 19 Query succeeded, using this AST as a start Fuzzing step 319 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 320 out of 1000 EXPLAIN PIPELINE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 321 out of 1000 EXPLAIN PIPELINE SELECT 19 Got boring AST Fuzzing step 322 out of 1000 EXPLAIN QUERY TREE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 323 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 324 out of 1000 EXPLAIN ESTIMATE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 EXPLAIN ESTIMATE SELECT 19 Got boring AST Fuzzing step 326 out of 1000 EXPLAIN SYNTAX SELECT 19 Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 328 out of 1000 SELECT 19 Got boring AST Fuzzing step 329 out of 1000 SELECT toUInt256(19) Query succeeded, using this AST as a start Fuzzing step 330 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 331 out of 1000 SELECT toUInt256(19) PREWHERE c + 1 Error on processing query 'SELECT toUInt256(19) PREWHERE c + 1': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'c' in scope SELECT toUInt256(19) PREWHERE c + 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 332 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 333 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 334 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(19) WHERE toNullable(toLowCardinality('merge_expressions=0')) Error on processing query 'EXPLAIN PIPELINE SELECT toUInt256(19) WHERE toNullable(toLowCardinality('merge_expressions=0'))': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: LowCardinality(Nullable(String)). In query SELECT toUInt256(19) WHERE toNullable(toLowCardinality('merge_expressions=0')). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 335 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 336 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 337 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 338 out of 1000 SELECT toUInt256(19) PREWHERE toNullable(19) Error on processing query 'SELECT toUInt256(19) PREWHERE toNullable(19)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 339 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 340 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 341 out of 1000 SELECT 19 Got boring AST Fuzzing step 342 out of 1000 SELECT 19 Got boring AST Fuzzing step 343 out of 1000 SELECT toUInt256(19) Query succeeded, using this AST as a start Fuzzing step 344 out of 1000 SELECT toUInt256(19) Got boring AST Fuzzing step 345 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 346 out of 1000 SELECT 19 PREWHERE 100 Error on processing query 'SELECT 19 PREWHERE 100': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 347 out of 1000 SELECT 19 Got boring AST Fuzzing step 348 out of 1000 SELECT 19 Got boring AST Fuzzing step 349 out of 1000 SELECT 19 Got boring AST Fuzzing step 350 out of 1000 SELECT 19 Got boring AST Fuzzing step 351 out of 1000 EXPLAIN ESTIMATE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 352 out of 1000 EXPLAIN ESTIMATE SELECT 19 Got boring AST Fuzzing step 353 out of 1000 EXPLAIN AST SELECT 19 Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 355 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 356 out of 1000 EXPLAIN ESTIMATE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 357 out of 1000 EXPLAIN SELECT 19 Query succeeded, using this AST as a start Fuzzing step 358 out of 1000 EXPLAIN QUERY TREE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 359 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 360 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 46 ('19'): 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 361 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 362 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 363 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('19'): 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 364 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 46 ('19'): 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 365 out of 1000 EXPLAIN ESTIMATE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 366 out of 1000 EXPLAIN AST SELECT 19 Query succeeded, using this AST as a start Fuzzing step 367 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 368 out of 1000 EXPLAIN QUERY TREE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 369 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 370 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 371 out of 1000 EXPLAIN AST SELECT 19 Query succeeded, using this AST as a start Fuzzing step 372 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 373 out of 1000 SELECT test_alias_skip_idx__fuzz_17, 19 Error on processing query 'SELECT test_alias_skip_idx__fuzz_17, 19': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_17' in scope SELECT test_alias_skip_idx__fuzz_17, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 374 out of 1000 SELECT 19 Got boring AST Fuzzing step 375 out of 1000 SELECT 19 Got boring AST Fuzzing step 376 out of 1000 SELECT 19 Got boring AST Fuzzing step 377 out of 1000 EXPLAIN AST SELECT 19 Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 46 ('19'): 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 379 out of 1000 EXPLAIN QUERY TREE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 380 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 381 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 382 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 383 out of 1000 EXPLAIN AST SELECT 19 Query succeeded, using this AST as a start Fuzzing step 384 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 385 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 386 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 387 out of 1000 EXPLAIN ESTIMATE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 388 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 46 ('19'): 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 389 out of 1000 EXPLAIN ESTIMATE SELECT 19 Got boring AST Fuzzing step 390 out of 1000 EXPLAIN ESTIMATE SELECT 19 Got boring AST Fuzzing step 391 out of 1000 EXPLAIN AST SELECT 19 Query succeeded, using this AST as a start Fuzzing step 392 out of 1000 EXPLAIN ESTIMATE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 EXPLAIN ESTIMATE SELECT 19 Got boring AST Fuzzing step 394 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 46 ('19'): 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 395 out of 1000 EXPLAIN ESTIMATE SELECT 19 Got boring AST Fuzzing step 396 out of 1000 EXPLAIN SYNTAX SELECT 19 Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 EXPLAIN AST SELECT 19 Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 399 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 400 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 401 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 402 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 403 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 404 out of 1000 EXPLAIN AST SELECT 19 Got boring AST Fuzzing step 405 out of 1000 EXPLAIN QUERY TREE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 406 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 407 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 408 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 409 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 410 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 411 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 412 out of 1000 EXPLAIN SYNTAX SELECT 19 Query succeeded, using this AST as a start Fuzzing step 413 out of 1000 EXPLAIN SYNTAX SELECT 19 Got boring AST Fuzzing step 414 out of 1000 EXPLAIN SYNTAX SELECT 19 Got boring AST Fuzzing step 415 out of 1000 EXPLAIN SYNTAX SELECT 19 Got boring AST Fuzzing step 416 out of 1000 EXPLAIN ESTIMATE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 417 out of 1000 EXPLAIN QUERY TREE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 418 out of 1000 EXPLAIN PIPELINE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 EXPLAIN PIPELINE SELECT 19 Got boring AST Fuzzing step 420 out of 1000 EXPLAIN SELECT 19 Query succeeded, using this AST as a start Fuzzing step 421 out of 1000 EXPLAIN SELECT 19 Got boring AST Fuzzing step 422 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('19'): 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 423 out of 1000 EXPLAIN SYNTAX SELECT 19 Query succeeded, using this AST as a start Fuzzing step 424 out of 1000 EXPLAIN SYNTAX SELECT 19 Got boring AST Fuzzing step 425 out of 1000 EXPLAIN SYNTAX SELECT 19 Got boring AST Fuzzing step 426 out of 1000 EXPLAIN SYNTAX SELECT 19 Got boring AST Fuzzing step 427 out of 1000 EXPLAIN SYNTAX SELECT 19 Got boring AST Fuzzing step 428 out of 1000 EXPLAIN SYNTAX SELECT 19 Got boring AST Fuzzing step 429 out of 1000 EXPLAIN QUERY TREE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 430 out of 1000 EXPLAIN SYNTAX SELECT 19 Query succeeded, using this AST as a start Fuzzing step 431 out of 1000 EXPLAIN SYNTAX SELECT 19 Got boring AST Fuzzing step 432 out of 1000 EXPLAIN SELECT 19 Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 EXPLAIN PIPELINE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 434 out of 1000 EXPLAIN PIPELINE SELECT 19 Got boring AST Fuzzing step 435 out of 1000 EXPLAIN PIPELINE SELECT 19 Got boring AST Fuzzing step 436 out of 1000 EXPLAIN PIPELINE SELECT 19 Got boring AST Fuzzing step 437 out of 1000 EXPLAIN SYNTAX SELECT 19 Query succeeded, using this AST as a start Fuzzing step 438 out of 1000 EXPLAIN SELECT 19 Query succeeded, using this AST as a start Fuzzing step 439 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 46 ('19'): 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 440 out of 1000 EXPLAIN SELECT 19 Got boring AST Fuzzing step 441 out of 1000 EXPLAIN QUERY TREE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 442 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 443 out of 1000 SELECT 19 PREWHERE toUInt256(toLowCardinality(19)) Error on processing query 'SELECT 19 PREWHERE toUInt256(toLowCardinality(19))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 444 out of 1000 SELECT 19 Got boring AST Fuzzing step 445 out of 1000 SELECT 19 Got boring AST Fuzzing step 446 out of 1000 SELECT 19 Got boring AST Fuzzing step 447 out of 1000 SELECT 19 Got boring AST Fuzzing step 448 out of 1000 SELECT 19 Got boring AST Fuzzing step 449 out of 1000 SELECT 19 Got boring AST Fuzzing step 450 out of 1000 SELECT 19 Got boring AST Fuzzing step 451 out of 1000 SELECT 19 Got boring AST Fuzzing step 452 out of 1000 SELECT 19 Got boring AST Fuzzing step 453 out of 1000 SELECT 19 Got boring AST Fuzzing step 454 out of 1000 SELECT 19 Got boring AST Fuzzing step 455 out of 1000 SELECT 19 Got boring AST Fuzzing step 456 out of 1000 SELECT 19 Got boring AST Fuzzing step 457 out of 1000 SELECT 19 Got boring AST Fuzzing step 458 out of 1000 SELECT 19 Got boring AST Fuzzing step 459 out of 1000 SELECT 19 Got boring AST Fuzzing step 460 out of 1000 SELECT 19 Got boring AST Fuzzing step 461 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('19'): 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 462 out of 1000 SELECT 19 Got boring AST Fuzzing step 463 out of 1000 SELECT 19 Got boring AST Fuzzing step 464 out of 1000 SELECT 19 Got boring AST Fuzzing step 465 out of 1000 SELECT 19 Got boring AST Fuzzing step 466 out of 1000 SELECT 19 Got boring AST Fuzzing step 467 out of 1000 SELECT 19 Got boring AST Fuzzing step 468 out of 1000 SELECT 19 Got boring AST Fuzzing step 469 out of 1000 SELECT 19 Got boring AST Fuzzing step 470 out of 1000 SELECT 19 GROUP BY test_alias_skip_idx__fuzz_5 Error on processing query 'SELECT 19 GROUP BY test_alias_skip_idx__fuzz_5': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_5' in scope SELECT 19 GROUP BY test_alias_skip_idx__fuzz_5. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 471 out of 1000 SELECT 19 Got boring AST Fuzzing step 472 out of 1000 SELECT 19 Got boring AST Fuzzing step 473 out of 1000 SELECT 19 Got boring AST Fuzzing step 474 out of 1000 SELECT 19 Got boring AST Fuzzing step 475 out of 1000 SELECT 19 Got boring AST Fuzzing step 476 out of 1000 SELECT 19 Got boring AST Fuzzing step 477 out of 1000 SELECT 19 Got boring AST Fuzzing step 478 out of 1000 SELECT 19 Got boring AST Fuzzing step 479 out of 1000 SELECT 19 Got boring AST Fuzzing step 480 out of 1000 EXPLAIN PIPELINE SELECT test_alias_skip_idx__fuzz_5, 19 Error on processing query 'EXPLAIN PIPELINE SELECT test_alias_skip_idx__fuzz_5, 19': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_5' in scope SELECT test_alias_skip_idx__fuzz_5, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 14. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 15. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 481 out of 1000 SELECT 19 Got boring AST Fuzzing step 482 out of 1000 SELECT 19 Got boring AST Fuzzing step 483 out of 1000 SELECT 19 Got boring AST Fuzzing step 484 out of 1000 EXPLAIN QUERY TREE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 485 out of 1000 EXPLAIN QUERY TREE SELECT 19 Got boring AST Fuzzing step 486 out of 1000 EXPLAIN SYNTAX SELECT 19 Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 EXPLAIN SELECT 19 Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 EXPLAIN SELECT 19 Got boring AST Fuzzing step 489 out of 1000 EXPLAIN SELECT 19 Got boring AST Fuzzing step 490 out of 1000 EXPLAIN ESTIMATE SELECT 19 Query succeeded, using this AST as a start Fuzzing step 491 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 492 out of 1000 SELECT toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 493 out of 1000 SELECT toUInt128(19) Got boring AST Fuzzing step 494 out of 1000 SELECT toUInt128(19) Got boring AST Fuzzing step 495 out of 1000 SELECT toUInt128(19) GROUP BY test_alias_skip_idx__fuzz_34, test_alias_skip_idx__fuzz_4 Error on processing query 'SELECT toUInt128(19) GROUP BY test_alias_skip_idx__fuzz_34, test_alias_skip_idx__fuzz_4': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_34' in scope SELECT toUInt128(19) GROUP BY test_alias_skip_idx__fuzz_34, test_alias_skip_idx__fuzz_4. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 496 out of 1000 SELECT toUInt128(19) Got boring AST Fuzzing step 497 out of 1000 SELECT toUInt128(19) Got boring AST Fuzzing step 498 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 499 out of 1000 SELECT 19 Got boring AST Fuzzing step 500 out of 1000 SELECT 19 Got boring AST Fuzzing step 501 out of 1000 SELECT materialize(19) Query succeeded, using this AST as a start Fuzzing step 502 out of 1000 SELECT materialize(19) Got boring AST Fuzzing step 503 out of 1000 SELECT materialize(19) Got boring AST Fuzzing step 504 out of 1000 SELECT materialize(19) Got boring AST Fuzzing step 505 out of 1000 EXPLAIN SYNTAX SELECT materialize(19) Query succeeded, using this AST as a start Fuzzing step 506 out of 1000 SELECT materialize(19) Query succeeded, using this AST as a start Fuzzing step 507 out of 1000 EXPLAIN AST SELECT materialize(19) Query succeeded, using this AST as a start Fuzzing step 508 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('materialize'): materialize(19). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 509 out of 1000 EXPLAIN AST SELECT materialize(19) Got boring AST Fuzzing step 510 out of 1000 EXPLAIN PIPELINE SELECT materialize(19) Query succeeded, using this AST as a start Fuzzing step 511 out of 1000 EXPLAIN PIPELINE SELECT materialize(19) Got boring AST Fuzzing step 512 out of 1000 EXPLAIN PIPELINE SELECT materialize(19) Got boring AST Fuzzing step 513 out of 1000 EXPLAIN PIPELINE SELECT materialize(19) Got boring AST Fuzzing step 514 out of 1000 EXPLAIN PIPELINE SELECT materialize(19) Got boring AST Fuzzing step 515 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 47 ('materialize'): materialize(19). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 516 out of 1000 EXPLAIN PIPELINE SELECT materialize(19) Got boring AST Fuzzing step 517 out of 1000 EXPLAIN PIPELINE SELECT materialize(19) Got boring AST Fuzzing step 518 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 47 ('materialize'): materialize(19). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 519 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 520 out of 1000 SELECT 19 Got boring AST Fuzzing step 521 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('19'): 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 522 out of 1000 SELECT 19 Got boring AST Fuzzing step 523 out of 1000 SELECT 19 Got boring AST Fuzzing step 524 out of 1000 SELECT 19 Got boring AST Fuzzing step 525 out of 1000 SELECT 19 Got boring AST Fuzzing step 526 out of 1000 SELECT 19 Got boring AST Fuzzing step 527 out of 1000 SELECT 19 Got boring AST Fuzzing step 528 out of 1000 SELECT 19 PREWHERE test_alias_skip_idx__fuzz_12 Error on processing query 'SELECT 19 PREWHERE test_alias_skip_idx__fuzz_12': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_12' in scope SELECT 19 PREWHERE test_alias_skip_idx__fuzz_12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 529 out of 1000 SELECT 19 Got boring AST Fuzzing step 530 out of 1000 SELECT toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 531 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 49 ('19'): 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 532 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 533 out of 1000 SELECT toLowCardinality(19) Got boring AST Fuzzing step 534 out of 1000 SELECT toLowCardinality(materialize(toUInt256(19))) Query succeeded, using this AST as a start Fuzzing step 535 out of 1000 SELECT toLowCardinality(materialize(toUInt256(19))) Got boring AST Fuzzing step 536 out of 1000 SELECT toLowCardinality(materialize(toUInt256(19))) Got boring AST Fuzzing step 537 out of 1000 SELECT toLowCardinality(toUInt256(19)) Query succeeded, using this AST as a start Fuzzing step 538 out of 1000 SELECT toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 539 out of 1000 SELECT toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 540 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 541 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 542 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 543 out of 1000 EXPLAIN SELECT toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 544 out of 1000 EXPLAIN SELECT toLowCardinality(19) Got boring AST Fuzzing step 545 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 546 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19) Got boring AST Fuzzing step 547 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19) Got boring AST Fuzzing step 548 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 549 out of 1000 SELECT toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 550 out of 1000 SELECT toLowCardinality(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 551 out of 1000 SELECT toNullable(19) Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 SELECT toNullable(19) Got boring AST Fuzzing step 553 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 554 out of 1000 SELECT 19 Got boring AST Fuzzing step 555 out of 1000 SELECT 19 Got boring AST Fuzzing step 556 out of 1000 SELECT 19 Got boring AST Fuzzing step 557 out of 1000 SELECT 19 Got boring AST Fuzzing step 558 out of 1000 SELECT 19 Got boring AST Fuzzing step 559 out of 1000 SELECT 19 Got boring AST Fuzzing step 560 out of 1000 SELECT 19 Got boring AST Fuzzing step 561 out of 1000 SELECT 19 Got boring AST Fuzzing step 562 out of 1000 SELECT toNullable(19) Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 SELECT toNullable(19) Got boring AST Fuzzing step 564 out of 1000 SELECT toNullable(19) Got boring AST Fuzzing step 565 out of 1000 SELECT toNullable(19) Got boring AST Fuzzing step 566 out of 1000 SELECT toNullable(19) Got boring AST Fuzzing step 567 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 568 out of 1000 SELECT 19 Got boring AST Fuzzing step 569 out of 1000 SELECT 19 Got boring AST Fuzzing step 570 out of 1000 SELECT 19 Got boring AST Fuzzing step 571 out of 1000 SELECT a > toLowCardinality(toUInt128(100)), 19 Error on processing query 'SELECT a > toLowCardinality(toUInt128(100)), 19': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope SELECT a > toLowCardinality(toUInt128(100)), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 572 out of 1000 SELECT 19 Got boring AST Fuzzing step 573 out of 1000 SELECT 19 Got boring AST Fuzzing step 574 out of 1000 SELECT 19 PREWHERE test_alias_skip_idx__fuzz_16 Error on processing query 'SELECT 19 PREWHERE test_alias_skip_idx__fuzz_16': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_16' in scope SELECT 19 PREWHERE test_alias_skip_idx__fuzz_16. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 575 out of 1000 SELECT toNullable(19) Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 SELECT toNullable(19) Got boring AST Fuzzing step 577 out of 1000 SELECT toNullable(19) Got boring AST Fuzzing step 578 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 579 out of 1000 SELECT 19 Got boring AST Fuzzing step 580 out of 1000 SELECT 19 Got boring AST Fuzzing step 581 out of 1000 SELECT 19 Got boring AST Fuzzing step 582 out of 1000 SELECT 19 Got boring AST Fuzzing step 583 out of 1000 SELECT 19 Got boring AST Fuzzing step 584 out of 1000 SELECT 19 Got boring AST Fuzzing step 585 out of 1000 SELECT 19 Got boring AST Fuzzing step 586 out of 1000 SELECT 19 Got boring AST Fuzzing step 587 out of 1000 SELECT 19 Got boring AST Fuzzing step 588 out of 1000 SELECT 19 Got boring AST Fuzzing step 589 out of 1000 SELECT 19 Got boring AST Fuzzing step 590 out of 1000 SELECT 19 Got boring AST Fuzzing step 591 out of 1000 SELECT 19 Got boring AST Fuzzing step 592 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT 19 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT 19': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 593 out of 1000 SELECT 19 Got boring AST Fuzzing step 594 out of 1000 SELECT 19 Got boring AST Fuzzing step 595 out of 1000 SELECT 19 Got boring AST Fuzzing step 596 out of 1000 SELECT 19 Got boring AST Fuzzing step 597 out of 1000 SELECT toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 598 out of 1000 SELECT toUInt128(toUInt256(19)), 19 Query succeeded, using this AST as a start Fuzzing step 599 out of 1000 SELECT toUInt128(toUInt256(19)), 19 Got boring AST Fuzzing step 600 out of 1000 SELECT toUInt128(toUInt256(19)), 19 Got boring AST Fuzzing step 601 out of 1000 SELECT toUInt128(toUInt256(19)), 19 Got boring AST Fuzzing step 602 out of 1000 SELECT toUInt128(toUInt256(19)), 19 Got boring AST Fuzzing step 603 out of 1000 SELECT toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 SELECT toUInt256(19), 19 Got boring AST Fuzzing step 605 out of 1000 EXPLAIN SELECT 19, 19 Query succeeded, using this AST as a start Fuzzing step 606 out of 1000 EXPLAIN SELECT 19, 19 Got boring AST Fuzzing step 607 out of 1000 EXPLAIN SELECT 19, 19 Got boring AST Fuzzing step 608 out of 1000 EXPLAIN SELECT 19, 19 Got boring AST Fuzzing step 609 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19, 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19, 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('19'): 19, 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 610 out of 1000 EXPLAIN SELECT 19, 19 Got boring AST Fuzzing step 611 out of 1000 EXPLAIN SELECT 19, 19 Got boring AST Fuzzing step 612 out of 1000 SELECT 19, materialize(toLowCardinality(19)) Query succeeded, using this AST as a start Fuzzing step 613 out of 1000 SELECT 19, materialize(toLowCardinality(19)) Got boring AST Fuzzing step 614 out of 1000 SELECT 19, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 SELECT 19, toLowCardinality(19) Got boring AST Fuzzing step 616 out of 1000 SELECT 19, a > materialize(100), toLowCardinality(19) Error on processing query 'SELECT 19, a > materialize(100), toLowCardinality(19)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope SELECT 19, a > materialize(100), toLowCardinality(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 617 out of 1000 SELECT 19, 19 Query succeeded, using this AST as a start Fuzzing step 618 out of 1000 SELECT 19, 19 PREWHERE toLowCardinality(19) Error on processing query 'SELECT 19, 19 PREWHERE toLowCardinality(19)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 619 out of 1000 SELECT 19, 19 Got boring AST Fuzzing step 620 out of 1000 SELECT 19, 19 Got boring AST Fuzzing step 621 out of 1000 SELECT 19, 19 Got boring AST Fuzzing step 622 out of 1000 SELECT 19, 19 Got boring AST Fuzzing step 623 out of 1000 SELECT 19, 19 Got boring AST Fuzzing step 624 out of 1000 SELECT 19, 19 Got boring AST Fuzzing step 625 out of 1000 SELECT 19, 19 Got boring AST Fuzzing step 626 out of 1000 SELECT 19, 19 Got boring AST Fuzzing step 627 out of 1000 SELECT 19, 19 Got boring AST Fuzzing step 628 out of 1000 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 629 out of 1000 SELECT 19 GROUP BY toNullable(19) Query succeeded, using this AST as a start Fuzzing step 630 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 631 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 632 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 633 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 634 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 635 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 636 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 637 out of 1000 EXPLAIN PIPELINE header = true SELECT 19 GROUP BY toNullable(minmax, 19) Error on processing query 'EXPLAIN PIPELINE header = true SELECT 19 GROUP BY toNullable(minmax, 19)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 638 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 639 out of 1000 SELECT 19 GROUP BY toNullable(test_alias_skip_idx__fuzz_26, 19) Error on processing query 'SELECT 19 GROUP BY toNullable(test_alias_skip_idx__fuzz_26, 19)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_26' in scope SELECT 19 GROUP BY toNullable(test_alias_skip_idx__fuzz_26, 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 640 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 641 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 642 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 643 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 644 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 645 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 646 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 647 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 648 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 649 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 650 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 651 out of 1000 EXPLAIN AST graph = true SELECT 19 GROUP BY toNullable(toNullable(19)) Error on processing query 'EXPLAIN AST graph = true SELECT 19 GROUP BY toNullable(toNullable(19))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 652 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 653 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 654 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 655 out of 1000 SELECT 19 GROUP BY toNullable(19) Got boring AST Fuzzing step 656 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((toNullable(materialize(toLowCardinality(19))))) Query succeeded, using this AST as a start Fuzzing step 657 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((toNullable(materialize(toLowCardinality(19))))) Got boring AST Fuzzing step 658 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) Query succeeded, using this AST as a start Fuzzing step 659 out of 1000 EXPLAIN SELECT 19 GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) Query succeeded, using this AST as a start Fuzzing step 660 out of 1000 EXPLAIN SELECT 19 GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) Got boring AST Fuzzing step 661 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) Query succeeded, using this AST as a start Fuzzing step 662 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) Got boring AST Fuzzing step 663 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 664 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 665 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 666 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 667 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 668 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 669 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 670 out of 1000 SELECT 19 WHERE materialize(toLowCardinality(19)) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 671 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 672 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 673 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 674 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 675 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 676 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 677 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 678 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 19 GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 679 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 680 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 681 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 682 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('19'): 19 GROUP BY GROUPING SETS ((materialize(19))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 683 out of 1000 SELECT test_alias_skip_idx, toLowCardinality(19) WHERE test_alias_skip_idx__fuzz_4 GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'SELECT test_alias_skip_idx, toLowCardinality(19) WHERE test_alias_skip_idx__fuzz_4 GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx' in scope SELECT test_alias_skip_idx, toLowCardinality(19) WHERE test_alias_skip_idx__fuzz_4 GROUP BY GROUPING SETS ((materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 684 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(toNullable(19)))) Query succeeded, using this AST as a start Fuzzing step 685 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(toNullable(19)))) Got boring AST Fuzzing step 686 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 687 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 688 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 689 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 19 GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 690 out of 1000 SELECT 19 WHERE toFixedString('enable_optimizations=0', 22) GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'SELECT 19 WHERE toFixedString('enable_optimizations=0', 22) GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: FixedString(22). In query SELECT 19 WHERE toFixedString('enable_optimizations=0', 22) GROUP BY GROUPING SETS ((materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 691 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 692 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 693 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT 19 GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 694 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 695 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 696 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 697 out of 1000 SELECT test_alias_skip_idx__fuzz_6, 19 GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'SELECT test_alias_skip_idx__fuzz_6, 19 GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_6' in scope SELECT test_alias_skip_idx__fuzz_6, 19 GROUP BY GROUPING SETS ((materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 698 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 699 out of 1000 EXPLAIN ESTIMATE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 700 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 701 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('19'): 19 GROUP BY GROUPING SETS ((materialize(19))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 702 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 703 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 704 out of 1000 EXPLAIN SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 705 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 706 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('19'): 19 GROUP BY GROUPING SETS ((materialize(19))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 707 out of 1000 EXPLAIN SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 708 out of 1000 EXPLAIN SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 709 out of 1000 EXPLAIN SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 710 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 711 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 712 out of 1000 EXPLAIN AST SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 713 out of 1000 EXPLAIN SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 714 out of 1000 EXPLAIN SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 715 out of 1000 EXPLAIN SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 716 out of 1000 EXPLAIN SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 717 out of 1000 EXPLAIN SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 718 out of 1000 EXPLAIN SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 719 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 720 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(test_alias_skip_idx__fuzz_13, 19))) Error on processing query 'SELECT 19 GROUP BY GROUPING SETS ((materialize(test_alias_skip_idx__fuzz_13, 19)))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_13' in scope SELECT 19 GROUP BY GROUPING SETS ((materialize(test_alias_skip_idx__fuzz_13, 19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 721 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 722 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 723 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 19 GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 724 out of 1000 EXPLAIN AST SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 725 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 726 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('19'): 19 GROUP BY GROUPING SETS ((materialize(19))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 727 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 728 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 729 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 730 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 731 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 732 out of 1000 EXPLAIN AST SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 733 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('19'): 19 GROUP BY GROUPING SETS ((materialize(19))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 734 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 735 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 736 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 737 out of 1000 EXPLAIN AST SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 738 out of 1000 EXPLAIN AST SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 739 out of 1000 EXPLAIN AST SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 740 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 741 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 742 out of 1000 EXPLAIN AST SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 743 out of 1000 EXPLAIN SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 744 out of 1000 EXPLAIN AST SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 745 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 746 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 747 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('19'): 19 GROUP BY GROUPING SETS ((materialize(19))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 748 out of 1000 EXPLAIN AST SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 749 out of 1000 EXPLAIN AST SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 750 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('19'): 19 GROUP BY GROUPING SETS ((materialize(19))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 751 out of 1000 EXPLAIN AST SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 752 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 753 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 754 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 755 out of 1000 EXPLAIN AST SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 756 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('19'): 19 GROUP BY GROUPING SETS ((materialize(19))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 757 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 758 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('19'): 19 GROUP BY GROUPING SETS ((materialize(19))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 759 out of 1000 EXPLAIN ESTIMATE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 760 out of 1000 EXPLAIN SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 761 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 762 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 763 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 764 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 765 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 766 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 767 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 768 out of 1000 SELECT 19 WHERE test_alias_skip_idx__fuzz_16 GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'SELECT 19 WHERE test_alias_skip_idx__fuzz_16 GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_16' in scope SELECT 19 WHERE test_alias_skip_idx__fuzz_16 GROUP BY GROUPING SETS ((materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 769 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 770 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 19 GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 771 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 772 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 773 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 19 GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 774 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 775 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 19 GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 776 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 19 GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 777 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 19 GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 778 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 779 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 780 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 781 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 782 out of 1000 SELECT toNullable(19) WHERE toFixedString(toLowCardinality(toNullable('merge_expressions=0')), 19) GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'SELECT toNullable(19) WHERE toFixedString(toLowCardinality(toNullable('merge_expressions=0')), 19) GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: LowCardinality(Nullable(FixedString(19))). In query SELECT toNullable(19) WHERE toFixedString(toLowCardinality(toNullable('merge_expressions=0')), 19) GROUP BY GROUPING SETS ((materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 783 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT toNullable(19) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 784 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 785 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT toNullable(19) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 786 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 787 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 788 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 789 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 790 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 791 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 792 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 793 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 794 out of 1000 SELECT 19 PREWHERE test_alias_skip_idx__fuzz_44 GROUP BY GROUPING SETS ((materialize(test_alias_skip_idx__fuzz_14, 19))) Error on processing query 'SELECT 19 PREWHERE test_alias_skip_idx__fuzz_44 GROUP BY GROUPING SETS ((materialize(test_alias_skip_idx__fuzz_14, 19)))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_44' in scope SELECT 19 PREWHERE test_alias_skip_idx__fuzz_44 GROUP BY GROUPING SETS ((materialize(test_alias_skip_idx__fuzz_14, 19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 795 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 796 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 19 GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 797 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 798 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(toLowCardinality(toLowCardinality('merge_expressions=0')), 19))) Error on processing query 'SELECT 19 GROUP BY GROUPING SETS ((materialize(toLowCardinality(toLowCardinality('merge_expressions=0')), 19)))': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 19 GROUP BY GROUPING SETS ((materialize(toLowCardinality(toLowCardinality('merge_expressions=0')), 19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 799 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 800 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 801 out of 1000 SELECT 19 WITH TOTALS Error on processing query 'SELECT 19 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 802 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 803 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 804 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 805 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 806 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 807 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 808 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 809 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 810 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 811 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 812 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 813 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 814 out of 1000 SELECT toNullable(100), 19 WHERE test_alias_skip_idx__fuzz_27 GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT toNullable(100), 19 WHERE test_alias_skip_idx__fuzz_27 GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_27' in scope SELECT toNullable(100), 19 WHERE test_alias_skip_idx__fuzz_27 GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 815 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 816 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT 19 GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 817 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 818 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 819 out of 1000 SELECT 19 GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT 19 GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 820 out of 1000 SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 821 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 822 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('19'): 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 823 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 824 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 825 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 826 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 827 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 828 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 829 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 830 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 831 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 832 out of 1000 EXPLAIN SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 833 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 834 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 835 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 836 out of 1000 EXPLAIN SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 837 out of 1000 EXPLAIN SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 838 out of 1000 EXPLAIN SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 839 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 840 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 841 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 842 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 843 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 844 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 845 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 846 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 847 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 848 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 849 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 850 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 851 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 852 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 853 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 854 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('19'): 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 855 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 856 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 857 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 858 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 859 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 860 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 861 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 862 out of 1000 EXPLAIN SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 863 out of 1000 EXPLAIN SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 864 out of 1000 EXPLAIN SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 865 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 866 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 867 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('19'): 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 868 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 869 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 870 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 871 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 872 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 873 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 874 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 875 out of 1000 EXPLAIN SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 876 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('19'): 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 877 out of 1000 EXPLAIN SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 878 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 879 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 880 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('19'): 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 881 out of 1000 SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(toFixedString(toLowCardinality(toNullable('enable_optimizations=0')), 22), 19))) WITH CUBE WITH TOTALS Error on processing query 'SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(toFixedString(toLowCardinality(toNullable('enable_optimizations=0')), 22), 19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 882 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 883 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 884 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 885 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 886 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 887 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 888 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 889 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 890 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 891 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 892 out of 1000 EXPLAIN SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 893 out of 1000 EXPLAIN SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 894 out of 1000 EXPLAIN SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 895 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 896 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 897 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 898 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 899 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 900 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 901 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 902 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 903 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 904 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 905 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 906 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('19'): 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 907 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 908 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('19'): 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 909 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 910 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 911 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 912 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 913 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 914 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 915 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 916 out of 1000 EXPLAIN AST SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 917 out of 1000 SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 918 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 919 out of 1000 SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 920 out of 1000 SELECT 19 PREWHERE materialize(materialize(toUInt256(19)), 19) WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Error on processing query 'SELECT 19 PREWHERE materialize(materialize(toUInt256(19)), 19) WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) 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 19 PREWHERE materialize(materialize(toUInt256(19)), 19) WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 921 out of 1000 SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 922 out of 1000 SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 923 out of 1000 SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 924 out of 1000 SELECT 19 WHERE materialize(materialize(toNullable(19))) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 925 out of 1000 SELECT 19 WHERE materialize(materialize(toNullable(19))) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 926 out of 1000 SELECT 19 WHERE materialize(materialize(toNullable(19))) GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT 19 WHERE materialize(materialize(toNullable(19))) GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE materialize(materialize(toNullable(19))) GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 927 out of 1000 SELECT 19 WHERE materialize(materialize(toNullable(19))) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 928 out of 1000 SELECT 19 WHERE materialize(materialize(toNullable(19))) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 929 out of 1000 SELECT 19 WHERE materialize(materialize(toNullable(19))) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 930 out of 1000 SELECT 19 WHERE materialize(materialize(toNullable(19))) GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT 19 WHERE materialize(materialize(toNullable(19))) GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE materialize(materialize(toNullable(19))) GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 931 out of 1000 SELECT 19 WHERE materialize(materialize(toNullable(19))) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 932 out of 1000 SELECT 19 WHERE materialize(materialize(toNullable(19))) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 933 out of 1000 SELECT 19 WHERE materialize(materialize(19)) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 934 out of 1000 SELECT 19 WHERE materialize(materialize(19)) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 935 out of 1000 SELECT 19 WHERE materialize(materialize(19)) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 936 out of 1000 SELECT 19 WHERE materialize(materialize(19)) GROUP BY GROUPING SETS ((materialize(19))) WITH CUBE WITH TOTALS Error on processing query 'SELECT 19 WHERE materialize(materialize(19)) GROUP BY GROUPING SETS ((materialize(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 937 out of 1000 SELECT materialize(19) WHERE materialize(materialize(19)) WITH TOTALS Error on processing query 'SELECT materialize(19) WHERE materialize(materialize(19)) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 938 out of 1000 SELECT 19 WHERE materialize(materialize(19)) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 939 out of 1000 SELECT 19 WHERE materialize(materialize(19)) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 940 out of 1000 SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 941 out of 1000 SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 942 out of 1000 SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 943 out of 1000 SELECT 19 WHERE materialize(toUInt128(19)) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Error on processing query 'SELECT 19 WHERE materialize(toUInt128(19)) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS': Received from localhost:9000. DB::Exception: Illegal type UInt128 of column materialize(_CAST('19'_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x0000000012fcc497 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001316d043 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&) @ 0x000000001163a878 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>>&) @ 0x0000000011668f69 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662c15 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 10. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 11. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 944 out of 1000 SELECT toNullable(19) WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 945 out of 1000 SELECT toNullable(19) WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 946 out of 1000 SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 947 out of 1000 SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 948 out of 1000 SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 949 out of 1000 SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 950 out of 1000 SELECT 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 951 out of 1000 SELECT toUInt256(toLowCardinality(19)), 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 952 out of 1000 SELECT toLowCardinality(19), 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 953 out of 1000 SELECT toLowCardinality(19), 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 954 out of 1000 SELECT toLowCardinality(19), 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(test_alias_skip_idx__fuzz_45, 19))) WITH TOTALS Error on processing query 'SELECT toLowCardinality(19), 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(test_alias_skip_idx__fuzz_45, 19))) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_45' in scope SELECT toLowCardinality(19), 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(test_alias_skip_idx__fuzz_45, 19))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 955 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 956 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 957 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 958 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 959 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 960 out of 1000 SELECT test_alias_skip_idx__fuzz_42, 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT test_alias_skip_idx__fuzz_42, 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_42' in scope SELECT test_alias_skip_idx__fuzz_42, 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 961 out of 1000 EXPLAIN PIPELINE compact = true SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 962 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 963 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 964 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 965 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 966 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 967 out of 1000 SELECT 19, toUInt128(19) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 19, toUInt128(19) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 19, toUInt128(19) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 968 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 969 out of 1000 SELECT 19, 19 PREWHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'SELECT 19, 19 PREWHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 970 out of 1000 SELECT 19, test_alias_skip_idx__fuzz_3, 19 PREWHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'SELECT 19, test_alias_skip_idx__fuzz_3, 19 PREWHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_3' in scope SELECT 19, test_alias_skip_idx__fuzz_3, 19 PREWHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 971 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 972 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 973 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 974 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(materialize(toUInt256(19)), 19))) Error on processing query 'SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(materialize(toUInt256(19)), 19)))': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(materialize(toUInt256(19)), 19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 975 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 976 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 977 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 978 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 979 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 980 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 981 out of 1000 SELECT 19, 19 WHERE materialize(19) WITH TOTALS Error on processing query 'SELECT 19, 19 WHERE materialize(19) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 982 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 983 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 984 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 985 out of 1000 EXPLAIN QUERY TREE passes = true SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE passes = true SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 986 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 987 out of 1000 EXPLAIN ESTIMATE SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 988 out of 1000 EXPLAIN ESTIMATE SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 989 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 990 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 991 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 992 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 993 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 994 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 995 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 996 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 997 out of 1000 SELECT 19, 19 WHERE materialize(test_alias_skip_idx__fuzz_18, 19) GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'SELECT 19, 19 WHERE materialize(test_alias_skip_idx__fuzz_18, 19) GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_18' in scope SELECT 19, 19 WHERE materialize(test_alias_skip_idx__fuzz_18, 19) GROUP BY GROUPING SETS ((materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 998 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 999 out of 1000 SELECT 19, 19 WHERE materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 2 out of 1000 EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN QUERY TREE query. Supported settings: dump_passes, dump_ast, dump_tree, run_passes, passes. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [11], String&&) @ 0x00000000115973eb 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115903be 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 3 out of 1000 EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('*'): * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0. Expected one of: token sequence, Dot, token, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 4 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 5 out of 1000 EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN QUERY TREE query. Supported settings: dump_passes, dump_ast, dump_tree, run_passes, passes. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [11], String&&) @ 0x00000000115973eb 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115903be 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 6 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 7 out of 1000 EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN SYNTAX query. Supported settings: oneline. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [7], String&&) @ 0x0000000011596e6b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001159022c 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 8 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 9 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 10 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 11 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 12 out of 1000 EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN QUERY TREE query. Supported settings: dump_passes, dump_ast, dump_tree, run_passes, passes. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [11], String&&) @ 0x00000000115973eb 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115903be 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 13 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 14 out of 1000 EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('*'): * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0. Expected one of: token sequence, Dot, token, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 15 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 16 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 17 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 18 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 19 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 20 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 21 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 22 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 23 out of 1000 EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN SYNTAX query. Supported settings: oneline. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [7], String&&) @ 0x0000000011596e6b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001159022c 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 24 out of 1000 EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN SYNTAX query. Supported settings: oneline. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [7], String&&) @ 0x0000000011596e6b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001159022c 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 25 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 26 out of 1000 EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('*'): * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0. Expected one of: token sequence, Dot, token, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 27 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 28 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 29 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 30 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 31 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 32 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 33 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 34 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 35 out of 1000 EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN SYNTAX query. Supported settings: oneline. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [7], String&&) @ 0x0000000011596e6b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001159022c 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 36 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_35 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_35 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 37 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 38 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 39 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 40 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 41 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 42 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 43 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 44 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 45 out of 1000 EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('SELECT'): SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0. Expected one of: INTO OUTFILE, FORMAT, SETTINGS, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 46 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 47 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 48 out of 1000 EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('*'): * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0. Expected one of: token sequence, Dot, token, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 49 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 50 out of 1000 EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN SYNTAX query. Supported settings: oneline. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [7], String&&) @ 0x0000000011596e6b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001159022c 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 51 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 52 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 WHERE a > materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 53 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_41 WHERE a > materialize(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, * FROM test_alias_skip_idx__fuzz_41 WHERE a > materialize(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT 100, * FROM test_alias_skip_idx__fuzz_41 WHERE a > materialize(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 54 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 55 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 56 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 58 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 59 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 60 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 61 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 62 out of 1000 SELECT toNullable(toUInt256(19)), * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 63 out of 1000 SELECT toNullable(toUInt256(19)), * FROM test_alias_skip_idx__fuzz_21 PREWHERE test_alias_skip_idx__fuzz_47 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toNullable(toUInt256(19)), * FROM test_alias_skip_idx__fuzz_21 PREWHERE test_alias_skip_idx__fuzz_47 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_47' in scope SELECT toNullable(toUInt256(19)), * FROM test_alias_skip_idx__fuzz_21 PREWHERE test_alias_skip_idx__fuzz_47 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 64 out of 1000 SELECT toNullable(toUInt256(19)), * FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 65 out of 1000 SELECT toNullable(toUInt256(19)), * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 66 out of 1000 SELECT toNullable(toUInt256(19)), * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 67 out of 1000 SELECT toNullable(toUInt256(19)), * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 68 out of 1000 SELECT toNullable(19), * FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 69 out of 1000 SELECT toNullable(19), * FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 70 out of 1000 SELECT toNullable(19), * FROM test_alias_skip_idx__fuzz_25 WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 71 out of 1000 SELECT toNullable(19), * FROM test_alias_skip_idx__fuzz_25 WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 72 out of 1000 SELECT toNullable(toLowCardinality(toNullable(19))), * FROM test_alias_skip_idx__fuzz_25 WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 73 out of 1000 SELECT toNullable(toLowCardinality(toNullable(19))), * FROM test_alias_skip_idx__fuzz_25 WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 74 out of 1000 SELECT toNullable(toLowCardinality(toNullable(19))), * FROM test_alias_skip_idx__fuzz_25 WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 75 out of 1000 SELECT toLowCardinality(toNullable(19)), * FROM test_alias_skip_idx__fuzz_14 PREWHERE toLowCardinality(toNullable(19)) WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 76 out of 1000 SELECT toLowCardinality(toNullable(19)), * FROM test_alias_skip_idx__fuzz_14 PREWHERE toLowCardinality(toNullable(19)) WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 77 out of 1000 SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_25 PREWHERE toLowCardinality(toNullable(19)) WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 78 out of 1000 SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(19)) WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 79 out of 1000 SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(19)) WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 80 out of 1000 EXPLAIN QUERY TREE run_passes = true, dump_ast = true, passes = true SELECT * FROM test_alias_skip_idx__fuzz_3 PREWHERE toLowCardinality(toNullable(19)) WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN QUERY TREE run_passes = true, dump_ast = true, passes = true SELECT * FROM test_alias_skip_idx__fuzz_3 PREWHERE toLowCardinality(toNullable(19)) WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 81 out of 1000 SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(toNullable(19)) WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 82 out of 1000 SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_4 PREWHERE toLowCardinality(19) WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 83 out of 1000 SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_25 PREWHERE toLowCardinality(19) WHERE toLowCardinality(toNullable(materialize(19))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_25 PREWHERE toLowCardinality(19) WHERE toLowCardinality(toNullable(materialize(19))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 85 out of 1000 SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_30 PREWHERE toLowCardinality(19) WHERE toLowCardinality(toNullable(materialize(19))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 86 out of 1000 SELECT 19, * FROM test_alias_skip_idx__fuzz_37 PREWHERE toLowCardinality(19) WHERE toLowCardinality(toNullable(materialize(19))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 87 out of 1000 SELECT 19, * FROM test_alias_skip_idx__fuzz_30 PREWHERE toLowCardinality(19) WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 88 out of 1000 SELECT 19, * FROM test_alias_skip_idx__fuzz_30 PREWHERE toLowCardinality(19) WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 89 out of 1000 SELECT 19, * FROM test_alias_skip_idx__fuzz_0 PREWHERE toLowCardinality(19) WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 90 out of 1000 SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_37 PREWHERE toLowCardinality(19) WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_3 PREWHERE toLowCardinality(19) WHERE toLowCardinality(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 92 out of 1000 SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_3 PREWHERE toLowCardinality(19) WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_41 PREWHERE toLowCardinality(toNullable('merge_expressions=0'), 19) WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_41 PREWHERE toLowCardinality(toNullable('merge_expressions=0'), 19) WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_41 PREWHERE toLowCardinality(toNullable('merge_expressions=0'), 19) WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 94 out of 1000 SELECT toLowCardinality(materialize(toUInt256(toLowCardinality(19))), 19), * FROM test_alias_skip_idx__fuzz_35 PREWHERE toLowCardinality(19) WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(materialize(toUInt256(toLowCardinality(19))), 19), * FROM test_alias_skip_idx__fuzz_35 PREWHERE toLowCardinality(19) WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(materialize(toUInt256(toLowCardinality(19))), 19), * FROM test_alias_skip_idx__fuzz_35 PREWHERE toLowCardinality(19) WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 95 out of 1000 SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_3 PREWHERE toLowCardinality(19) WHERE toLowCardinality(19) GROUP BY materialize(materialize(19)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_3 PREWHERE toLowCardinality(19) WHERE toLowCardinality(19) GROUP BY materialize(materialize(19)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Column default.test_alias_skip_idx__fuzz_3.c is not under aggregate function and not in GROUP BY keys. In query SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_3 PREWHERE toLowCardinality(19) WHERE toLowCardinality(19) GROUP BY materialize(materialize(19)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x000000001109825e 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001109733c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 96 out of 1000 SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_30 PREWHERE toLowCardinality(19) WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 97 out of 1000 SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_30 PREWHERE toLowCardinality(19) WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 98 out of 1000 SELECT toLowCardinality(19), * FROM test_alias_skip_idx__fuzz_30 PREWHERE toLowCardinality(19) WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 99 out of 1000 SELECT 19, * FROM test_alias_skip_idx__fuzz_14 PREWHERE toLowCardinality(19) WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 100 out of 1000 SELECT 19, * FROM test_alias_skip_idx__fuzz_30 PREWHERE toLowCardinality(19) WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 101 out of 1000 SELECT 19, * FROM test_alias_skip_idx__fuzz_21 PREWHERE toLowCardinality(19) WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 102 out of 1000 SELECT 19, * FROM test_alias_skip_idx__fuzz_14 PREWHERE toLowCardinality(19) WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 103 out of 1000 SELECT 19, * FROM test_alias_skip_idx__fuzz_14 PREWHERE toLowCardinality(19) WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 104 out of 1000 SELECT 19, * FROM test_alias_skip_idx__fuzz_14 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 105 out of 1000 SELECT 19, toUInt128(toUInt256(19)), * FROM test_alias_skip_idx__fuzz_14 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 106 out of 1000 SELECT 19, toUInt256(19), * FROM test_alias_skip_idx__fuzz_3 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 107 out of 1000 SELECT 19, toUInt256(19), * FROM test_alias_skip_idx__fuzz_41 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 108 out of 1000 SELECT 19, toUInt256(19), * FROM test_alias_skip_idx__fuzz_14 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 109 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_14 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 110 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_35 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 111 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_35 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_35 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 44 ('19'): 19, 19, * FROM test_alias_skip_idx__fuzz_35 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 112 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_35 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 113 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_35 PREWHERE toLowCardinality(toNullable('merge_expressions=0')) WHERE toLowCardinality(toUInt128(19)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_35 PREWHERE toLowCardinality(toNullable('merge_expressions=0')) WHERE toLowCardinality(toUInt128(19)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: LowCardinality(Nullable(String)). In query SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_35 PREWHERE toLowCardinality(toNullable('merge_expressions=0')) WHERE toLowCardinality(toUInt128(19)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 114 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_0 PREWHERE toUInt256(19) WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_0 PREWHERE toUInt256(19) WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Illegal type UInt256 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a55b3 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 115 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_35 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 116 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_35 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 117 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_37 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 118 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_37 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 119 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_21 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 120 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_21 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 121 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_21 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 122 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_21 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 123 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_0 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 124 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_35 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 125 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_3 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 126 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_41 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 127 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_41 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 128 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_41 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 129 out of 1000 EXPLAIN PIPELINE compact = true SELECT toUInt128(19), 19, * FROM test_alias_skip_idx__fuzz_25 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT toUInt128(19), 19, * FROM test_alias_skip_idx__fuzz_25 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 130 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_41 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 131 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_41 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 132 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 133 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_35 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 134 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_4 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 135 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_0 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 136 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_37 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 137 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_25 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 138 out of 1000 SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 EXPLAIN PIPELINE SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_21 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 140 out of 1000 EXPLAIN PIPELINE SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_21 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 141 out of 1000 EXPLAIN PIPELINE SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_21 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 142 out of 1000 EXPLAIN PIPELINE SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_21 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 143 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_21 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_21 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('19'): 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_21 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 144 out of 1000 EXPLAIN PIPELINE SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_21 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 145 out of 1000 EXPLAIN PIPELINE SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_21 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 146 out of 1000 EXPLAIN PIPELINE SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_21 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 147 out of 1000 EXPLAIN SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_21 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 148 out of 1000 EXPLAIN AST SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_21 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 149 out of 1000 EXPLAIN AST SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_21 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 150 out of 1000 SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_21 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 151 out of 1000 SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_37 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 152 out of 1000 SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_41 PREWHERE toLowCardinality(19) WHERE toNullable(materialize(toUInt256(19))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_41 PREWHERE toLowCardinality(19) WHERE toNullable(materialize(toUInt256(19))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt256) of column toNullable(materialize(_CAST('19'_UInt256, 'UInt256'_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x0000000012fcc497 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001316d043 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&) @ 0x000000001163a878 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>>&) @ 0x0000000011668f69 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662c15 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 10. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 11. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 153 out of 1000 SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_25 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 154 out of 1000 SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_3 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 155 out of 1000 SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_0 PREWHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 156 out of 1000 SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_3 PREWHERE toLowCardinality(materialize(19)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 157 out of 1000 SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_0 PREWHERE toLowCardinality(materialize(19)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 158 out of 1000 SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_0 WHERE toLowCardinality(materialize(19)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 159 out of 1000 SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_10 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 160 out of 1000 SELECT 19, toNullable(toUInt128(19)), * FROM test_alias_skip_idx__fuzz_10 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 161 out of 1000 SELECT 19, toNullable(toUInt128(19)), * FROM test_alias_skip_idx__fuzz_0 WHERE toLowCardinality(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 162 out of 1000 SELECT 19, toNullable(toUInt128(19)), * FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 163 out of 1000 SELECT 19, toNullable(19), * FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 164 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 165 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 166 out of 1000 SELECT 19, 19, * FROM test_alias_skip_idx__fuzz_30 PREWHERE toNullable(toLowCardinality(19)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 167 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE toNullable(toLowCardinality(19)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 168 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE toNullable(toLowCardinality(19)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 169 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable(toLowCardinality(19)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 170 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE toNullable(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 171 out of 1000 SELECT 19, toNullable(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE toNullable(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 172 out of 1000 SELECT 19, toNullable(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE toNullable(19) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 173 out of 1000 SELECT 19, toNullable(19) FROM test_alias_skip_idx__fuzz_0 PREWHERE toNullable(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 174 out of 1000 SELECT 19, toNullable(19) FROM test_alias_skip_idx__fuzz_21 PREWHERE toNullable(test_alias_skip_idx__fuzz_6, 19) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 19, toNullable(19) FROM test_alias_skip_idx__fuzz_21 PREWHERE toNullable(test_alias_skip_idx__fuzz_6, 19) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_6' in scope SELECT 19, toNullable(19) FROM test_alias_skip_idx__fuzz_21 PREWHERE toNullable(test_alias_skip_idx__fuzz_6, 19) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 175 out of 1000 SELECT 19, toNullable(toLowCardinality(19)) FROM test_alias_skip_idx__fuzz_14 WHERE toNullable(19) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 176 out of 1000 SELECT 19, toNullable(toLowCardinality(materialize(toLowCardinality(19)))) FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 177 out of 1000 SELECT 19, toNullable(materialize(toLowCardinality(19))) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 178 out of 1000 SELECT 19, materialize(toLowCardinality(19)) FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 179 out of 1000 SELECT 19, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 180 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 181 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 182 out of 1000 EXPLAIN optimize = true SELECT 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN optimize = true SELECT 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 183 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 184 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 185 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 186 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 187 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 188 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 189 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 190 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 191 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY materialize(toNullable(19)), 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 19, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY materialize(toNullable(19)), 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 19, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY materialize(toNullable(19)), 100 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 192 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 193 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 194 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 195 out of 1000 EXPLAIN ESTIMATE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 EXPLAIN ESTIMATE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 197 out of 1000 EXPLAIN ESTIMATE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 198 out of 1000 EXPLAIN PIPELINE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 199 out of 1000 EXPLAIN SYNTAX SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 200 out of 1000 EXPLAIN SYNTAX SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 201 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('19'): 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 202 out of 1000 EXPLAIN ESTIMATE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 203 out of 1000 EXPLAIN QUERY TREE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 204 out of 1000 EXPLAIN PIPELINE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 205 out of 1000 EXPLAIN QUERY TREE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 206 out of 1000 EXPLAIN ESTIMATE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 207 out of 1000 EXPLAIN ESTIMATE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 208 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('19'): 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 209 out of 1000 EXPLAIN ESTIMATE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 210 out of 1000 EXPLAIN PIPELINE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 211 out of 1000 EXPLAIN PIPELINE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 212 out of 1000 EXPLAIN PIPELINE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 213 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 214 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 9223372036854775807 Fuzzing step 215 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 216 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 217 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 218 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 219 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 220 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 221 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 222 out of 1000 EXPLAIN PIPELINE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 223 out of 1000 EXPLAIN PIPELINE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 224 out of 1000 EXPLAIN PIPELINE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 225 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 44 ('19'): 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 226 out of 1000 EXPLAIN AST SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 227 out of 1000 EXPLAIN AST SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 228 out of 1000 EXPLAIN SYNTAX SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 229 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('19'): 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 230 out of 1000 EXPLAIN SYNTAX SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 231 out of 1000 EXPLAIN AST SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 232 out of 1000 EXPLAIN AST SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 233 out of 1000 EXPLAIN AST SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 234 out of 1000 EXPLAIN AST SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 235 out of 1000 EXPLAIN AST SELECT 19, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 236 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 237 out of 1000 SELECT 19, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 238 out of 1000 SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 239 out of 1000 SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 240 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 241 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 242 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 243 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 244 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 245 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 246 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 247 out of 1000 EXPLAIN SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 248 out of 1000 EXPLAIN SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 249 out of 1000 EXPLAIN SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 250 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('toUInt256'): toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 251 out of 1000 EXPLAIN SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 252 out of 1000 EXPLAIN SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 253 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 44 ('toUInt256'): toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 254 out of 1000 EXPLAIN SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 255 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 256 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 257 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 258 out of 1000 EXPLAIN SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 259 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 EXPLAIN AST SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 261 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 262 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 263 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 264 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('toUInt256'): toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 265 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 266 out of 1000 SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 267 out of 1000 SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 10 Fuzzing step 268 out of 1000 EXPLAIN AST graph = true SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN AST graph = true SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 269 out of 1000 SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 270 out of 1000 SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 271 out of 1000 SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE c + 1 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE c + 1 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: LowCardinality(Nullable(Date)). In query SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE c + 1 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 272 out of 1000 SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 273 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT 19, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 274 out of 1000 SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 275 out of 1000 SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 276 out of 1000 SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 277 out of 1000 SELECT toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 278 out of 1000 SELECT toUInt256(19), toLowCardinality(toNullable(19)) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 279 out of 1000 SELECT 19, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 280 out of 1000 SELECT 19, 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 281 out of 1000 SELECT 19, 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 282 out of 1000 SELECT 19, 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 283 out of 1000 SELECT 19, 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 284 out of 1000 SELECT 19, toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 285 out of 1000 EXPLAIN ESTIMATE SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 286 out of 1000 EXPLAIN ESTIMATE SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 287 out of 1000 EXPLAIN ESTIMATE SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 288 out of 1000 EXPLAIN ESTIMATE SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 289 out of 1000 EXPLAIN ESTIMATE SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 290 out of 1000 EXPLAIN SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 291 out of 1000 EXPLAIN SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 292 out of 1000 EXPLAIN SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 293 out of 1000 EXPLAIN SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 294 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 295 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 296 out of 1000 EXPLAIN AST SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 EXPLAIN AST SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 298 out of 1000 EXPLAIN AST SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 299 out of 1000 EXPLAIN AST SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 300 out of 1000 EXPLAIN QUERY TREE SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 301 out of 1000 EXPLAIN QUERY TREE SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 302 out of 1000 EXPLAIN AST SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 303 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('toUInt128'): toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 304 out of 1000 EXPLAIN AST SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 305 out of 1000 EXPLAIN AST SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 306 out of 1000 EXPLAIN AST SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 307 out of 1000 EXPLAIN AST SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 308 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 309 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 310 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 311 out of 1000 SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 312 out of 1000 SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 313 out of 1000 SELECT toUInt128(19), toLowCardinality(100), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 314 out of 1000 SELECT toUInt128(19), toLowCardinality(100), 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 315 out of 1000 SELECT toUInt128(19), toLowCardinality(100), 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 316 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 317 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 318 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 319 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 320 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 321 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 322 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 323 out of 1000 EXPLAIN AST SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 324 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 326 out of 1000 EXPLAIN QUERY TREE SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 EXPLAIN QUERY TREE SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 328 out of 1000 EXPLAIN QUERY TREE SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 329 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 330 out of 1000 EXPLAIN QUERY TREE SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 331 out of 1000 EXPLAIN ESTIMATE SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 332 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('toUInt128'): toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 333 out of 1000 EXPLAIN ESTIMATE SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 334 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 335 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 336 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 337 out of 1000 EXPLAIN SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 338 out of 1000 EXPLAIN SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 339 out of 1000 EXPLAIN SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 340 out of 1000 EXPLAIN SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 341 out of 1000 EXPLAIN SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 342 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('toUInt128'): toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 343 out of 1000 EXPLAIN SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 344 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 345 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 346 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 347 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 348 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 349 out of 1000 EXPLAIN QUERY TREE SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 350 out of 1000 SELECT toUInt128(19), toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 351 out of 1000 SELECT 19, toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 352 out of 1000 SELECT 19, toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 353 out of 1000 SELECT 19, toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 354 out of 1000 SELECT 19, toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 355 out of 1000 SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 356 out of 1000 SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_6' in scope SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 357 out of 1000 SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 358 out of 1000 SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 359 out of 1000 SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 360 out of 1000 SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 361 out of 1000 SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_4 WHERE materialize('merge_expressions=0') SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_4 WHERE materialize('merge_expressions=0') SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: String. In query SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_4 WHERE materialize('merge_expressions=0') SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 362 out of 1000 SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 363 out of 1000 SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 364 out of 1000 SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 365 out of 1000 SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 366 out of 1000 SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 367 out of 1000 SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 368 out of 1000 SELECT toLowCardinality(100), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 369 out of 1000 SELECT toLowCardinality(100), toUInt128(toUInt128(100)), 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 370 out of 1000 SELECT toLowCardinality(toLowCardinality(100)), toUInt128(100), 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 SELECT toLowCardinality(toLowCardinality(100)), toUInt128(100), toUInt128(19) FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 372 out of 1000 SELECT toLowCardinality(toLowCardinality(100)), 100, toUInt128(19) FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 373 out of 1000 SELECT toLowCardinality(toLowCardinality(100)), 100, toUInt128(19) FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 374 out of 1000 SELECT toLowCardinality(toLowCardinality(100)), 100, toUInt128(19) FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 375 out of 1000 SELECT toLowCardinality(100), 100, toUInt128(19) FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 SELECT toLowCardinality(toLowCardinality(toNullable(100))), 100, toUInt128(19) FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 SELECT toLowCardinality(toLowCardinality(toNullable(100))), 100, toUInt128(19) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 SELECT toLowCardinality(toLowCardinality(toNullable(100))), 100, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(toLowCardinality(toUInt256(19))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(toLowCardinality(toNullable(100))), 100, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(toLowCardinality(toUInt256(19))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Illegal type UInt256 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a55b3 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 379 out of 1000 SELECT toLowCardinality(toLowCardinality(toNullable(100))), 100, toUInt128(19) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 380 out of 1000 SELECT toLowCardinality(toLowCardinality(toNullable(test_alias_skip_idx__fuzz_1, 100))), 100, toUInt128(19) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(toLowCardinality(toNullable(test_alias_skip_idx__fuzz_1, 100))), 100, toUInt128(19) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_1' in scope SELECT toLowCardinality(toLowCardinality(toNullable(test_alias_skip_idx__fuzz_1, 100))), 100, toUInt128(19) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 381 out of 1000 SELECT toLowCardinality(toLowCardinality(toNullable(100))), 100, toUInt128(19) FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 382 out of 1000 SELECT toLowCardinality(toNullable(100)), 100, toUInt128(19) FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 383 out of 1000 SELECT toLowCardinality(toNullable(100)), toNullable(toUInt256(100)), toUInt128(19) FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 384 out of 1000 SELECT toLowCardinality(toNullable(100)), toNullable(toUInt256(100)), toUInt128(19) FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 385 out of 1000 SELECT toLowCardinality(toNullable(100)), toUInt256(100), toUInt128(19) FROM test_alias_skip_idx__fuzz_35 PREWHERE toLowCardinality(materialize(19)) WHERE test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(toNullable(100)), toUInt256(100), toUInt128(19) FROM test_alias_skip_idx__fuzz_35 PREWHERE toLowCardinality(materialize(19)) WHERE test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_35' in scope SELECT toLowCardinality(toNullable(100)), toUInt256(100), toUInt128(19) FROM test_alias_skip_idx__fuzz_35 PREWHERE toLowCardinality(materialize(19)) WHERE test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 386 out of 1000 SELECT toLowCardinality(toNullable(100)), toUInt256(100), toUInt128(19) FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 387 out of 1000 SELECT toLowCardinality(toNullable(100)), toUInt256(100), toUInt128(19) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 2147483648 Fuzzing step 388 out of 1000 SELECT toLowCardinality(toNullable(100)), toUInt256(100), toUInt128(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 389 out of 1000 SELECT toLowCardinality(toNullable(100)), toUInt256(100), toUInt128(19) FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 390 out of 1000 SELECT toNullable(100), toUInt256(100), toUInt128(19) FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 391 out of 1000 SELECT toNullable(100), toUInt256(100), toUInt128(19) FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 392 out of 1000 SELECT toNullable(100), toUInt256(100), 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 EXPLAIN PIPELINE compact = true SELECT toNullable(100), toUInt256(100), 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT toNullable(100), toUInt256(100), 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 394 out of 1000 SELECT 100, toUInt256(100), 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 395 out of 1000 SELECT 100, toUInt256(100), 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 396 out of 1000 SELECT 100, toUInt256(100), 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 SELECT 100, toUInt256(100), 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 SELECT 100, toUInt256(100), 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 399 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 400 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 401 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 402 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('100'): 100, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 404 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 405 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 406 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 407 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 408 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 1048577 Fuzzing step 409 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 411 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 412 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 413 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 414 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 416 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 417 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 418 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 420 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_3 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 421 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 422 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 423 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 424 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_35 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 425 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_35 PREWHERE materialize(materialize(toLowCardinality(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 426 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 427 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 428 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 429 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 430 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 431 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 432 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 433 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 434 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY toNullable(toUInt256(19)), materialize(22), test_alias_skip_idx__fuzz_38, a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY toNullable(toUInt256(19)), materialize(22), test_alias_skip_idx__fuzz_38, a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 44 ('19'): 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY toNullable(toUInt256(19)), materialize(22), test_alias_skip_idx__fuzz_38, a > 100 SETTINGS query_plan_enable_optim. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 435 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 436 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 437 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 438 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 439 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 440 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 441 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 442 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY toNullable(materialize(toLowCardinality(toNullable(19), 19))), toUInt128(toUInt256(19)), test_alias_skip_idx__fuzz_33, test_alias_skip_idx__fuzz_43 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY toNullable(materialize(toLowCardinality(toNullable(19), 19))), toUInt128(toUInt256(19)), test_alias_skip_idx__fuzz_33, test_alias_skip_idx__fuzz_43 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY toNullable(materialize(toLowCardinality(toNullable(19), 19))), toUInt128(toUInt256(19)), test_alias_skip_idx__fuzz_33, test_alias_skip_idx__fuzz_43 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 443 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 444 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 446 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 65536 Fuzzing step 447 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 448 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 449 out of 1000 SELECT materialize(toLowCardinality(19)) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 450 out of 1000 SELECT materialize(toLowCardinality(19)) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 451 out of 1000 SELECT materialize(toLowCardinality(19)) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 452 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 453 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 454 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 455 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 456 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 457 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 458 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 459 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 460 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 461 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 462 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 463 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('toLowCardinality'): toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 464 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 465 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 466 out of 1000 EXPLAIN AST SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 467 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 468 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 469 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 470 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 471 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 472 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 473 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 474 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 475 out of 1000 EXPLAIN AST SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 476 out of 1000 EXPLAIN AST SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 477 out of 1000 EXPLAIN AST SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 478 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 479 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 480 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 481 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 482 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 483 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 484 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 485 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 486 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 SELECT toLowCardinality(19) FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 489 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 490 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 491 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 492 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 493 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 494 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 495 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 496 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_30 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 497 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 498 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 499 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 500 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 501 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 502 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 503 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 504 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 505 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 506 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 507 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 508 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 509 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 510 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 511 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 512 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 513 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 514 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 515 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 516 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 517 out of 1000 SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 518 out of 1000 SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 519 out of 1000 SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 520 out of 1000 SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_35 GROUP BY c, test_alias_skip_idx__fuzz_18, test_alias_skip_idx__fuzz_42 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_35 GROUP BY c, test_alias_skip_idx__fuzz_18, test_alias_skip_idx__fuzz_42 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_18' in scope SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_35 GROUP BY c, test_alias_skip_idx__fuzz_18, test_alias_skip_idx__fuzz_42 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 521 out of 1000 SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 522 out of 1000 SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_35 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 523 out of 1000 SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 524 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('100'): 100, 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 525 out of 1000 SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 526 out of 1000 SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 527 out of 1000 SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 528 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 1048577 Fuzzing step 529 out of 1000 SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 530 out of 1000 SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 531 out of 1000 SELECT 100, materialize(materialize(toUInt128(19))) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 532 out of 1000 SELECT 100, materialize(toUInt128(19)) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 533 out of 1000 SELECT 100, materialize(toUInt128(19)) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 534 out of 1000 SELECT 100, materialize(toUInt128(19)) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 535 out of 1000 SELECT 100, materialize(toUInt128(19)) FROM test_alias_skip_idx__fuzz_37 PREWHERE toLowCardinality(toNullable('merge_expressions=0')) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, materialize(toUInt128(19)) FROM test_alias_skip_idx__fuzz_37 PREWHERE toLowCardinality(toNullable('merge_expressions=0')) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: LowCardinality(Nullable(String)). In query SELECT 100, materialize(toUInt128(19)) FROM test_alias_skip_idx__fuzz_37 PREWHERE toLowCardinality(toNullable('merge_expressions=0')) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 536 out of 1000 SELECT 100, materialize(toUInt128(materialize(materialize(materialize(toUInt128(19))), 19), 19)) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, materialize(toUInt128(materialize(materialize(materialize(toUInt128(19))), 19), 19)) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 100, materialize(toUInt128(materialize(materialize(materialize(toUInt128(19))), 19), 19)) FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 537 out of 1000 SELECT 100, materialize(toUInt128(19)) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 538 out of 1000 SELECT 100, materialize(toUInt128(test_alias_skip_idx__fuzz_17, 19)) FROM test_alias_skip_idx__fuzz_4 GROUP BY 19, toNullable(toLowCardinality(toNullable(19))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, materialize(toUInt128(test_alias_skip_idx__fuzz_17, 19)) FROM test_alias_skip_idx__fuzz_4 GROUP BY 19, toNullable(toLowCardinality(toNullable(19))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_17' in scope SELECT 100, materialize(toUInt128(test_alias_skip_idx__fuzz_17, 19)) FROM test_alias_skip_idx__fuzz_4 GROUP BY 19, toNullable(toLowCardinality(toNullable(19))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 539 out of 1000 SELECT 100, materialize(toUInt128(19)) FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 540 out of 1000 EXPLAIN PIPELINE compact = true SELECT 100, materialize(toUInt128(19)) FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 100, materialize(toUInt128(19)) FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 541 out of 1000 SELECT 100, materialize(toUInt128(19)) FROM test_alias_skip_idx__fuzz_37 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 542 out of 1000 SELECT 100, toUInt128(19) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 543 out of 1000 SELECT materialize(toNullable(100)), toUInt128(19) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 544 out of 1000 SELECT materialize(toNullable(100)), toUInt128(19) FROM test_alias_skip_idx__fuzz_14 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 545 out of 1000 SELECT materialize(toNullable(100)), toUInt128(19) FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 546 out of 1000 SELECT materialize(toNullable(100)), toUInt128(19) FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 547 out of 1000 SELECT materialize(toNullable(100)), toUInt128(19) FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 548 out of 1000 SELECT materialize(test_alias_skip_idx__fuzz_5, toNullable(100)), toUInt128(19) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT materialize(test_alias_skip_idx__fuzz_5, toNullable(100)), toUInt128(19) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_5' in scope SELECT materialize(test_alias_skip_idx__fuzz_5, toNullable(100)), toUInt128(19) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 549 out of 1000 SELECT materialize(100), toUInt128(19) FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 550 out of 1000 SELECT materialize(100), toUInt128(19) FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 551 out of 1000 SELECT materialize(materialize(100)), toUInt128(19) FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 SELECT materialize(materialize(100)), toUInt128(19) FROM test_alias_skip_idx__fuzz_4 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 553 out of 1000 SELECT materialize(100), 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 554 out of 1000 SELECT materialize(100), 19 FROM test_alias_skip_idx__fuzz_4 WHERE test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT materialize(100), 19 FROM test_alias_skip_idx__fuzz_4 WHERE test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_10' in scope SELECT materialize(100), 19 FROM test_alias_skip_idx__fuzz_4 WHERE test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 555 out of 1000 SELECT materialize(100), 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 556 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 558 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_25 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 559 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 560 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 561 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 562 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_21 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 563 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 564 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 565 out of 1000 SELECT toNullable(100), 19 FROM test_alias_skip_idx__fuzz_0 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 566 out of 1000 SELECT toNullable(100), 19 FROM test_alias_skip_idx__fuzz_3 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 567 out of 1000 SELECT toNullable(100), 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 568 out of 1000 SELECT toNullable(100), 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 569 out of 1000 SELECT toNullable(100), 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 570 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 571 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 573 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 574 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 575 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_37 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 577 out of 1000 SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_37 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 578 out of 1000 SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_37 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 579 out of 1000 SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_25 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 580 out of 1000 SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 581 out of 1000 SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(100) GROUP BY 'merge_expressions=0', 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(100) GROUP BY 'merge_expressions=0', 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(100) GROUP BY 'merge_expressions=0', 100 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 582 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_21 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_21 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 584 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_21 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 585 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_21 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 586 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_21 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 587 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_21 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 588 out of 1000 SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_21 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_21 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_21 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), 100 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 589 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_21 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 590 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_21 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_21 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('100'): 100, toLowCardinality(19) FROM test_alias_skip_idx__fuzz_21 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 591 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 592 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 593 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 594 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), 100 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 595 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 596 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 597 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 598 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE materialize(100) GROUP BY toNullable('merge_expressions=0'), 100 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 599 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toNullable('merge_expressions=0')), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 600 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toNullable('merge_expressions=0')), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 601 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(materialize(100)) GROUP BY GROUPING SETS ( (toNullable('merge_expressions=0')), (100)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(materialize(100)) GROUP BY GROUPING SETS ((toNullable('merge_expressions=0')), (100)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(materialize(100)) GROUP BY GROUPING SETS ((toNullable('merge_expressions=0')), (100)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 602 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toNullable('merge_expressions=0')), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 603 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(100) GROUP BY GROUPING SETS ( ('merge_expressions=0'), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(100) GROUP BY GROUPING SETS ( ('merge_expressions=0'), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 605 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(100) GROUP BY GROUPING SETS ( ('merge_expressions=0'), (100)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(100) GROUP BY GROUPING SETS (('merge_expressions=0'), (100)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(100) GROUP BY GROUPING SETS (('merge_expressions=0'), (100)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 606 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(100) GROUP BY GROUPING SETS ( ('merge_expressions=0'), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 607 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(100) GROUP BY GROUPING SETS ( ('merge_expressions=0'), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 608 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 609 out of 1000 EXPLAIN PIPELINE compact = true SELECT 100, 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 100, 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE materialize(100) GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19)), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 610 out of 1000 SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS ( ('merge_expressions=0', 19), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS (('merge_expressions=0', 19), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS (('merge_expressions=0', 19), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 611 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(toLowCardinality(100))))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 612 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(toLowCardinality(test_alias_skip_idx__fuzz_36, 100))))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19)), (materialize(materialize(toLowCardinality(test_alias_skip_idx__fuzz_36, 100))))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_36' in scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19)), (materialize(materialize(toLowCardinality(test_alias_skip_idx__fuzz_36, 100))))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 613 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS ( ('merge_expressions=0', 19), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS (('merge_expressions=0', 19), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS (('merge_expressions=0', 19), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 614 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(toLowCardinality(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toFixedString(test_alias_skip_idx__fuzz_41, 'merge_expressions=0', 19)), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS ((toFixedString(test_alias_skip_idx__fuzz_41, 'merge_expressions=0', 19)), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_41' in scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS ((toFixedString(test_alias_skip_idx__fuzz_41, 'merge_expressions=0', 19)), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 616 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(100) GROUP BY GROUPING SETS ( ('merge_expressions=0', 19), (toLowCardinality(100))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(100) GROUP BY GROUPING SETS (('merge_expressions=0', 19), (toLowCardinality(100))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(100) GROUP BY GROUPING SETS (('merge_expressions=0', 19), (toLowCardinality(100))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 617 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(100) GROUP BY GROUPING SETS ( ('merge_expressions=0', 19), (materialize(toLowCardinality(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(100) GROUP BY GROUPING SETS (('merge_expressions=0', 19), (materialize(toLowCardinality(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(100) GROUP BY GROUPING SETS (('merge_expressions=0', 19), (materialize(toLowCardinality(100)))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 618 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE materialize(100) WHERE test_alias_skip_idx__fuzz_21 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(toLowCardinality(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE materialize(100) WHERE test_alias_skip_idx__fuzz_21 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19)), (materialize(toLowCardinality(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_21' in scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE materialize(100) WHERE test_alias_skip_idx__fuzz_21 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19)), (materialize(toLowCardinality(100)))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 619 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 620 out of 1000 SELECT 100, toUInt256(19) FROM test_alias_skip_idx__fuzz_0 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 621 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 622 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 623 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS ( ('merge_expressions=0', 19), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS (('merge_expressions=0', 19), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 624 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 625 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS ( ('merge_expressions=0', 19), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS (('merge_expressions=0', 19), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS (('merge_expressions=0', 19), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 626 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toFixedString(materialize(19), 'merge_expressions=0', 19)), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE materialize(100) GROUP BY GROUPING SETS ((toFixedString(materialize(19), 'merge_expressions=0', 19)), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE materialize(100) GROUP BY GROUPING SETS ((toFixedString(materialize(19), 'merge_expressions=0', 19)), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 627 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toFixedString(toLowCardinality(toLowCardinality('merge_expressions=0')), 'merge_expressions=0', 19)), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS ((toFixedString(toLowCardinality(toLowCardinality('merge_expressions=0')), 'merge_expressions=0', 19)), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE materialize(100) GROUP BY GROUPING SETS ((toFixedString(toLowCardinality(toLowCardinality('merge_expressions=0')), 'merge_expressions=0', 19)), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 628 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toFixedString(toLowCardinality('merge_expressions=0'), 19)), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 629 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toFixedString(toLowCardinality('merge_expressions=0'), 19)), (materialize(toLowCardinality(toUInt256(100))))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 630 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(100) GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(toLowCardinality(toUInt256(materialize(100)))))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 631 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(toLowCardinality(materialize(100))))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 632 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_3 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 633 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_21 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 634 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_3 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(toLowCardinality(toNullable(19)), materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_3 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19)), (materialize(toLowCardinality(toNullable(19)), materialize(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_3 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19)), (materialize(toLowCardinality(toNullable(19)), materialize(100)))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 635 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 636 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 637 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 638 out of 1000 EXPLAIN SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 639 out of 1000 EXPLAIN PIPELINE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 640 out of 1000 EXPLAIN PIPELINE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 641 out of 1000 EXPLAIN PIPELINE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 642 out of 1000 EXPLAIN PIPELINE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 643 out of 1000 EXPLAIN ESTIMATE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 644 out of 1000 EXPLAIN QUERY TREE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 645 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('100'): 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19)), (materialize(materialize(100))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 646 out of 1000 EXPLAIN QUERY TREE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 647 out of 1000 EXPLAIN ESTIMATE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 648 out of 1000 EXPLAIN ESTIMATE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 649 out of 1000 EXPLAIN ESTIMATE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 650 out of 1000 EXPLAIN SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 651 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('100'): 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19)), (materialize(materialize(100))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 652 out of 1000 EXPLAIN AST SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 653 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 654 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( ('merge_expressions=0', 19), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS (('merge_expressions=0', 19), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS (('merge_expressions=0', 19), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 655 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 656 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_30 GROUP BY GROUPING SETS ( ('merge_expressions=0', 19), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_30 GROUP BY GROUPING SETS (('merge_expressions=0', 19), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_30 GROUP BY GROUPING SETS (('merge_expressions=0', 19), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 657 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 658 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 659 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (materialize('merge_expressions=0'), 19), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((materialize('merge_expressions=0'), 19), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((materialize('merge_expressions=0'), 19), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 660 out of 1000 EXPLAIN PIPELINE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 661 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('100'): 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(mater. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 662 out of 1000 EXPLAIN SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 663 out of 1000 EXPLAIN AST SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 664 out of 1000 EXPLAIN AST SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 665 out of 1000 EXPLAIN QUERY TREE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 666 out of 1000 EXPLAIN AST SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 667 out of 1000 EXPLAIN AST SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 668 out of 1000 EXPLAIN ESTIMATE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 669 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 670 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 671 out of 1000 EXPLAIN PIPELINE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 672 out of 1000 EXPLAIN SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 673 out of 1000 EXPLAIN AST SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 674 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 675 out of 1000 EXPLAIN ESTIMATE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 676 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('100'): 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(mater. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 677 out of 1000 EXPLAIN AST SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 679 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 680 out of 1000 EXPLAIN AST SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 681 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('100'): 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(mater. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 682 out of 1000 EXPLAIN AST SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 683 out of 1000 EXPLAIN PIPELINE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 684 out of 1000 EXPLAIN PIPELINE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 685 out of 1000 EXPLAIN PIPELINE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 686 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 687 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 688 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('100'): 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(mater. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 689 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 690 out of 1000 EXPLAIN PIPELINE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 691 out of 1000 EXPLAIN PIPELINE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 692 out of 1000 EXPLAIN PIPELINE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 693 out of 1000 EXPLAIN AST SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 694 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('100'): 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(mater. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 695 out of 1000 EXPLAIN AST SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 696 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('100'): 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(mater. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 697 out of 1000 EXPLAIN AST SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 698 out of 1000 EXPLAIN AST SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 699 out of 1000 EXPLAIN PIPELINE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 700 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('100'): 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(mater. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 701 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 702 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 703 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 704 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 705 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 706 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 707 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 708 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 709 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 710 out of 1000 EXPLAIN QUERY TREE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 711 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('100'): 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(mater. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 712 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 713 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, materialize(19) FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('100'): 100, materialize(19) FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (mate. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 714 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 715 out of 1000 SELECT toNullable(100), 19 FROM test_alias_skip_idx__fuzz_21 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 716 out of 1000 SELECT toNullable(100), 19 FROM test_alias_skip_idx__fuzz_3 GROUP BY GROUPING SETS ( (materialize('merge_expressions=0'), 19), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toNullable(100), 19 FROM test_alias_skip_idx__fuzz_3 GROUP BY GROUPING SETS ((materialize('merge_expressions=0'), 19), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(100), 19 FROM test_alias_skip_idx__fuzz_3 GROUP BY GROUPING SETS ((materialize('merge_expressions=0'), 19), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 717 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_21 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 718 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 719 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_30 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 720 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 721 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 722 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_30 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 723 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_30 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19)), (materialize(100))) SETTINGS query_plan_enable_optimizations = 1048576 Fuzzing step 724 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 725 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toUInt128(100) GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toUInt128(100) GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Illegal type UInt128 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a55b3 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 726 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 727 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 728 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 729 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 730 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_21 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_21 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 731 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19)), (materialize(materialize(a > toLowCardinality(toUInt256(100)), 100)))) SETTINGS query_plan_enable_optimizations = 2147483648 Fuzzing step 732 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), materialize(materialize(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 733 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), materialize(materialize(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 734 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), materialize(100) WITH CUBE SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 735 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), materialize(100) WITH ROLLUP WITH CUBE SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), materialize(100) WITH ROLLUP WITH CUBE SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 179 ('CUBE'): CUBE SETTINGS query_plan_enable_optimizations = 0. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 736 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY materialize('merge_expressions=0'), 19, materialize(100) WITH CUBE SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY materialize('merge_expressions=0'), 19, materialize(100) WITH CUBE SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY materialize('merge_expressions=0'), 19, materialize(100) WITH CUBE SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 737 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), materialize(100) WITH CUBE SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 738 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), materialize(100) WITH CUBE SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 739 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 100 WITH CUBE SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 100 WITH CUBE SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 100 WITH CUBE SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 740 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), materialize(toUInt128(100)) WITH CUBE SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 741 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), materialize(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 742 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), materialize(test_alias_skip_idx__fuzz_26, toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), materialize(test_alias_skip_idx__fuzz_26, toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_26' in scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), materialize(test_alias_skip_idx__fuzz_26, toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 743 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY materialize('merge_expressions=0'), 19, toUInt128(100) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY materialize('merge_expressions=0'), 19, toUInt128(100) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY materialize('merge_expressions=0'), 19, toUInt128(100) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 744 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), materialize(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 745 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), materialize(toUInt128(18, 100)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), materialize(toUInt128(18, 100)) SETTINGS query_plan_enable_optimizations = 0': 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 100, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), materialize(toUInt128(18, 100)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 746 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_21 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 747 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY 'merge_expressions=0', 19, materialize(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY 'merge_expressions=0', 19, materialize(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY 'merge_expressions=0', 19, materialize(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 748 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_21 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, 19 FROM test_alias_skip_idx__fuzz_21 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('100'): 100, 19 FROM test_alias_skip_idx__fuzz_21 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toUInt128(100)) SETTINGS quer. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 749 out of 1000 SELECT 100, 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY toFixedString('merge_expressions=0', 19), materialize(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 750 out of 1000 SELECT toNullable(100), 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY toFixedString('merge_expressions=0', 19), materialize(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 751 out of 1000 SELECT toNullable(100), 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY toFixedString('merge_expressions=0', 19), materialize(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 752 out of 1000 SELECT toNullable(100), 19 FROM test_alias_skip_idx__fuzz_30 GROUP BY toFixedString('merge_expressions=0', 19), 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toNullable(100), 19 FROM test_alias_skip_idx__fuzz_30 GROUP BY toFixedString('merge_expressions=0', 19), 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(100), 19 FROM test_alias_skip_idx__fuzz_30 GROUP BY toFixedString('merge_expressions=0', 19), 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 753 out of 1000 SELECT toNullable(toLowCardinality(100)), 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY toFixedString('merge_expressions=0', 19), materialize(materialize(toNullable(100))) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 754 out of 1000 SELECT toNullable(toLowCardinality(100)), 19 FROM test_alias_skip_idx__fuzz_41 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toNullable(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 755 out of 1000 SELECT toNullable(toLowCardinality(100)), 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toNullable(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 756 out of 1000 SELECT toNullable(toLowCardinality(toLowCardinality(100))), 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toNullable(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 757 out of 1000 SELECT toNullable(toLowCardinality(toLowCardinality(100))), 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toNullable(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 758 out of 1000 SELECT toNullable(toLowCardinality(toLowCardinality(100))), 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toNullable(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 759 out of 1000 SELECT toLowCardinality(toLowCardinality(100)), toFixedString(toLowCardinality('merge_expressions=0'), toLowCardinality(19)), 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toNullable(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 760 out of 1000 SELECT toLowCardinality(toLowCardinality(100)), toFixedString(toLowCardinality('merge_expressions=0'), toLowCardinality(19)), 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toNullable(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 761 out of 1000 SELECT toLowCardinality(toLowCardinality(100)), toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toNullable(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 762 out of 1000 SELECT toLowCardinality(toLowCardinality(100)), toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toNullable(toUInt256(19), 100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(toLowCardinality(100)), toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toNullable(toUInt256(19), 100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(toLowCardinality(100)), toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toNullable(toUInt256(19), 100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 763 out of 1000 SELECT toLowCardinality(toLowCardinality(100)), toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toNullable(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 764 out of 1000 SELECT toLowCardinality(toLowCardinality(100)), toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY toFixedString('merge_expressions=0', 19), materialize(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 765 out of 1000 SELECT toLowCardinality(toLowCardinality(100)), toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY toFixedString('merge_expressions=0', 19), 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(toLowCardinality(100)), toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY toFixedString('merge_expressions=0', 19), 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT toLowCardinality(toLowCardinality(100)), toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY toFixedString('merge_expressions=0', 19), 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 766 out of 1000 SELECT toLowCardinality(100), toFixedString(toLowCardinality('merge_expressions=0'), toLowCardinality(materialize(toLowCardinality(19))), 19), 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY toFixedString('merge_expressions=0', 19), materialize(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(100), toFixedString(toLowCardinality('merge_expressions=0'), toLowCardinality(materialize(toLowCardinality(19))), 19), 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY toFixedString('merge_expressions=0', 19), materialize(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope SELECT toLowCardinality(100), toFixedString(toLowCardinality('merge_expressions=0'), toLowCardinality(materialize(toLowCardinality(19))), 19), 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY toFixedString('merge_expressions=0', 19), materialize(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 767 out of 1000 SELECT toLowCardinality(toLowCardinality(materialize(18, 'merge_expressions=0'), 100)), test_alias_skip_idx__fuzz_6, toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY toFixedString('merge_expressions=0', toUInt256(19)), materialize(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(toLowCardinality(materialize(18, 'merge_expressions=0'), 100)), test_alias_skip_idx__fuzz_6, toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY toFixedString('merge_expressions=0', toUInt256(19)), materialize(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(toLowCardinality(materialize(18, 'merge_expressions=0'), 100)), test_alias_skip_idx__fuzz_6, toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY toFixedString('merge_expressions=0', toUInt256(19)), materialize(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 768 out of 1000 SELECT toLowCardinality(toLowCardinality(100)), toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY toFixedString('merge_expressions=0', 19), materialize(materialize(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 769 out of 1000 SELECT toLowCardinality(toLowCardinality(100)), toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_21 GROUP BY toFixedString('merge_expressions=0', 19), materialize(materialize(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 770 out of 1000 SELECT toLowCardinality(toLowCardinality(100)), toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY toFixedString('merge_expressions=0', 19), materialize(materialize(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 771 out of 1000 SELECT toLowCardinality(toLowCardinality(100)), toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY toFixedString('merge_expressions=0', 19), materialize(materialize(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 772 out of 1000 SELECT toLowCardinality(100), toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY toFixedString('merge_expressions=0', 19), materialize(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 773 out of 1000 SELECT toLowCardinality(100), toFixedString(toLowCardinality('merge_expressions=0'), 19), 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toUInt256(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 774 out of 1000 SELECT toLowCardinality(100), toFixedString('merge_expressions=0', 19), 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toUInt256(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 775 out of 1000 SELECT 100, toFixedString('merge_expressions=0', 19), 19 FROM test_alias_skip_idx__fuzz_10 GROUP BY toFixedString('merge_expressions=0', 19), materialize(toUInt256(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 776 out of 1000 SELECT 100, toFixedString('merge_expressions=0', 19), 19 FROM test_alias_skip_idx__fuzz_3 GROUP BY toFixedString('merge_expressions=0', 19), toUInt256(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 777 out of 1000 SELECT 100, toFixedString('merge_expressions=0', 19), 19 FROM test_alias_skip_idx__fuzz_21 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, toFixedString('merge_expressions=0', 19), 19 FROM test_alias_skip_idx__fuzz_21 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 778 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toFixedString('merge_expressions=0', test_alias_skip_idx__fuzz_0, 19), 19 FROM test_alias_skip_idx__fuzz_21 GROUP BY toFixedString('merge_expressions=0', 19), toUInt256(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toFixedString('merge_expressions=0', test_alias_skip_idx__fuzz_0, 19), 19 FROM test_alias_skip_idx__fuzz_21 GROUP BY toFixedString('merge_expressions=0', 19), toUInt256(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 46 ('100'): 100, toFixedString('merge_expressions=0', test_alias_skip_idx__fuzz_0, 19), 19 FROM test_alias_skip_idx__fuzz_21 GROUP BY toFixedString('me. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 779 out of 1000 SELECT 100, toFixedString('merge_expressions=0', 19), 19 FROM test_alias_skip_idx__fuzz_3 GROUP BY toFixedString('merge_expressions=0', 19), toUInt256(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 780 out of 1000 SELECT 100, toFixedString('merge_expressions=0', 19), 19 FROM test_alias_skip_idx__fuzz_3 GROUP BY 'merge_expressions=0', 19, 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, toFixedString('merge_expressions=0', 19), 19 FROM test_alias_skip_idx__fuzz_3 GROUP BY 'merge_expressions=0', 19, 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toFixedString('merge_expressions=0', 19), 19 FROM test_alias_skip_idx__fuzz_3 GROUP BY 'merge_expressions=0', 19, 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 781 out of 1000 SELECT 100, toFixedString('merge_expressions=0', 19), 19 FROM test_alias_skip_idx__fuzz_3 WHERE toNullable(toLowCardinality(toNullable(19))) GROUP BY toFixedString('merge_expressions=0', toLowCardinality(toUInt128(19))), toUInt256(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 782 out of 1000 SELECT 100, toFixedString('merge_expressions=0', 19), 19 FROM test_alias_skip_idx__fuzz_3 WHERE toNullable(toLowCardinality(toNullable(19))) GROUP BY toFixedString('merge_expressions=0', toLowCardinality(toUInt128(19))), 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, toFixedString('merge_expressions=0', 19), 19 FROM test_alias_skip_idx__fuzz_3 WHERE toNullable(toLowCardinality(toNullable(19))) GROUP BY toFixedString('merge_expressions=0', toLowCardinality(toUInt128(19))), 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toFixedString('merge_expressions=0', 19), 19 FROM test_alias_skip_idx__fuzz_3 WHERE toNullable(toLowCardinality(toNullable(19))) GROUP BY toFixedString('merge_expressions=0', toLowCardinality(toUInt128(19))), 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 783 out of 1000 SELECT 100, toFixedString('merge_expressions=0', 19), 19 FROM test_alias_skip_idx__fuzz_3 WHERE toNullable(toNullable(19)) GROUP BY 'merge_expressions=0', toLowCardinality(toUInt128(19)), toUInt256(materialize(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 784 out of 1000 SELECT 100, toFixedString('merge_expressions=0', 19), 19 FROM test_alias_skip_idx__fuzz_3 WHERE toNullable(toNullable(19)) GROUP BY 'merge_expressions=0', toLowCardinality(toUInt128(19)), toUInt256(materialize(100)) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 785 out of 1000 SELECT 100, toFixedString('merge_expressions=0', 19), 19 FROM test_alias_skip_idx__fuzz_0 WHERE toNullable(toNullable(19)) GROUP BY 'merge_expressions=0', toLowCardinality(toUInt128(19)), materialize(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 786 out of 1000 EXPLAIN PIPELINE SELECT 100, toFixedString('merge_expressions=0', toUInt256(19)), 19 FROM test_alias_skip_idx__fuzz_37 WHERE toNullable(toNullable(19)) GROUP BY 'merge_expressions=0', toLowCardinality(toUInt128(19)), materialize(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 787 out of 1000 EXPLAIN PIPELINE SELECT 100, toFixedString('merge_expressions=0', toUInt256(19)), 19 FROM test_alias_skip_idx__fuzz_37 WHERE toNullable(toNullable(19)) GROUP BY 'merge_expressions=0', toLowCardinality(toUInt128(19)), materialize(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 788 out of 1000 SELECT 100, toFixedString('merge_expressions=0', toUInt256(19)), 19 FROM test_alias_skip_idx__fuzz_0 WHERE toNullable(toNullable(19)) GROUP BY 'merge_expressions=0', toLowCardinality(toUInt128(19)), materialize(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 789 out of 1000 SELECT 100, toFixedString('merge_expressions=0', toUInt256(19)), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(19) WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(toUInt128(19)), 100 WITH ROLLUP WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, toFixedString('merge_expressions=0', toUInt256(19)), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(19) WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(toUInt128(19)), 100 WITH ROLLUP WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 297 ('CUBE'): CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 790 out of 1000 SELECT 100, toFixedString('merge_expressions=0', toUInt256(19)), 19 FROM test_alias_skip_idx__fuzz_0 WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(19), materialize(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 791 out of 1000 SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_0 WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(19), materialize(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 792 out of 1000 SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_4 WHERE toNullable(19) GROUP BY 'merge_expressions=0', 19, 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_4 WHERE toNullable(19) GROUP BY 'merge_expressions=0', 19, 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_4 WHERE toNullable(19) GROUP BY 'merge_expressions=0', 19, 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 793 out of 1000 SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(19), materialize(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_21 WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(19), materialize(toUInt128(100)) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 795 out of 1000 SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_21 WHERE toNullable(19) GROUP BY 'merge_expressions=0', 19, materialize(toUInt128(100)) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_21 WHERE toNullable(19) GROUP BY 'merge_expressions=0', 19, materialize(toUInt128(100)) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_21 WHERE toNullable(19) GROUP BY 'merge_expressions=0', 19, materialize(toUInt128(100)) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 796 out of 1000 SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_21 WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(19), materialize(toUInt128(100)) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 797 out of 1000 SELECT 100, 'merge_expressions=0', toUInt256(19), toUInt128(19) FROM test_alias_skip_idx__fuzz_21 WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(19), materialize(toUInt128(100)) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 798 out of 1000 SELECT 100, 'merge_expressions=0', toUInt256(19), toUInt128(19) FROM test_alias_skip_idx__fuzz_10 WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(19), materialize(toUInt128(100)) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 799 out of 1000 SELECT 100, 'merge_expressions=0', toUInt256(19), toUInt128(19) FROM test_alias_skip_idx__fuzz_10 WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 SELECT 100, 'merge_expressions=0', toUInt256(19), toUInt128(19) FROM test_alias_skip_idx__fuzz_0 WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 801 out of 1000 SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_41 WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 802 out of 1000 SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_41 WHERE toNullable(19) GROUP BY 'merge_expressions=0', 19, 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_41 WHERE toNullable(19) GROUP BY 'merge_expressions=0', 19, 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_41 WHERE toNullable(19) GROUP BY 'merge_expressions=0', 19, 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 803 out of 1000 SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_3 WHERE toNullable(19) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_3 WHERE toNullable(19) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_3 WHERE toNullable(19) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 804 out of 1000 SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_41 WHERE toNullable('enable_optimizations=0', 19) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_41 WHERE toNullable('enable_optimizations=0', 19) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_41 WHERE toNullable('enable_optimizations=0', 19) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 805 out of 1000 SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_41 WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(19), 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_41 WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(19), 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_41 WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(19), 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 806 out of 1000 SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_41 WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 807 out of 1000 SELECT 100, 'merge_expressions=0', toUInt256(19), 19 FROM test_alias_skip_idx__fuzz_14 WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 808 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_41 WHERE toNullable(19) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 809 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_0 GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 810 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY 'merge_expressions=0', toLowCardinality(toFixedString(toLowCardinality('merge_expressions=0'), toLowCardinality(19)), 19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY 'merge_expressions=0', toLowCardinality(toFixedString(toLowCardinality('merge_expressions=0'), toLowCardinality(19)), 19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY 'merge_expressions=0', toLowCardinality(toFixedString(toLowCardinality('merge_expressions=0'), toLowCardinality(19)), 19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 811 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY 'merge_expressions=0', toLowCardinality(19), 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY 'merge_expressions=0', toLowCardinality(19), 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_14 GROUP BY 'merge_expressions=0', toLowCardinality(19), 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 812 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 813 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_37 GROUP BY 'merge_expressions=0', 19, toUInt128(materialize(100)) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_37 GROUP BY 'merge_expressions=0', 19, toUInt128(materialize(100)) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_37 GROUP BY 'merge_expressions=0', 19, toUInt128(materialize(100)) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 814 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 815 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_21 GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 816 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 817 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY 'merge_expressions=0', toLowCardinality(19), 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY 'merge_expressions=0', toLowCardinality(19), 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY 'merge_expressions=0', toLowCardinality(19), 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 818 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(test_alias_skip_idx__fuzz_39, 100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(test_alias_skip_idx__fuzz_39, 100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_39' in scope SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_25 GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(test_alias_skip_idx__fuzz_39, 100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 819 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_4 GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 820 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_30 GROUP BY 'merge_expressions=0', toLowCardinality(19), 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_30 GROUP BY 'merge_expressions=0', toLowCardinality(19), 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_30 GROUP BY 'merge_expressions=0', toLowCardinality(19), 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 821 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_35 GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 822 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 823 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 824 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 825 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 826 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(toLowCardinality(19)), 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(toLowCardinality(19)), 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(toLowCardinality(19)), 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 827 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(test_alias_skip_idx__fuzz_12, toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(test_alias_skip_idx__fuzz_12, toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_12' in scope SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(test_alias_skip_idx__fuzz_12, toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 828 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 829 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 1048575 Fuzzing step 830 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(toNullable(toUInt128(100))) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 831 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(toNullable(toUInt128(100))) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 832 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(toNullable(toUInt128(100))) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(toNullable(toUInt128(100))) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(toNullable(toUInt128(100))) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 833 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_30 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(toNullable(toUInt128(100))) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 834 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(toNullable(100)) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 835 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(toNullable(100)) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 836 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(toNullable(100)) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(toNullable(100)) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(toNullable(100)) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 837 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(toNullable(100)) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 838 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(toNullable(100)) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 839 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 840 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_14 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, 100 WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 841 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', 19, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 842 out of 1000 SELECT 100, 'merge_expressions=0', toLowCardinality(19), 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 843 out of 1000 SELECT 100, 'merge_expressions=0', toLowCardinality(19), 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', toLowCardinality(19), 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 'merge_expressions=0', toLowCardinality(19), 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 844 out of 1000 EXPLAIN QUERY TREE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 845 out of 1000 EXPLAIN QUERY TREE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 846 out of 1000 EXPLAIN PIPELINE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 847 out of 1000 EXPLAIN SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 848 out of 1000 EXPLAIN SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 849 out of 1000 EXPLAIN ESTIMATE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 850 out of 1000 EXPLAIN ESTIMATE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 851 out of 1000 EXPLAIN ESTIMATE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 852 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('100'): 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 853 out of 1000 EXPLAIN ESTIMATE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 854 out of 1000 EXPLAIN ESTIMATE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 855 out of 1000 EXPLAIN ESTIMATE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 856 out of 1000 EXPLAIN PIPELINE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 857 out of 1000 EXPLAIN PIPELINE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 858 out of 1000 EXPLAIN PIPELINE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 859 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('100'): 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 860 out of 1000 EXPLAIN PIPELINE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 861 out of 1000 EXPLAIN SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 862 out of 1000 EXPLAIN ESTIMATE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 863 out of 1000 EXPLAIN ESTIMATE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 864 out of 1000 EXPLAIN ESTIMATE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 865 out of 1000 EXPLAIN ESTIMATE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 866 out of 1000 SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(toLowCardinality(22)) WHERE toFixedString('merge_expressions=0') GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 10 Fuzzing step 867 out of 1000 EXPLAIN ESTIMATE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 868 out of 1000 EXPLAIN PIPELINE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 869 out of 1000 EXPLAIN PIPELINE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 870 out of 1000 EXPLAIN QUERY TREE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 871 out of 1000 EXPLAIN PIPELINE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 872 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('100'): 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 873 out of 1000 EXPLAIN PIPELINE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 874 out of 1000 EXPLAIN PIPELINE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 875 out of 1000 EXPLAIN PIPELINE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 876 out of 1000 EXPLAIN PIPELINE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 877 out of 1000 EXPLAIN PIPELINE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 878 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 46 ('100'): 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 879 out of 1000 EXPLAIN PIPELINE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 880 out of 1000 EXPLAIN PIPELINE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 881 out of 1000 EXPLAIN PIPELINE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 882 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('100'): 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 883 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('100'): 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 884 out of 1000 EXPLAIN AST SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 885 out of 1000 EXPLAIN ESTIMATE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 886 out of 1000 EXPLAIN ESTIMATE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 887 out of 1000 EXPLAIN ESTIMATE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 888 out of 1000 EXPLAIN ESTIMATE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 889 out of 1000 EXPLAIN SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 890 out of 1000 EXPLAIN SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 891 out of 1000 EXPLAIN SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 892 out of 1000 EXPLAIN ESTIMATE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 893 out of 1000 EXPLAIN QUERY TREE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 894 out of 1000 EXPLAIN QUERY TREE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 895 out of 1000 EXPLAIN SYNTAX SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 896 out of 1000 EXPLAIN AST SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 897 out of 1000 EXPLAIN SYNTAX SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 898 out of 1000 EXPLAIN SYNTAX SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 899 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('100'): 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 900 out of 1000 EXPLAIN SYNTAX SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 901 out of 1000 EXPLAIN SYNTAX SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 902 out of 1000 EXPLAIN SYNTAX SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 903 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 46 ('100'): 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 904 out of 1000 EXPLAIN SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 905 out of 1000 EXPLAIN AST SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 906 out of 1000 EXPLAIN AST SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 907 out of 1000 EXPLAIN AST SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 908 out of 1000 EXPLAIN SYNTAX SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 909 out of 1000 EXPLAIN SYNTAX SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 910 out of 1000 EXPLAIN SYNTAX SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 911 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('100'): 100, 'merge_expressions=0', 19, materialize(toUInt256(19)) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 912 out of 1000 SELECT 100, 'merge_expressions=0', 19, materialize(19) FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(toLowCardinality(22)) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 913 out of 1000 SELECT 100, materialize('merge_expressions=0'), 19, 22, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 914 out of 1000 SELECT 100, 'merge_expressions=0', 19, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 915 out of 1000 SELECT 100, 'merge_expressions=0', 19, toLowCardinality(22), 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 916 out of 1000 SELECT 100, 'merge_expressions=0', 19, toLowCardinality(22), 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, toLowCardinality(22), 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 5]. In scope SELECT 100, 'merge_expressions=0', 19, toLowCardinality(22), 19 FROM test_alias_skip_idx__fuzz_0 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH CUBE WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 917 out of 1000 SELECT 100, 'merge_expressions=0', 19, toLowCardinality(22), 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 918 out of 1000 SELECT 100, 'merge_expressions=0', 19, toLowCardinality(22), 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(toFixedString('merge_expressions=0', toLowCardinality(toUInt128(19))), 19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, toLowCardinality(22), 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(toFixedString('merge_expressions=0', toLowCardinality(toUInt128(19))), 19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 100, 'merge_expressions=0', 19, toLowCardinality(22), 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(toFixedString('merge_expressions=0', toLowCardinality(toUInt128(19))), 19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 919 out of 1000 SELECT 100, toLowCardinality(toUInt256(22)), 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(toLowCardinality(19)), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 920 out of 1000 SELECT 100, toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(1, toLowCardinality(19)), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(1, toLowCardinality(19)), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 100, toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_10 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(1, toLowCardinality(19)), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 921 out of 1000 SELECT 100, toLowCardinality(toUInt256(22)), 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 922 out of 1000 SELECT 100, toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 923 out of 1000 SELECT 100, toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 924 out of 1000 SELECT 100, toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 925 out of 1000 SELECT 100, toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 926 out of 1000 SELECT 100, toUInt256(test_alias_skip_idx__fuzz_43, 22), 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, toUInt256(test_alias_skip_idx__fuzz_43, 22), 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_43' in scope SELECT 100, toUInt256(test_alias_skip_idx__fuzz_43, 22), 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', 19, toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 927 out of 1000 SELECT 100, toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE toNullable(toUInt128(22)) WHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE toNullable(toUInt128(22)) WHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt128) of column 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a563d 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 928 out of 1000 SELECT toLowCardinality(100), toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(19), 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(100), toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(19), 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT toLowCardinality(100), toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_37 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(19), 100 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 929 out of 1000 SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 930 out of 1000 SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 931 out of 1000 SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(22) GROUP BY materialize(toNullable(toFixedString('merge_expressions=0', 19))), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 932 out of 1000 SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(22) GROUP BY materialize(toNullable('merge_expressions=0', 19)), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(22) GROUP BY materialize(toNullable('merge_expressions=0', 19)), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(22) GROUP BY materialize(toNullable('merge_expressions=0', 19)), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 933 out of 1000 SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(22) GROUP BY materialize(toNullable(toFixedString('merge_expressions=0', 19))), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 934 out of 1000 SELECT toLowCardinality(100), 22, 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(22) GROUP BY materialize(toFixedString('merge_expressions=0', 19)), toLowCardinality(toLowCardinality(19)), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 935 out of 1000 SELECT toLowCardinality(materialize('merge_expressions=0', 19), 100), 22, 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(22) GROUP BY materialize(toFixedString('merge_expressions=0', 19)), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(materialize('merge_expressions=0', 19), 100), 22, 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(22) GROUP BY materialize(toFixedString('merge_expressions=0', 19)), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(materialize('merge_expressions=0', 19), 100), 22, 19 FROM test_alias_skip_idx__fuzz_3 PREWHERE toNullable(22) GROUP BY materialize(toFixedString('merge_expressions=0', 19)), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 936 out of 1000 SELECT toLowCardinality(100), 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY materialize(toFixedString('merge_expressions=0', 19)), toLowCardinality(toLowCardinality(19)), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 937 out of 1000 SELECT toLowCardinality(100), 22, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable(22) GROUP BY materialize(test_alias_skip_idx__fuzz_47, toFixedString('merge_expressions=0', 19)), toLowCardinality(toLowCardinality(19)), 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(100), 22, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable(22) GROUP BY materialize(test_alias_skip_idx__fuzz_47, toFixedString('merge_expressions=0', 19)), toLowCardinality(toLowCardinality(19)), 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT toLowCardinality(100), 22, 19 FROM test_alias_skip_idx__fuzz_4 PREWHERE toNullable(22) GROUP BY materialize(test_alias_skip_idx__fuzz_47, toFixedString('merge_expressions=0', 19)), toLowCardinality(toLowCardinality(19)), 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 938 out of 1000 SELECT toLowCardinality(100), 22, 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE toNullable(toLowCardinality(22)) GROUP BY materialize('merge_expressions=0', 19), toLowCardinality(toLowCardinality(materialize(toLowCardinality(19)))), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(100), 22, 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE toNullable(toLowCardinality(22)) GROUP BY materialize('merge_expressions=0', 19), toLowCardinality(toLowCardinality(materialize(toLowCardinality(19)))), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(100), 22, 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE toNullable(toLowCardinality(22)) GROUP BY materialize('merge_expressions=0', 19), toLowCardinality(toLowCardinality(materialize(toLowCardinality(19)))), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 939 out of 1000 SELECT toLowCardinality(100), 22, 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE toNullable(22) GROUP BY materialize(toFixedString('merge_expressions=0', 19)), toLowCardinality(toLowCardinality(19)), toUInt128(toNullable(22), 100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(100), 22, 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE toNullable(22) GROUP BY materialize(toFixedString('merge_expressions=0', 19)), toLowCardinality(toLowCardinality(19)), toUInt128(toNullable(22), 100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': 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 toLowCardinality(100), 22, 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE toNullable(22) GROUP BY materialize(toFixedString('merge_expressions=0', 19)), toLowCardinality(toLowCardinality(19)), toUInt128(toNullable(22), 100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 940 out of 1000 SELECT toLowCardinality(100), 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE toNullable(22) GROUP BY materialize(toFixedString('merge_expressions=0', 19)), toLowCardinality(toLowCardinality(19)), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 941 out of 1000 SELECT 100, 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE toNullable(22) GROUP BY materialize(toFixedString('merge_expressions=0', 19)), toLowCardinality(toLowCardinality(19)), 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE toNullable(22) GROUP BY materialize(toFixedString('merge_expressions=0', 19)), toLowCardinality(toLowCardinality(19)), 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_14 PREWHERE toNullable(22) GROUP BY materialize(toFixedString('merge_expressions=0', 19)), toLowCardinality(toLowCardinality(19)), 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 942 out of 1000 SELECT toLowCardinality(100), 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY materialize(toFixedString('merge_expressions=0', 19)), toLowCardinality(toLowCardinality(19)), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 943 out of 1000 SELECT toLowCardinality(c + 1, 100), 22 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY materialize(toFixedString('merge_expressions=0', 19)), toLowCardinality(toLowCardinality(19)), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(c + 1, 100), 22 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY materialize(toFixedString('merge_expressions=0', 19)), toLowCardinality(toLowCardinality(19)), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(c + 1, 100), 22 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY materialize(toFixedString('merge_expressions=0', 19)), toLowCardinality(toLowCardinality(19)), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 944 out of 1000 SELECT toLowCardinality(100), 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 945 out of 1000 SELECT toLowCardinality(test_alias_skip_idx__fuzz_38, 100), 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_41 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(test_alias_skip_idx__fuzz_38, 100), 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_41 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_38' in scope SELECT toLowCardinality(test_alias_skip_idx__fuzz_38, 100), 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_41 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 946 out of 1000 SELECT toLowCardinality(100), 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 947 out of 1000 SELECT toLowCardinality(c + 1, 100), 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_0 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', 19, 19, 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(c + 1, 100), 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_0 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', 19, 19, 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(c + 1, 100), 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_0 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', 19, 19, 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 948 out of 1000 SELECT toLowCardinality(toUInt256(100)), 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), 100 WITH ROLLUP WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(toUInt256(100)), 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), 100 WITH ROLLUP WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT toLowCardinality(toUInt256(100)), 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), 100 WITH ROLLUP WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 949 out of 1000 SELECT 100, 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 950 out of 1000 SELECT 100, 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_10 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 951 out of 1000 SELECT 100, 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 952 out of 1000 EXPLAIN PIPELINE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 953 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 954 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 955 out of 1000 EXPLAIN PIPELINE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 956 out of 1000 EXPLAIN PIPELINE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 957 out of 1000 EXPLAIN PIPELINE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 958 out of 1000 EXPLAIN ESTIMATE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 959 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 960 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 961 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 962 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 47 ('100'): 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 963 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 964 out of 1000 SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE toNullable(materialize(toUInt128(22))) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_21 PREWHERE toNullable(materialize(toUInt128(22))) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt128) of column 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a563d 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 965 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('100'): 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 966 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 967 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 968 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 969 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('100'): 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 970 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 971 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 972 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 973 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 974 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 975 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('100'): 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 976 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 977 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 978 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 979 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 980 out of 1000 SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_25 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 981 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 982 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 983 out of 1000 EXPLAIN AST SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 984 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 985 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 986 out of 1000 SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), 19, 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), 19, 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), 19, 100 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 987 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 988 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 989 out of 1000 SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_41 PREWHERE toNullable(22) GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 990 out of 1000 SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 3 Fuzzing step 991 out of 1000 EXPLAIN QUERY TREE SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 992 out of 1000 EXPLAIN SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 993 out of 1000 EXPLAIN AST SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 994 out of 1000 EXPLAIN SYNTAX SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 995 out of 1000 EXPLAIN SYNTAX SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 996 out of 1000 EXPLAIN SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 997 out of 1000 SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(toNullable(19)), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 998 out of 1000 SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toUInt128(toNullable(100)))) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toUInt128(toNullable(100)))) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x000000001104837a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 999 out of 1000 SELECT 100, 22, 19 FROM test_alias_skip_idx__fuzz_35 PREWHERE toNullable(22) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(toNullable(19)), toUInt128(100) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Got boring AST 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_nested_alias_idx__fuzz_0 ( `c` UInt32, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 2 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_1 ( `c` UInt32, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 3 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_2 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 4 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_3 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 5 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_4 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 6 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_5 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 7 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_6 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 8 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_7 ( `c` Nullable(Int128), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 9 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_8 ( `c` Nullable(Int128), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 10 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_9 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 11 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_10 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 12 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_11 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 13 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_12 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 14 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_13 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 15 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_14 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 16 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_15 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 17 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_16 ( `c` LowCardinality(Int128), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 18 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_17 ( `c` LowCardinality(Int128), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 19 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_18 ( `c` DateTime, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 20 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_19 ( `c` DateTime, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 21 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_20 ( `c` DateTime, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 22 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_21 ( `c` Array(DateTime), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_nested_alias_idx__fuzz_21 (`c` Array(DateTime), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(DateTime) and UInt8 of arguments of function plus: While processing c + 1 AS a1: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 23 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_22 ( `c` DateTime, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 24 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_23 ( `c` UInt256, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 25 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_24 ( `c` UInt256, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 26 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_25 ( `c` UInt256, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 27 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_26 ( `c` UInt256, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 28 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_27 ( `c` UInt256, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 29 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_28 ( `c` Array(UInt256), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_nested_alias_idx__fuzz_28 (`c` Array(UInt256), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(UInt256) and UInt8 of arguments of function plus: While processing c + 1 AS a1: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 30 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_29 ( `c` Array(UInt256), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_nested_alias_idx__fuzz_29 (`c` Array(UInt256), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(UInt256) and UInt8 of arguments of function plus: While processing c + 1 AS a1: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 31 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_30 ( `c` UInt256, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 32 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_31 ( `c` UInt256, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 33 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_32 ( `c` UInt256, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 34 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_33 ( `c` LowCardinality(UInt256), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 35 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_34 ( `c` LowCardinality(UInt256), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 36 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_35 ( `c` LowCardinality(UInt256), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 37 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_36 ( `c` LowCardinality(UInt256), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 38 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_37 ( `c` UInt256, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 39 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_38 ( `c` UInt256, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 40 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_39 ( `c` UInt256, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 41 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_40 ( `c` Array(UInt256), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_nested_alias_idx__fuzz_40 (`c` Array(UInt256), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(UInt256) and UInt8 of arguments of function plus: While processing c + 1 AS a1: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 42 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_41 ( `c` LowCardinality(UInt256), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 43 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_42 ( `c` LowCardinality(UInt256), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 44 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_43 ( `c` UInt256, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 45 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_44 ( `c` Array(UInt256), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_nested_alias_idx__fuzz_44 (`c` Array(UInt256), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(UInt256) and UInt8 of arguments of function plus: While processing c + 1 AS a1: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 46 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_45 ( `c` UInt256, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 47 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_46 ( `c` UInt256, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 48 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_47 ( `c` UInt256, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 49 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_48 ( `c` UInt256, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 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_nested_alias_idx__fuzz_24 SELECT number FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_17 SELECT number FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_19 SELECT number FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_0 SELECT number FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_8 SELECT number FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_34 SELECT number FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_3 SELECT number FROM numbers(10) Fuzzing step 0 out of 1 Query succeeded, using this AST as a start INSERT INTO test_nested_alias_idx__fuzz_24 SELECT number + 200 FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_17 SELECT number + 200 FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_19 SELECT number + 200 FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_0 SELECT number + 200 FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_8 SELECT number + 200 FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_34 SELECT number + 200 FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_3 SELECT number + 200 FROM numbers(10) Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 2 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 3 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 4 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 5 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 6 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 7 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 8 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 9 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'nested_alias' Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'nested_alias'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 (''nested_alias''): 'nested_alias'. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 10 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 11 out of 1000 SELECT 'nested_alias' GROUP BY 1 Query succeeded, using this AST as a start Fuzzing step 12 out of 1000 SELECT 'nested_alias' GROUP BY 1 Got boring AST Fuzzing step 13 out of 1000 SELECT 'nested_alias' GROUP BY 1 Got boring AST Fuzzing step 14 out of 1000 SELECT 'nested_alias' GROUP BY 1 Got boring AST Fuzzing step 15 out of 1000 SELECT 'nested_alias' GROUP BY 1 Got boring AST Fuzzing step 16 out of 1000 SELECT 'nested_alias' GROUP BY 1 Got boring AST Fuzzing step 17 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT 'nested_alias' GROUP BY 1 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT 'nested_alias' GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 18 out of 1000 SELECT 'nested_alias' GROUP BY 1 Got boring AST Fuzzing step 19 out of 1000 SELECT 'nested_alias' GROUP BY 1 Got boring AST Fuzzing step 20 out of 1000 SELECT 'nested_alias' GROUP BY 1 Got boring AST Fuzzing step 21 out of 1000 SELECT 'nested_alias' GROUP BY 1 Got boring AST Fuzzing step 22 out of 1000 SELECT 'nested_alias' GROUP BY 1 Got boring AST Fuzzing step 23 out of 1000 SELECT 'nested_alias' GROUP BY 1 Got boring AST Fuzzing step 24 out of 1000 SELECT 'nested_alias' GROUP BY 1 Got boring AST Fuzzing step 25 out of 1000 SELECT 'nested_alias' GROUP BY 1 Got boring AST Fuzzing step 26 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Query succeeded, using this AST as a start Fuzzing step 27 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 28 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((materialize(1))) Query succeeded, using this AST as a start Fuzzing step 29 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((materialize(1))) Got boring AST Fuzzing step 30 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((materialize(1))) Got boring AST Fuzzing step 31 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((materialize(1))) WITH CUBE Error on processing query 'SELECT 'nested_alias' GROUP BY GROUPING SETS ((materialize(1))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 32 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Query succeeded, using this AST as a start Fuzzing step 33 out of 1000 SELECT 'nested_alias' WITH TOTALS Error on processing query 'SELECT 'nested_alias' 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 34 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 35 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 36 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 37 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 38 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 39 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 40 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 41 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 42 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 43 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 44 out of 1000 SELECT 'nested_alias' WHERE a > toNullable(toLowCardinality(toNullable(19, materialize(19))), 100) GROUP BY GROUPING SETS ((1)) Error on processing query 'SELECT 'nested_alias' WHERE a > toNullable(toLowCardinality(toNullable(19, materialize(19))), 100) GROUP BY GROUPING SETS ((1))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope SELECT 'nested_alias' WHERE a > toNullable(toLowCardinality(toNullable(19, materialize(19))), 100) GROUP BY GROUPING SETS ((1)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 45 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 46 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 47 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 48 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 49 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 50 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 51 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((1)) Got boring AST Fuzzing step 52 out of 1000 SELECT 'nested_alias' GROUP BY 1 Query succeeded, using this AST as a start Fuzzing step 53 out of 1000 SELECT 'nested_alias' GROUP BY 1 Got boring AST Fuzzing step 54 out of 1000 SELECT 'nested_alias' GROUP BY 1 Got boring AST Fuzzing step 55 out of 1000 SELECT 'nested_alias' GROUP BY 1 Got boring AST Fuzzing step 56 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE Got boring AST Fuzzing step 58 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE Got boring AST Fuzzing step 59 out of 1000 SELECT 'nested_alias' GROUP BY materialize(toUInt256(1)) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 60 out of 1000 SELECT 'nested_alias' GROUP BY materialize(toUInt256(1)) WITH CUBE Got boring AST Fuzzing step 61 out of 1000 SELECT 'nested_alias' GROUP BY materialize(toUInt256(1)) WITH CUBE Got boring AST Fuzzing step 62 out of 1000 SELECT 'nested_alias' GROUP BY materialize(toUInt256(1)) WITH CUBE Got boring AST Fuzzing step 63 out of 1000 SELECT 'nested_alias' GROUP BY materialize(toUInt256(1)) WITH CUBE Got boring AST Fuzzing step 64 out of 1000 SELECT 'nested_alias' GROUP BY materialize(toUInt256(1)) WITH CUBE Got boring AST Fuzzing step 65 out of 1000 SELECT 'nested_alias' GROUP BY materialize(toUInt256(1)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 66 out of 1000 SELECT 'nested_alias' GROUP BY toUInt256(1) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 67 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 68 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 69 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 70 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 71 out of 1000 SELECT 'nested_alias' WHERE test_nested_alias_idx__fuzz_19 GROUP BY 1 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'nested_alias' WHERE test_nested_alias_idx__fuzz_19 GROUP BY 1 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_19' in scope SELECT 'nested_alias' WHERE test_nested_alias_idx__fuzz_19 GROUP BY 1 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 72 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 73 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 74 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 75 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 76 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 77 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 78 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 79 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 80 out of 1000 EXPLAIN PIPELINE compact = true SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 'nested_alias' GROUP BY 1 WITH CUBE 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 81 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 82 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 83 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 84 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 85 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 86 out of 1000 EXPLAIN PIPELINE header = true SELECT 'nested_alias' GROUP BY materialize(toNullable(1)) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN PIPELINE header = true SELECT 'nested_alias' GROUP BY materialize(toNullable(1)) WITH CUBE 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 87 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 88 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 89 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 90 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 91 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 92 out of 1000 SELECT 'nested_alias' WHERE test_alias_skip_idx__fuzz_6 GROUP BY 1 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'nested_alias' WHERE test_alias_skip_idx__fuzz_6 GROUP BY 1 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_6' in scope SELECT 'nested_alias' WHERE test_alias_skip_idx__fuzz_6 GROUP BY 1 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 93 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 94 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 95 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 96 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 97 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 98 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 99 out of 1000 SELECT materialize('nested_alias') GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 100 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 101 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 102 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 103 out of 1000 EXPLAIN QUERY TREE passes = true SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN QUERY TREE passes = true SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 104 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 105 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 106 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 107 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 108 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 109 out of 1000 SELECT toNullable('nested_alias') GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 110 out of 1000 SELECT toNullable('nested_alias') GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 111 out of 1000 SELECT toNullable('nested_alias') GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 112 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 113 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 114 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 115 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 116 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 117 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 118 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 119 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 120 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 121 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 122 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 123 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 124 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 125 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 126 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 127 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 128 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 129 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 130 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 131 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 132 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 133 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 134 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 135 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 136 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 137 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 138 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 139 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 140 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 141 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 142 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 143 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 144 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 145 out of 1000 EXPLAIN QUERY TREE passes = true SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN QUERY TREE passes = true SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 146 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 147 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 148 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 149 out of 1000 SELECT 'nested_alias' GROUP BY GROUPING SETS ((materialize(toUInt256(1)))) WITH CUBE WITH TOTALS Error on processing query 'SELECT 'nested_alias' GROUP BY GROUPING SETS ((materialize(toUInt256(1)))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 150 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 151 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 152 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 153 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 154 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 155 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 156 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 157 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 158 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''nested_alias''): 'nested_alias' GROUP BY 1 WITH CUBE 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 159 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 160 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 161 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 162 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 163 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 164 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 165 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 166 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''nested_alias''): 'nested_alias' GROUP BY 1 WITH CUBE 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 167 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 168 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 169 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 170 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 171 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 172 out of 1000 EXPLAIN ESTIMATE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 173 out of 1000 EXPLAIN ESTIMATE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 174 out of 1000 EXPLAIN ESTIMATE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 175 out of 1000 EXPLAIN ESTIMATE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 176 out of 1000 EXPLAIN ESTIMATE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 177 out of 1000 EXPLAIN ESTIMATE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 178 out of 1000 EXPLAIN ESTIMATE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 179 out of 1000 EXPLAIN ESTIMATE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 180 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 181 out of 1000 EXPLAIN SYNTAX SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 182 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 183 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 184 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 185 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 186 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 187 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 (''nested_alias''): 'nested_alias' GROUP BY 1 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 188 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 189 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 190 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 191 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 192 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 193 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 194 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 195 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 196 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 197 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 198 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 199 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 200 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 201 out of 1000 EXPLAIN ESTIMATE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 202 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 203 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 204 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 205 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 206 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 207 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 208 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 209 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 210 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 211 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 212 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 213 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 214 out of 1000 SELECT 'nested_alias' WITH TOTALS Error on processing query 'SELECT 'nested_alias' 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 215 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 216 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 217 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 218 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 219 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''nested_alias''): 'nested_alias' GROUP BY 1 WITH CUBE 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 220 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 221 out of 1000 EXPLAIN SYNTAX SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 222 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 223 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 224 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 225 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 226 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 227 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 228 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 229 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 230 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 231 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 232 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 233 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 234 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 235 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 236 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 237 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 238 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 239 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 240 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 241 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 242 out of 1000 SELECT 'nested_alias' WHERE test_nested_alias_idx__fuzz_31 GROUP BY 1 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'nested_alias' WHERE test_nested_alias_idx__fuzz_31 GROUP BY 1 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_31' in scope SELECT 'nested_alias' WHERE test_nested_alias_idx__fuzz_31 GROUP BY 1 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 243 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 244 out of 1000 EXPLAIN ESTIMATE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 245 out of 1000 EXPLAIN ESTIMATE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 246 out of 1000 EXPLAIN ESTIMATE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 247 out of 1000 EXPLAIN ESTIMATE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 248 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 249 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 250 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 251 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 252 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 253 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 254 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 255 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 (''nested_alias''): 'nested_alias' GROUP BY 1 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 256 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''nested_alias''): 'nested_alias' GROUP BY 1 WITH CUBE 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 257 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 258 out of 1000 EXPLAIN ESTIMATE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 259 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 261 out of 1000 EXPLAIN ESTIMATE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 262 out of 1000 EXPLAIN ESTIMATE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 263 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 264 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 265 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''nested_alias''): 'nested_alias' GROUP BY 1 WITH CUBE 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 266 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 267 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 (''nested_alias''): 'nested_alias' GROUP BY 1 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 268 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 269 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 270 out of 1000 EXPLAIN SYNTAX SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 271 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 272 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 273 out of 1000 SELECT toNullable('nested_alias') GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 274 out of 1000 SELECT toNullable('nested_alias') GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 275 out of 1000 SELECT toNullable('nested_alias') GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 276 out of 1000 SELECT toNullable('nested_alias') GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 277 out of 1000 SELECT toNullable('nested_alias') GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 278 out of 1000 SELECT toNullable('nested_alias') GROUP BY toLowCardinality(1) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 279 out of 1000 SELECT toNullable('nested_alias') GROUP BY toLowCardinality(1) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 280 out of 1000 SELECT toNullable('nested_alias') WHERE test_nested_alias_idx__fuzz_22 GROUP BY toLowCardinality(1) WITH CUBE WITH TOTALS Error on processing query 'SELECT toNullable('nested_alias') WHERE test_nested_alias_idx__fuzz_22 GROUP BY toLowCardinality(1) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_22' in scope SELECT toNullable('nested_alias') WHERE test_nested_alias_idx__fuzz_22 GROUP BY toLowCardinality(1) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 281 out of 1000 SELECT 'nested_alias' GROUP BY toLowCardinality(1) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 282 out of 1000 SELECT 'nested_alias' GROUP BY toLowCardinality(1) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 283 out of 1000 SELECT 'nested_alias' GROUP BY toLowCardinality(1) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 284 out of 1000 SELECT 'nested_alias' GROUP BY toLowCardinality(1) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 285 out of 1000 SELECT 'nested_alias' GROUP BY toLowCardinality(1) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 286 out of 1000 SELECT 'nested_alias' GROUP BY toLowCardinality(1) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 287 out of 1000 SELECT 'nested_alias' GROUP BY toLowCardinality(1) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 288 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT 'nested_alias' GROUP BY toLowCardinality(1) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT 'nested_alias' GROUP BY toLowCardinality(1) WITH CUBE 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 289 out of 1000 SELECT 'nested_alias' PREWHERE minmax GROUP BY toLowCardinality(1) WITH CUBE Error on processing query 'SELECT 'nested_alias' PREWHERE minmax GROUP BY toLowCardinality(1) WITH CUBE': Received from localhost:9000. DB::Exception: Unknown expression identifier 'minmax' in scope SELECT 'nested_alias' PREWHERE minmax GROUP BY toLowCardinality(1) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 290 out of 1000 SELECT 'nested_alias' GROUP BY toLowCardinality(1) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 291 out of 1000 SELECT 'nested_alias' GROUP BY toLowCardinality(toLowCardinality(1)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 292 out of 1000 SELECT 'nested_alias' GROUP BY toLowCardinality(toLowCardinality(1)) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 293 out of 1000 SELECT 'nested_alias' GROUP BY toLowCardinality(1) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 294 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 295 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 296 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 298 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 299 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 300 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 301 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 302 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 303 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 304 out of 1000 EXPLAIN SYNTAX SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 305 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 306 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 307 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 308 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 309 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 310 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 311 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 312 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 313 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 314 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 315 out of 1000 EXPLAIN SYNTAX SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 316 out of 1000 EXPLAIN SYNTAX SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 317 out of 1000 EXPLAIN SYNTAX SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 318 out of 1000 EXPLAIN SYNTAX SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 319 out of 1000 EXPLAIN SYNTAX SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 320 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 321 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 322 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 323 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 324 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 EXPLAIN SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 326 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 328 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 329 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 330 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 331 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 332 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 333 out of 1000 EXPLAIN AST SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 334 out of 1000 EXPLAIN SYNTAX SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 335 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 336 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 337 out of 1000 EXPLAIN SYNTAX SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 338 out of 1000 EXPLAIN SYNTAX SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 339 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 340 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 341 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 342 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 343 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 344 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 345 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 346 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 347 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 348 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 349 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 350 out of 1000 SELECT 'nested_alias' PREWHERE materialize(toUInt256(1)) GROUP BY 1 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'nested_alias' PREWHERE materialize(toUInt256(1)) GROUP BY 1 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 351 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 352 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 353 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 354 out of 1000 SELECT 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 355 out of 1000 SELECT toUInt256(22), 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 356 out of 1000 SELECT toUInt256(22), 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 357 out of 1000 SELECT toUInt256(22), 'nested_alias' GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 358 out of 1000 SELECT toUInt256(22) GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 359 out of 1000 SELECT toUInt256(22) GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 360 out of 1000 SELECT toUInt256(22) GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 361 out of 1000 SELECT toUInt256(22) GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 362 out of 1000 SELECT toUInt256(22) GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 363 out of 1000 SELECT toUInt256(22) GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 364 out of 1000 SELECT toUInt256(22) GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 365 out of 1000 EXPLAIN PIPELINE header = true SELECT toUInt256(22) GROUP BY 1 WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN PIPELINE header = true SELECT toUInt256(22) GROUP BY 1 WITH CUBE 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 366 out of 1000 SELECT 22 GROUP BY 1 WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 367 out of 1000 SELECT 22 GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 368 out of 1000 SELECT 22 GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 369 out of 1000 SELECT 22 GROUP BY 1 WITH CUBE WITH TOTALS Got boring AST Fuzzing step 370 out of 1000 SELECT 22 GROUP BY materialize(1) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 SELECT 22 GROUP BY materialize(1) WITH TOTALS Got boring AST Fuzzing step 372 out of 1000 SELECT 22 GROUP BY materialize(1) WITH TOTALS Got boring AST Fuzzing step 373 out of 1000 SELECT 22 GROUP BY 1 WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 374 out of 1000 SELECT toLowCardinality(toNullable(22)) GROUP BY 1 WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 SELECT toLowCardinality(22) GROUP BY 1 WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 SELECT toLowCardinality(22) WHERE test_alias_skip_idx__fuzz_7 GROUP BY 1 WITH TOTALS Error on processing query 'SELECT toLowCardinality(22) WHERE test_alias_skip_idx__fuzz_7 GROUP BY 1 WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_7' in scope SELECT toLowCardinality(22) WHERE test_alias_skip_idx__fuzz_7 GROUP BY 1 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 377 out of 1000 SELECT toLowCardinality(22) GROUP BY 1 WITH TOTALS Got boring AST Fuzzing step 378 out of 1000 SELECT toLowCardinality(22) GROUP BY 1 WITH TOTALS Got boring AST Fuzzing step 379 out of 1000 SELECT toLowCardinality(materialize(materialize(100)), 22) GROUP BY 1 WITH TOTALS Error on processing query 'SELECT toLowCardinality(materialize(materialize(100)), 22) GROUP BY 1 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 toLowCardinality(materialize(materialize(100)), 22) GROUP BY 1 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 380 out of 1000 SELECT toLowCardinality(22) GROUP BY 1 WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 381 out of 1000 SELECT toLowCardinality(22) GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 382 out of 1000 SELECT toLowCardinality(22) GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 383 out of 1000 SELECT toLowCardinality(22) WHERE test_nested_alias_idx__fuzz_38 GROUP BY 1 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toLowCardinality(22) WHERE test_nested_alias_idx__fuzz_38 GROUP BY 1 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_38' in scope SELECT toLowCardinality(22) WHERE test_nested_alias_idx__fuzz_38 GROUP BY 1 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 384 out of 1000 SELECT toLowCardinality(22) GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 385 out of 1000 SELECT test_nested_alias_idx__fuzz_38, toLowCardinality(22) GROUP BY 1 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT test_nested_alias_idx__fuzz_38, toLowCardinality(22) GROUP BY 1 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_38' in scope SELECT test_nested_alias_idx__fuzz_38, toLowCardinality(22) GROUP BY 1 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 386 out of 1000 SELECT toLowCardinality(22) GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 387 out of 1000 SELECT toLowCardinality(22) GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 388 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 389 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 390 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 391 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 392 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 393 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 394 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 395 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 396 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 397 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 398 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 399 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 400 out of 1000 EXPLAIN PIPELINE SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 401 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('22'): 22 GROUP BY 1 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 402 out of 1000 EXPLAIN PIPELINE SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 403 out of 1000 EXPLAIN PIPELINE SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 404 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('22'): 22 GROUP BY 1 WITH ROLLUP 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 405 out of 1000 EXPLAIN ESTIMATE SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 406 out of 1000 SELECT 22 GROUP BY toNullable(toUInt128(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 407 out of 1000 SELECT 22 GROUP BY toNullable(toUInt128(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 408 out of 1000 SELECT 22 GROUP BY toNullable(toUInt128(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 409 out of 1000 SELECT 22 GROUP BY toUInt128(1) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 SELECT 22 GROUP BY toUInt128(1) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 411 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 412 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 413 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 414 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 415 out of 1000 EXPLAIN AST SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 416 out of 1000 EXPLAIN PIPELINE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 417 out of 1000 EXPLAIN PIPELINE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 418 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 420 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('22'): 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 421 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 422 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('22'): 22 GROUP BY toUInt128(toLowCardinality(1)) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 423 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 424 out of 1000 EXPLAIN QUERY TREE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 425 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 426 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 427 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 428 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 429 out of 1000 SELECT MergeTree, 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT MergeTree, 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'MergeTree' in scope SELECT MergeTree, 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 430 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 431 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 432 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 433 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('22'): 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 434 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 435 out of 1000 EXPLAIN QUERY TREE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 436 out of 1000 EXPLAIN QUERY TREE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 437 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 438 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 439 out of 1000 EXPLAIN PIPELINE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 440 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('22'): 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 441 out of 1000 EXPLAIN PIPELINE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 442 out of 1000 EXPLAIN PIPELINE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 443 out of 1000 EXPLAIN PIPELINE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 444 out of 1000 EXPLAIN PIPELINE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 445 out of 1000 EXPLAIN PIPELINE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 446 out of 1000 EXPLAIN PIPELINE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 447 out of 1000 EXPLAIN AST SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 448 out of 1000 EXPLAIN AST SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 449 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 450 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 451 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 452 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 453 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 454 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 455 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 456 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 457 out of 1000 EXPLAIN PIPELINE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 458 out of 1000 EXPLAIN PIPELINE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 459 out of 1000 EXPLAIN QUERY TREE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 460 out of 1000 EXPLAIN AST SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 461 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 462 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 463 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 464 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 465 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 466 out of 1000 EXPLAIN QUERY TREE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 467 out of 1000 EXPLAIN QUERY TREE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 468 out of 1000 EXPLAIN QUERY TREE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 469 out of 1000 EXPLAIN ESTIMATE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 470 out of 1000 EXPLAIN ESTIMATE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 471 out of 1000 EXPLAIN ESTIMATE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 472 out of 1000 EXPLAIN PIPELINE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 473 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 474 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 475 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 476 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 477 out of 1000 EXPLAIN AST SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 478 out of 1000 EXPLAIN QUERY TREE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 479 out of 1000 EXPLAIN QUERY TREE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 480 out of 1000 EXPLAIN QUERY TREE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 481 out of 1000 EXPLAIN QUERY TREE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 482 out of 1000 EXPLAIN QUERY TREE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 483 out of 1000 EXPLAIN QUERY TREE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 484 out of 1000 EXPLAIN QUERY TREE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 485 out of 1000 EXPLAIN QUERY TREE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 486 out of 1000 EXPLAIN SYNTAX SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 489 out of 1000 EXPLAIN QUERY TREE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 490 out of 1000 EXPLAIN QUERY TREE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 491 out of 1000 EXPLAIN AST SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 492 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('22'): 22 GROUP BY toUInt128(toLowCardinality(1)) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 493 out of 1000 EXPLAIN AST SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 494 out of 1000 EXPLAIN AST SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 495 out of 1000 EXPLAIN AST SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 496 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 497 out of 1000 EXPLAIN SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 498 out of 1000 EXPLAIN AST SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 499 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('22'): 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 500 out of 1000 EXPLAIN AST SELECT 22 GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 501 out of 1000 SELECT toNullable(22) GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 502 out of 1000 SELECT toNullable(22) GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 503 out of 1000 SELECT toNullable(22) GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 504 out of 1000 SELECT toNullable(22) WITH TOTALS Error on processing query 'SELECT toNullable(22) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 505 out of 1000 SELECT toNullable(22) GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 506 out of 1000 SELECT toNullable(22) GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 507 out of 1000 SELECT toNullable(22) GROUP BY toUInt128(toLowCardinality(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 508 out of 1000 SELECT 22 GROUP BY toLowCardinality(1) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 509 out of 1000 SELECT 22 GROUP BY toLowCardinality(toNullable(1)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 510 out of 1000 SELECT 22 WITH TOTALS Error on processing query 'SELECT 22 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 511 out of 1000 SELECT 22 GROUP BY toLowCardinality(toNullable(1)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 512 out of 1000 SELECT 22 GROUP BY toNullable(1) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 513 out of 1000 SELECT 22 GROUP BY toNullable(1) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 514 out of 1000 SELECT 22 GROUP BY toNullable(1) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 515 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 GROUP BY toNullable(1) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 GROUP BY toNullable(1) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('22'): 22 GROUP BY toNullable(1) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 516 out of 1000 SELECT 22 GROUP BY toNullable(1) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 517 out of 1000 SELECT 22 GROUP BY toNullable(1) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 518 out of 1000 SELECT toLowCardinality(22) GROUP BY toNullable(1) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 519 out of 1000 SELECT toLowCardinality(22) GROUP BY toNullable(1) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 520 out of 1000 SELECT toLowCardinality(22) GROUP BY toNullable(1) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 521 out of 1000 SELECT toLowCardinality(22) GROUP BY toNullable(1) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 522 out of 1000 SELECT toLowCardinality(22) GROUP BY toNullable(1) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 523 out of 1000 SELECT toLowCardinality(22) GROUP BY toNullable(1) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 524 out of 1000 SELECT toLowCardinality(22) GROUP BY toNullable(1) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 525 out of 1000 SELECT toLowCardinality(22) GROUP BY toNullable(1) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 526 out of 1000 SELECT 22 GROUP BY toNullable(1) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 527 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 528 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 529 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 530 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 531 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 532 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 533 out of 1000 SELECT 22 GROUP BY toLowCardinality(1) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 SELECT 22 GROUP BY toLowCardinality(1) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 535 out of 1000 SELECT 22 GROUP BY toLowCardinality(test_nested_alias_idx__fuzz_8, 1) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 22 GROUP BY toLowCardinality(test_nested_alias_idx__fuzz_8, 1) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_8' in scope SELECT 22 GROUP BY toLowCardinality(test_nested_alias_idx__fuzz_8, 1) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 536 out of 1000 SELECT toUInt128(22) GROUP BY toLowCardinality(1) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 537 out of 1000 EXPLAIN optimize = true SELECT toUInt128(22) GROUP BY toLowCardinality(1) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN optimize = true SELECT toUInt128(22) GROUP BY toLowCardinality(1) WITH ROLLUP WITH TOTALS': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 538 out of 1000 SELECT toUInt128(22) GROUP BY 1 WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 539 out of 1000 SELECT toUInt128(22) GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 540 out of 1000 SELECT toUInt128(22) GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 541 out of 1000 SELECT toUInt128(22) GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 542 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 543 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 544 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 545 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 546 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH CUBE WITH TOTALS Error on processing query 'SELECT 22 GROUP BY 1 WITH ROLLUP WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 56 ('CUBE'): CUBE WITH TOTALS. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 547 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 548 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 549 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 550 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 551 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 552 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 553 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 554 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 555 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 556 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 557 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 558 out of 1000 SELECT 22 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 559 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 560 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 561 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 562 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 564 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 565 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 566 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 567 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 568 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 569 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 570 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 571 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 573 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 574 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 575 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 577 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 578 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 579 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 580 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 581 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 582 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 583 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 584 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 585 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 586 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 587 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 588 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 589 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 590 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 591 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 592 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 593 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 594 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 595 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 596 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 597 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 598 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 599 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 600 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 601 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 602 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 603 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 604 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 605 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 606 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 607 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 608 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 609 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 610 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 611 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 612 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 613 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 614 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 615 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 616 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 617 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 618 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 619 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 620 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 621 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 622 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 623 out of 1000 SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 624 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 625 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 626 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 627 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 628 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 629 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 630 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 631 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 632 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 633 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 634 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 635 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 636 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 637 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 638 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 639 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 640 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 641 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 642 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 643 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 644 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 645 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 646 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 647 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 648 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 649 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 650 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 651 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 652 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 653 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 654 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 655 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 656 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 657 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 658 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 659 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 660 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 661 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 662 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 663 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 664 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 665 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 666 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 667 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 668 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 669 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 670 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 671 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 672 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 673 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 674 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 675 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 676 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 677 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 678 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 679 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 680 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 681 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 682 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 683 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 684 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 685 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 686 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 687 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 688 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 689 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 690 out of 1000 SELECT 22 PREWHERE 3 GROUP BY 1 WITH ROLLUP Error on processing query 'SELECT 22 PREWHERE 3 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 691 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 692 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 693 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 694 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 695 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 696 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 697 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 698 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 699 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 700 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 701 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 702 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 703 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 704 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 705 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 706 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 707 out of 1000 SELECT 22 PREWHERE 100 GROUP BY GROUPING SETS ((1)) WITH ROLLUP Error on processing query 'SELECT 22 PREWHERE 100 GROUP BY GROUPING SETS ((1)) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 708 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 709 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 710 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 711 out of 1000 SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 712 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 713 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 714 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 715 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 716 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 717 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 718 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 719 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 720 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 721 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 722 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 723 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 724 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 725 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 726 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 727 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 728 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 729 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 730 out of 1000 SELECT materialize(22) PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'SELECT materialize(22) PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 731 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 732 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 733 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 734 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 735 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 736 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 737 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 738 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 739 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 740 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 741 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 742 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 743 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 744 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 745 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 746 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 747 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 748 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 749 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 750 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 751 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 752 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 753 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 754 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 755 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 756 out of 1000 SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 757 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 758 out of 1000 SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 759 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 760 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 761 out of 1000 SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 762 out of 1000 SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 763 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 764 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 765 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 766 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 767 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 768 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 769 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 770 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 771 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 772 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 773 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 774 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 775 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 776 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 777 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 778 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 779 out of 1000 SELECT 22 PREWHERE 100 WITH TOTALS Error on processing query 'SELECT 22 PREWHERE 100 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 780 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 781 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 782 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 783 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 784 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 785 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 786 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 787 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 788 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 789 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 790 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 791 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 792 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 793 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 795 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 796 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 797 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 798 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 799 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 800 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 801 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 802 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 803 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 804 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 805 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 806 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 807 out of 1000 SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 808 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 809 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 810 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 811 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 812 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 813 out of 1000 SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 814 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 815 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 816 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 817 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 818 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 819 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 820 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 821 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 822 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 823 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 824 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 825 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 826 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 827 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 828 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 829 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 830 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 831 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 832 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 833 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 834 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 835 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 836 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 837 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 838 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 839 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 840 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 841 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 842 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 843 out of 1000 SELECT 22 PREWHERE 100 WITH TOTALS Error on processing query 'SELECT 22 PREWHERE 100 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 844 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 845 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 846 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 847 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 848 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 849 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 850 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 851 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 852 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 853 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 854 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 855 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 856 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 857 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 858 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 859 out of 1000 SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 860 out of 1000 SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 861 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 862 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 863 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 864 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 865 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 866 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 867 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 868 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 869 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 870 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 871 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 872 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 873 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 874 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 875 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 876 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 877 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 878 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 879 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 880 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 881 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 882 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 883 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 884 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 885 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 886 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 887 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 888 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 889 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 890 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 891 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 892 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 893 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 894 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 895 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 896 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 897 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 898 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 899 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 900 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 901 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 902 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 903 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 904 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 905 out of 1000 SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 906 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 907 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 908 out of 1000 SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 909 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 910 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 911 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 912 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 913 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 914 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 915 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 916 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 917 out of 1000 SELECT materialize(toLowCardinality(toNullable(100))), 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'SELECT materialize(toLowCardinality(toNullable(100))), 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 918 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 919 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 920 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 921 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 922 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 923 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 924 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 925 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 926 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 927 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 928 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 929 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 930 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 931 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 932 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 933 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 934 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 935 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 936 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 937 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 938 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 939 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 940 out of 1000 SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 941 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 942 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 943 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 944 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 945 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 946 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 947 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 948 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 949 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 950 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 951 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 952 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 953 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 954 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 955 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 956 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 957 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 958 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 959 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 960 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 961 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 962 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 963 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 964 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 965 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 966 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 967 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 968 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 969 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 970 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 971 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 972 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 973 out of 1000 EXPLAIN SYNTAX SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 974 out of 1000 EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 975 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 976 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 977 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 978 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 979 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 980 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 981 out of 1000 EXPLAIN AST SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 982 out of 1000 EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d879 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 983 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 984 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 985 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 986 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 987 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 988 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 989 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 990 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 991 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('22'): 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 992 out of 1000 EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 993 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 994 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 995 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 996 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 997 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 998 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 999 out of 1000 EXPLAIN QUERY TREE SELECT 22 PREWHERE 100 GROUP BY 1 WITH ROLLUP Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 2 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 3 out of 1000 EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN QUERY TREE query. Supported settings: dump_passes, dump_ast, dump_tree, run_passes, passes. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [11], String&&) @ 0x00000000115973eb 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115903be 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 4 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 5 out of 1000 EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN QUERY TREE query. Supported settings: dump_passes, dump_ast, dump_tree, run_passes, passes. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [11], String&&) @ 0x00000000115973eb 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115903be 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 6 out of 1000 EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('*'): * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0. Expected one of: token sequence, Dot, token, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 7 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 8 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 9 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 10 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 11 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 12 out of 1000 EXPLAIN PIPELINE indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 13 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 14 out of 1000 EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN SYNTAX query. Supported settings: oneline. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [7], String&&) @ 0x0000000011596e6b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001159022c 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 15 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 16 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 17 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 18 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 19 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE materialize(a2 > 100, materialize(toLowCardinality(100))) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE materialize(a2 > 100, materialize(toLowCardinality(100))) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE materialize(a2 > 100, materialize(toLowCardinality(100))) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 20 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 21 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 WHERE a2 > 100 GROUP BY toNullable(toNullable(19)), toLowCardinality(toUInt128(toLowCardinality(toNullable('merge_expressions=0')), 19)) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_0 WHERE a2 > 100 GROUP BY toNullable(toNullable(19)), toLowCardinality(toUInt128(toLowCardinality(toNullable('merge_expressions=0')), 19)) SETTINGS query_plan_merge_expressions = 0': 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 * FROM test_nested_alias_idx__fuzz_0 WHERE a2 > 100 GROUP BY toNullable(toNullable(19)), toLowCardinality(toUInt128(toLowCardinality(toNullable('merge_expressions=0')), 19)) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 22 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 23 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 24 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 25 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 26 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 27 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 28 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 29 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 WHERE a2 > toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 30 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 WHERE greater(toLowCardinality(100), a2, toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_8 WHERE greater(toLowCardinality(100), a2, toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope SELECT * FROM test_nested_alias_idx__fuzz_8 WHERE greater(toLowCardinality(100), a2, toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 31 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 WHERE a2 > toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 32 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 WHERE a2 > toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 33 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 WHERE a2 > toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 34 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 35 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 36 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 37 out of 1000 EXPLAIN optimize = true, sorting = true SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE greater(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN optimize = true, sorting = true SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE greater(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 38 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 WHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 39 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 WHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 40 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_34 PREWHERE a2 > toLowCardinality(100) WHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 41 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 PREWHERE a2 > toLowCardinality(100) WHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 42 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE a2 > toLowCardinality(100) WHERE a2 > toLowCardinality(100) GROUP BY materialize(toUInt256(100)), test_nested_alias_idx__fuzz_26, toUInt256(1, 19) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE a2 > toLowCardinality(100) WHERE a2 > toLowCardinality(100) GROUP BY materialize(toUInt256(100)), test_nested_alias_idx__fuzz_26, toUInt256(1, 19) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_26' in scope SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE a2 > toLowCardinality(100) WHERE a2 > toLowCardinality(100) GROUP BY materialize(toUInt256(100)), test_nested_alias_idx__fuzz_26, toUInt256(1, 19) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 43 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 PREWHERE a2 > toLowCardinality(100) WHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 44 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 PREWHERE a2 > toLowCardinality(100) WHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 45 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 PREWHERE a2 > toLowCardinality(100) WHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 46 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_34 PREWHERE a2 > toLowCardinality(test_alias_skip_idx__fuzz_40, 100) WHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_34 PREWHERE a2 > toLowCardinality(test_alias_skip_idx__fuzz_40, 100) WHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_40' in scope SELECT * FROM test_nested_alias_idx__fuzz_34 PREWHERE a2 > toLowCardinality(test_alias_skip_idx__fuzz_40, 100) WHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 47 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 PREWHERE a2 > toLowCardinality(100) WHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 48 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 49 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 PREWHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 50 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 PREWHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 51 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 PREWHERE a2 > toLowCardinality(100) GROUP BY test_nested_alias_idx__fuzz_3, test_alias_skip_idx__fuzz_34, materialize(materialize(toNullable(100))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_8 PREWHERE a2 > toLowCardinality(100) GROUP BY test_nested_alias_idx__fuzz_3, test_alias_skip_idx__fuzz_34, materialize(materialize(toNullable(100))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_3' in scope SELECT * FROM test_nested_alias_idx__fuzz_8 PREWHERE a2 > toLowCardinality(100) GROUP BY test_nested_alias_idx__fuzz_3, test_alias_skip_idx__fuzz_34, materialize(materialize(toNullable(100))) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 52 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 PREWHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 53 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 PREWHERE a2 > toLowCardinality(toNullable(toUInt256(19)), 100) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_8 PREWHERE a2 > toLowCardinality(toNullable(toUInt256(19)), 100) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT * FROM test_nested_alias_idx__fuzz_8 PREWHERE a2 > toLowCardinality(toNullable(toUInt256(19)), 100) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 54 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 PREWHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 55 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 PREWHERE a2 > toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 56 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 PREWHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 PREWHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 58 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_34 PREWHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 59 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 60 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE a2 > 100 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 61 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE a2 > 100 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 62 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE a2 > toNullable(100) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 63 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM test_nested_alias_idx__fuzz_3 PREWHERE a2 > toNullable(100) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM test_nested_alias_idx__fuzz_3 PREWHERE a2 > toNullable(100) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 64 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE a2 > toNullable(100) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 65 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_34 PREWHERE a2 > toNullable(100) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 66 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_34 PREWHERE a2 > toNullable(100) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 67 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_34 PREWHERE a2 > toNullable(100) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 68 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 PREWHERE a2 > toNullable(100) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 69 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE a2 > toNullable(100) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 70 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE greater(a2, materialize(toLowCardinality(100)), 100) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE greater(a2, materialize(toLowCardinality(100)), 100) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE greater(a2, materialize(toLowCardinality(100)), 100) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 71 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE greater(a2) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE greater(a2) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE greater(a2) WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 72 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE a2 > 100 WHERE greater(a2) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE a2 > 100 WHERE greater(a2) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT * FROM test_nested_alias_idx__fuzz_0 PREWHERE a2 > 100 WHERE greater(a2) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 73 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 PREWHERE a2 > toNullable(100) WHERE a2 > materialize(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 74 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 WHERE a2 > materialize(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 75 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_nested_alias_idx__fuzz_17 WHERE a2 > materialize(100) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_nested_alias_idx__fuzz_17 WHERE a2 > materialize(100) SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 76 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 WHERE a2 > materialize(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 77 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 WHERE a2 > materialize(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 78 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE a2 > materialize(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 79 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 WHERE a2 > materialize(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 80 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 WHERE a2 > materialize(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 81 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE greater(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE greater(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE greater(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 82 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 WHERE a2 > materialize(toLowCardinality(100)) GROUP BY materialize(toLowCardinality(test_nested_alias_idx, materialize(100))), test_alias_skip_idx__fuzz_25, test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_8 WHERE a2 > materialize(toLowCardinality(100)) GROUP BY materialize(toLowCardinality(test_nested_alias_idx, materialize(100))), test_alias_skip_idx__fuzz_25, test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx' in scope SELECT * FROM test_nested_alias_idx__fuzz_8 WHERE a2 > materialize(toLowCardinality(100)) GROUP BY materialize(toLowCardinality(test_nested_alias_idx, materialize(100))), test_alias_skip_idx__fuzz_25, test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 83 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 PREWHERE 'nested_alias' WHERE a2 > materialize(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_8 PREWHERE 'nested_alias' WHERE a2 > materialize(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: String. In query SELECT * FROM test_nested_alias_idx__fuzz_8 PREWHERE 'nested_alias' WHERE a2 > materialize(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 84 out of 1000 SELECT a, * FROM test_nested_alias_idx__fuzz_0 WHERE a2 > materialize(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT a, * FROM test_nested_alias_idx__fuzz_0 WHERE a2 > materialize(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT a, * FROM test_nested_alias_idx__fuzz_0 WHERE a2 > materialize(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0. Maybe you meant: ['c']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 85 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE a2 > materialize(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 86 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 87 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 88 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 89 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 90 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 EXPLAIN SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 92 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 94 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 95 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 96 out of 1000 EXPLAIN AST SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 97 out of 1000 EXPLAIN AST SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 98 out of 1000 EXPLAIN AST SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 99 out of 1000 EXPLAIN AST SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 100 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 101 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 102 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 103 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 104 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 105 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 106 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 107 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 108 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 109 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 110 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 111 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 112 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 113 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 114 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 115 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = -2 Fuzzing step 116 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 117 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 118 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 119 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 120 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 GROUP BY toNullable(toUInt256(100)), a2, greater(100, a2, toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_19 GROUP BY toNullable(toUInt256(100)), a2, greater(100, a2, toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope SELECT * FROM test_nested_alias_idx__fuzz_19 GROUP BY toNullable(toUInt256(100)), a2, greater(100, a2, toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 121 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 122 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 123 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 124 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 125 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 126 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 127 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 128 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 129 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 130 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 WHERE toNullable(toLowCardinality(19)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 131 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 WHERE toNullable(toLowCardinality(19)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 132 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE toNullable(toLowCardinality(19)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 133 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_nested_alias_idx__fuzz_24 WHERE toNullable(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 134 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_nested_alias_idx__fuzz_24 WHERE toNullable(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 135 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_nested_alias_idx__fuzz_24 WHERE toNullable(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 136 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_nested_alias_idx__fuzz_24 WHERE toNullable(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 137 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_nested_alias_idx__fuzz_24 WHERE toNullable(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 138 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 WHERE toNullable(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 PREWHERE test_nested_alias_idx__fuzz_25 WHERE toNullable(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_17 PREWHERE test_nested_alias_idx__fuzz_25 WHERE toNullable(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_25' in scope SELECT * FROM test_nested_alias_idx__fuzz_17 PREWHERE test_nested_alias_idx__fuzz_25 WHERE toNullable(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 140 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 WHERE toNullable(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 141 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE toNullable(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE toNullable(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 142 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 WHERE toNullable(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 143 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE toNullable(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 144 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE toNullable(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 145 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 WHERE toNullable(toLowCardinality(19)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 146 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 147 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 148 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 149 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 150 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 151 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 152 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 153 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 154 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 155 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 156 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 157 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 158 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 159 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 160 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 161 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 162 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 163 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 164 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 165 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 166 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 167 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 168 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 169 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 170 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 171 out of 1000 EXPLAIN AST optimize = true SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 172 out of 1000 SELECT toLowCardinality(materialize(test_nested_alias_idx__fuzz_33, 19)), * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toLowCardinality(materialize(test_nested_alias_idx__fuzz_33, 19)), * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_33' in scope SELECT toLowCardinality(materialize(test_nested_alias_idx__fuzz_33, 19)), * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 173 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 174 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 175 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 176 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 177 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 178 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 179 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 180 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 181 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 182 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 183 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 184 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 PREWHERE test_nested_alias_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_19 PREWHERE test_nested_alias_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_31' in scope SELECT * FROM test_nested_alias_idx__fuzz_19 PREWHERE test_nested_alias_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 185 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 186 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 187 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 188 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 189 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt256(19) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt256(19) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Column default.test_nested_alias_idx__fuzz_24.c is not under aggregate function and not in GROUP BY keys. In query SELECT * FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt256(19) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x000000001109825e 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001109733c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 190 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 191 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = NULL Fuzzing step 192 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 3 Fuzzing step 193 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 194 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 195 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_34 GROUP BY toNullable(materialize(toLowCardinality(19))), toLowCardinality(toLowCardinality(1)), toLowCardinality(22), test_nested_alias_idx__fuzz_16 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_34 GROUP BY toNullable(materialize(toLowCardinality(19))), toLowCardinality(toLowCardinality(1)), toLowCardinality(22), test_nested_alias_idx__fuzz_16 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_16' in scope SELECT * FROM test_nested_alias_idx__fuzz_34 GROUP BY toNullable(materialize(toLowCardinality(19))), toLowCardinality(toLowCardinality(1)), toLowCardinality(22), test_nested_alias_idx__fuzz_16 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 196 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 197 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 198 out of 1000 SELECT test_alias_skip_idx__fuzz_16, * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT test_alias_skip_idx__fuzz_16, * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_16' in scope SELECT test_alias_skip_idx__fuzz_16, * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 199 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 200 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 201 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 202 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 203 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 204 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 205 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 206 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 207 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 208 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 209 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 210 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 2 Fuzzing step 211 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 212 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 213 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 214 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 PREWHERE toUInt128(toNullable(toUInt128(100))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_8 PREWHERE toUInt128(toNullable(toUInt128(100))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt128) of column 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a563d 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 215 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 216 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 217 out of 1000 SELECT toNullable(materialize(toUInt256(19))), * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 218 out of 1000 SELECT toNullable(materialize(toUInt256(19))), * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 219 out of 1000 SELECT toNullable(materialize(19)), * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 220 out of 1000 SELECT toNullable(materialize(19)), * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 221 out of 1000 SELECT materialize(19), * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 222 out of 1000 SELECT materialize(19), * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 223 out of 1000 SELECT materialize(19), * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 224 out of 1000 SELECT materialize(19), * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 225 out of 1000 SELECT materialize(19), * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 226 out of 1000 SELECT 19, * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 227 out of 1000 SELECT 19, * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 228 out of 1000 SELECT 19, * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 229 out of 1000 SELECT 19, * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 230 out of 1000 SELECT 19, * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 231 out of 1000 SELECT 19, * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 232 out of 1000 SELECT 19, * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 233 out of 1000 EXPLAIN PIPELINE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 234 out of 1000 EXPLAIN SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 235 out of 1000 EXPLAIN SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 236 out of 1000 EXPLAIN SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 237 out of 1000 EXPLAIN AST SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 238 out of 1000 EXPLAIN AST SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 239 out of 1000 EXPLAIN PIPELINE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 240 out of 1000 EXPLAIN PIPELINE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 241 out of 1000 EXPLAIN ESTIMATE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 242 out of 1000 EXPLAIN ESTIMATE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 243 out of 1000 EXPLAIN ESTIMATE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 244 out of 1000 EXPLAIN ESTIMATE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 245 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('19'): 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 246 out of 1000 EXPLAIN ESTIMATE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 247 out of 1000 EXPLAIN AST SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 248 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('19'): 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 249 out of 1000 EXPLAIN AST SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 250 out of 1000 EXPLAIN ESTIMATE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 251 out of 1000 EXPLAIN SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 252 out of 1000 EXPLAIN ESTIMATE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 253 out of 1000 EXPLAIN SYNTAX SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 254 out of 1000 EXPLAIN SYNTAX SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 255 out of 1000 EXPLAIN SYNTAX SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 256 out of 1000 EXPLAIN QUERY TREE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 257 out of 1000 EXPLAIN QUERY TREE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 258 out of 1000 EXPLAIN QUERY TREE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 259 out of 1000 SELECT 19, * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 SELECT 19, * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 261 out of 1000 SELECT 19, * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 262 out of 1000 SELECT materialize(toUInt128(19)), * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 263 out of 1000 SELECT materialize(toUInt128(19)), * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 264 out of 1000 SELECT materialize(toUInt128(19)), * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 265 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(toUInt128(19)), * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(toUInt128(19)), * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('materialize'): materialize(toUInt128(19)), * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 266 out of 1000 SELECT materialize(toUInt128(19)), * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 267 out of 1000 SELECT materialize(toUInt128(19)), * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 268 out of 1000 SELECT materialize(19), * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 269 out of 1000 SELECT materialize(19), * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 270 out of 1000 SELECT materialize(19), * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 271 out of 1000 SELECT materialize(19), * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 272 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(19), * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(19), * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('materialize'): materialize(19), * FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 273 out of 1000 SELECT materialize(19), * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 274 out of 1000 SELECT materialize(19), * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 275 out of 1000 SELECT materialize(19), * FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 276 out of 1000 SELECT materialize(19), * FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 277 out of 1000 SELECT materialize(19), * FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 278 out of 1000 SELECT 19, * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 279 out of 1000 SELECT 19, * FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 280 out of 1000 SELECT 19, * FROM test_nested_alias_idx__fuzz_17 WHERE toLowCardinality(materialize(100)) SETTINGS query_plan_merge_expressions = 256 Fuzzing step 281 out of 1000 EXPLAIN PIPELINE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 282 out of 1000 EXPLAIN QUERY TREE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 283 out of 1000 EXPLAIN QUERY TREE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 284 out of 1000 EXPLAIN QUERY TREE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 285 out of 1000 EXPLAIN QUERY TREE SELECT 19, * FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 286 out of 1000 SELECT 19, * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 287 out of 1000 SELECT 19, * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 288 out of 1000 SELECT 19, * FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 289 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 290 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 291 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 292 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 293 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 294 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 295 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 298 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 299 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 300 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 301 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 302 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 303 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 304 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 305 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 306 out of 1000 SELECT materialize(toLowCardinality(toUInt256(100))), 19 FROM test_nested_alias_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 307 out of 1000 SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_19 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 308 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 309 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 310 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 311 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 312 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 313 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 314 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 315 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 316 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 317 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 318 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 319 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 320 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 321 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 322 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 323 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 324 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 326 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 327 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 328 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 329 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 330 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 331 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 332 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 333 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 334 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 335 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 336 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 337 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 338 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 339 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 340 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 341 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 342 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 343 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 344 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 345 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 346 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 347 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 348 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 349 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 350 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 351 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 352 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 353 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 354 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 355 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 356 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 357 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 358 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 359 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 360 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 361 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 362 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 363 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 364 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 365 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 366 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 367 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 368 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 369 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 370 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 372 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 373 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 374 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 377 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 378 out of 1000 SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 256 Fuzzing step 379 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 380 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 381 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 382 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 383 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 384 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 385 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 386 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 387 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 388 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 389 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 390 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 391 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 392 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('toLowCardinality'): toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 394 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 395 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 396 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 397 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 398 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 399 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 400 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 401 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 402 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 404 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 405 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 406 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 407 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 408 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 409 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 410 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 411 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 412 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 413 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 414 out of 1000 SELECT toLowCardinality(toUInt256(100)), 19 FROM test_nested_alias_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 SELECT toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 416 out of 1000 SELECT toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_0 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 417 out of 1000 SELECT toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 418 out of 1000 SELECT toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 419 out of 1000 SELECT toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_17 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 420 out of 1000 SELECT toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 421 out of 1000 SELECT toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_24 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 422 out of 1000 SELECT toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_24 WHERE toLowCardinality(toLowCardinality(toNullable(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 423 out of 1000 SELECT 100, 19 FROM test_nested_alias_idx__fuzz_8 WHERE toLowCardinality(toLowCardinality(toNullable(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 424 out of 1000 SELECT 100, 19 FROM test_nested_alias_idx__fuzz_8 WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 425 out of 1000 SELECT 100, toLowCardinality(19) FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 426 out of 1000 SELECT 100, toLowCardinality(19) FROM test_nested_alias_idx__fuzz_8 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 427 out of 1000 SELECT 100, toLowCardinality(19) FROM test_nested_alias_idx__fuzz_19 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 65536 Fuzzing step 428 out of 1000 SELECT 100, toLowCardinality(19) FROM test_nested_alias_idx__fuzz_0 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 429 out of 1000 SELECT 100, toLowCardinality(19) FROM test_nested_alias_idx__fuzz_24 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(toNullable(100)) GROUP BY test_alias_skip_idx__fuzz_4, test_nested_alias_idx__fuzz_15, toUInt128(19), test_alias_skip_idx__fuzz_1 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100, toLowCardinality(19) FROM test_nested_alias_idx__fuzz_24 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(toNullable(100)) GROUP BY test_alias_skip_idx__fuzz_4, test_nested_alias_idx__fuzz_15, toUInt128(19), test_alias_skip_idx__fuzz_1 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_4' in scope SELECT 100, toLowCardinality(19) FROM test_nested_alias_idx__fuzz_24 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(toNullable(100)) GROUP BY test_alias_skip_idx__fuzz_4, test_nested_alias_idx__fuzz_15, toUInt128(19), test_alias_skip_idx__fuzz_1 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 430 out of 1000 SELECT 100, toLowCardinality(19) FROM test_nested_alias_idx__fuzz_0 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 431 out of 1000 EXPLAIN QUERY TREE dump_ast = true SELECT 100, 19 FROM test_nested_alias_idx__fuzz_0 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN QUERY TREE dump_ast = true SELECT 100, 19 FROM test_nested_alias_idx__fuzz_0 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 432 out of 1000 SELECT 100, toLowCardinality(19) FROM test_nested_alias_idx__fuzz_24 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 SELECT 100, toLowCardinality(19) FROM test_nested_alias_idx__fuzz_8 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 434 out of 1000 SELECT 100, toLowCardinality(19) FROM test_nested_alias_idx__fuzz_8 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 435 out of 1000 SELECT 100, toLowCardinality(19) FROM test_nested_alias_idx__fuzz_24 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 436 out of 1000 SELECT 100, toLowCardinality(19) FROM test_nested_alias_idx__fuzz_24 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 437 out of 1000 SELECT 100, toLowCardinality(19) FROM test_nested_alias_idx__fuzz_24 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 438 out of 1000 SELECT 100, 19 FROM test_nested_alias_idx__fuzz_19 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 439 out of 1000 SELECT 100, 19 FROM test_nested_alias_idx__fuzz_24 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 440 out of 1000 SELECT 100, 19 FROM test_nested_alias_idx__fuzz_3 PREWHERE toLowCardinality(toNullable(100)) WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 441 out of 1000 SELECT 100, 19 FROM test_nested_alias_idx__fuzz_24 PREWHERE toLowCardinality(100) WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 442 out of 1000 SELECT 100, 19 FROM test_nested_alias_idx__fuzz_34 PREWHERE toLowCardinality(100) WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 443 out of 1000 SELECT 100, 19 FROM test_nested_alias_idx__fuzz_0 PREWHERE toLowCardinality(100) WHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 444 out of 1000 SELECT materialize(100), 19 FROM test_nested_alias_idx__fuzz_8 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 SELECT materialize(100), 19 FROM test_nested_alias_idx__fuzz_24 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 446 out of 1000 SELECT materialize(100), 19 FROM test_nested_alias_idx__fuzz_19 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 447 out of 1000 SELECT materialize(100), 19 FROM test_nested_alias_idx__fuzz_19 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 448 out of 1000 SELECT materialize(100), 19 FROM test_nested_alias_idx__fuzz_19 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 449 out of 1000 SELECT materialize(100), toNullable(19) FROM test_nested_alias_idx__fuzz_3 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 450 out of 1000 SELECT materialize(100), toNullable(19) FROM test_nested_alias_idx__fuzz_3 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 451 out of 1000 SELECT 100, toNullable(19) FROM test_nested_alias_idx__fuzz_3 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 452 out of 1000 SELECT 100, toNullable(19) FROM test_nested_alias_idx__fuzz_24 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 453 out of 1000 SELECT 100, toNullable(19) FROM test_nested_alias_idx__fuzz_3 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 454 out of 1000 SELECT 100, toNullable(19) FROM test_nested_alias_idx__fuzz_34 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 455 out of 1000 SELECT toLowCardinality(100), toNullable(19) FROM test_nested_alias_idx__fuzz_24 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 456 out of 1000 SELECT toLowCardinality(toUInt128(100)), toNullable(19) FROM test_nested_alias_idx__fuzz_24 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 457 out of 1000 SELECT toLowCardinality(toUInt128(100)), toNullable(19) FROM test_nested_alias_idx__fuzz_34 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 458 out of 1000 SELECT materialize(toLowCardinality(19)), toLowCardinality(toUInt128(100)), toNullable(19) FROM test_nested_alias_idx__fuzz_34 PREWHERE toLowCardinality(materialize(100)) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 459 out of 1000 SELECT materialize(toLowCardinality(19)), toLowCardinality(toUInt128(100)), toNullable(19) FROM test_nested_alias_idx__fuzz_17 PREWHERE toLowCardinality(materialize(100)) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 460 out of 1000 SELECT materialize(toLowCardinality(19)), toLowCardinality(toUInt128(100)), toNullable(19) FROM test_nested_alias_idx__fuzz_17 PREWHERE toLowCardinality(materialize(100)) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 461 out of 1000 SELECT toLowCardinality(19), toLowCardinality(toUInt128(100)), toNullable(19) FROM test_nested_alias_idx__fuzz_3 PREWHERE toLowCardinality(materialize(100)) WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 2147483648 Fuzzing step 462 out of 1000 SELECT materialize(toLowCardinality(19)), toLowCardinality(toUInt128(100)), toNullable(19) FROM test_nested_alias_idx__fuzz_3 PREWHERE toLowCardinality(100) WHERE toLowCardinality(materialize(toLowCardinality(toNullable(100)))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 SELECT materialize(19), toLowCardinality(toUInt128(100)), toNullable(19) FROM test_nested_alias_idx__fuzz_3 PREWHERE toLowCardinality(100) WHERE toLowCardinality(materialize(toLowCardinality(toNullable(100)))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 464 out of 1000 SELECT materialize(19), toLowCardinality(toUInt128(100)), toNullable(19) FROM test_nested_alias_idx__fuzz_3 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 465 out of 1000 SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 466 out of 1000 SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 467 out of 1000 EXPLAIN ESTIMATE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 468 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 469 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 470 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 471 out of 1000 EXPLAIN AST SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 472 out of 1000 EXPLAIN ESTIMATE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 473 out of 1000 EXPLAIN ESTIMATE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 474 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 475 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('materialize'): materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS q. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 476 out of 1000 EXPLAIN ESTIMATE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 477 out of 1000 EXPLAIN SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 478 out of 1000 EXPLAIN AST SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 479 out of 1000 EXPLAIN ESTIMATE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 480 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 481 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 482 out of 1000 EXPLAIN ESTIMATE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 483 out of 1000 EXPLAIN ESTIMATE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 484 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('materialize'): materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS q. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 485 out of 1000 EXPLAIN AST SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 486 out of 1000 EXPLAIN AST SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 487 out of 1000 EXPLAIN AST SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 488 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 489 out of 1000 EXPLAIN SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 490 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('materialize'): materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS q. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 491 out of 1000 EXPLAIN SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 492 out of 1000 EXPLAIN SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 493 out of 1000 EXPLAIN SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 494 out of 1000 EXPLAIN SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 495 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 496 out of 1000 EXPLAIN SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 497 out of 1000 EXPLAIN SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 498 out of 1000 EXPLAIN SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 499 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 500 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 501 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 502 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('materialize'): materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS q. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 503 out of 1000 EXPLAIN AST SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 504 out of 1000 EXPLAIN AST SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 505 out of 1000 EXPLAIN AST SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 506 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 507 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 508 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 509 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 510 out of 1000 EXPLAIN ESTIMATE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 511 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 512 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('materialize'): materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS q. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 513 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 514 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 515 out of 1000 EXPLAIN AST SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 516 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 517 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 518 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 519 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 520 out of 1000 EXPLAIN AST SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 521 out of 1000 EXPLAIN AST SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 522 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 523 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 524 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 525 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 526 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 527 out of 1000 SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 528 out of 1000 SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(materialize(toLowCardinality(materialize(materialize(100)), 100))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(materialize(toLowCardinality(materialize(materialize(100)), 100))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(materialize(toLowCardinality(materialize(materialize(100)), 100))) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 529 out of 1000 SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 PREWHERE toLowCardinality(toUInt256(test_alias_skip_idx__fuzz_2, 19)) WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 PREWHERE toLowCardinality(toUInt256(test_alias_skip_idx__fuzz_2, 19)) WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_2' in scope SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_19 PREWHERE toLowCardinality(toUInt256(test_alias_skip_idx__fuzz_2, 19)) WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 530 out of 1000 SELECT materialize(19), toLowCardinality(100), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 531 out of 1000 SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 532 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 533 out of 1000 EXPLAIN AST SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 EXPLAIN AST SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 535 out of 1000 EXPLAIN AST SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 536 out of 1000 EXPLAIN AST SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 537 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 538 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 539 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 540 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 541 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 542 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 543 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 544 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 545 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 546 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 547 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('materialize'): materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_exp. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 548 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 549 out of 1000 EXPLAIN AST SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 550 out of 1000 EXPLAIN AST SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 551 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 EXPLAIN ESTIMATE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 553 out of 1000 EXPLAIN ESTIMATE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 554 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 555 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 556 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 557 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 558 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 559 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 560 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 561 out of 1000 EXPLAIN SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 562 out of 1000 EXPLAIN SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 563 out of 1000 EXPLAIN SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 564 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 565 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 566 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 567 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 568 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 569 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 570 out of 1000 SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_24 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 571 out of 1000 SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_3 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(test_alias_skip_idx__fuzz_24, 100) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(test_alias_skip_idx__fuzz_24, 100) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_24' in scope SELECT materialize(19), toLowCardinality(materialize(100)), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(test_alias_skip_idx__fuzz_24, 100) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 573 out of 1000 SELECT materialize(19), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 574 out of 1000 SELECT materialize(19), 19 FROM test_nested_alias_idx__fuzz_3 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 575 out of 1000 SELECT materialize(19), 19 FROM test_nested_alias_idx__fuzz_34 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 SELECT materialize(19), 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 577 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 578 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_17 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_17 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('19'): 19 FROM test_nested_alias_idx__fuzz_17 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 579 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 580 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 581 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 582 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 584 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 2147483646 Fuzzing step 585 out of 1000 SELECT toLowCardinality(19) FROM test_nested_alias_idx__fuzz_34 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 586 out of 1000 SELECT toLowCardinality(19) FROM test_nested_alias_idx__fuzz_34 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 587 out of 1000 SELECT toLowCardinality(19) FROM test_nested_alias_idx__fuzz_34 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 588 out of 1000 SELECT toLowCardinality(19) FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 589 out of 1000 SELECT toLowCardinality(test_alias_skip_idx__fuzz_38, 19) FROM test_nested_alias_idx__fuzz_34 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toLowCardinality(test_alias_skip_idx__fuzz_38, 19) FROM test_nested_alias_idx__fuzz_34 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_38' in scope SELECT toLowCardinality(test_alias_skip_idx__fuzz_38, 19) FROM test_nested_alias_idx__fuzz_34 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 590 out of 1000 SELECT toLowCardinality(19) FROM test_nested_alias_idx__fuzz_8 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 591 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 592 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 593 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 594 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 595 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 596 out of 1000 EXPLAIN PIPELINE compact = true SELECT 19 FROM test_nested_alias_idx__fuzz_24 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 19 FROM test_nested_alias_idx__fuzz_24 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 597 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 598 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 599 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 600 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 601 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 602 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 603 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 WHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 605 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 606 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 607 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 608 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 609 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 WHERE toLowCardinality(toLowCardinality(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 610 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 WHERE toLowCardinality(toLowCardinality(100)) GROUP BY materialize(toUInt128(100)), materialize(toLowCardinality(19)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 611 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 WHERE toLowCardinality(toLowCardinality(100)) GROUP BY materialize(100), materialize(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 256 Fuzzing step 612 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 PREWHERE toLowCardinality(toNullable(toUInt128(1)), toLowCardinality(toNullable(100))) WHERE toLowCardinality(toLowCardinality(100)) GROUP BY materialize(toUInt128(100)), toLowCardinality(19) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_34 PREWHERE toLowCardinality(toNullable(toUInt128(1)), toLowCardinality(toNullable(100))) WHERE toLowCardinality(toLowCardinality(100)) GROUP BY materialize(toUInt128(100)), toLowCardinality(19) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 19 FROM test_nested_alias_idx__fuzz_34 PREWHERE toLowCardinality(toNullable(toUInt128(1)), toLowCardinality(toNullable(100))) WHERE toLowCardinality(toLowCardinality(100)) GROUP BY materialize(toUInt128(100)), toLowCardinality(19) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 613 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 WHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt128(100), materialize(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 614 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt128(100), materialize(materialize(toLowCardinality(materialize(100))), toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt128(100), materialize(materialize(toLowCardinality(materialize(100))), toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt128(100), materialize(materialize(toLowCardinality(materialize(100))), toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 615 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 WHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt128(100), materialize(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 616 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 WHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt128(100), materialize(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 WHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt128(100), materialize(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 618 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY toUInt128(100), materialize(toLowCardinality(toLowCardinality(19))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 619 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(100), toLowCardinality(toLowCardinality(19)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 620 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY toUInt128(100), toLowCardinality(toLowCardinality(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 621 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY toUInt128(100), toLowCardinality(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 622 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY toUInt128(100), toLowCardinality(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 623 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toLowCardinality(toUInt128(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 624 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 625 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 626 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY 100, 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY 100, 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY 100, 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 627 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 628 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 629 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 630 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 631 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY toUInt128(100), toUInt128(19) WITH ROLLUP WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY toUInt128(100), toUInt128(19) WITH ROLLUP WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 117 ('CUBE'): CUBE SETTINGS query_plan_merge_expressions = 0. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 632 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY toUInt128(100), 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY toUInt128(100), 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY toUInt128(100), 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 633 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY 100, 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY 100, 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY 100, 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 634 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 635 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_3 WITH TOTALS SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 636 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 637 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 638 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 639 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 640 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 641 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 642 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 643 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 644 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 645 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 646 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 647 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 648 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 649 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 650 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 651 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 652 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 653 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 654 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 655 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 656 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_34 GROUP BY 100, toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_34 GROUP BY 100, toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('toNullable'): toNullable(19) FROM test_nested_alias_idx__fuzz_34 GROUP BY 100, toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 657 out of 1000 SELECT materialize(19), toNullable(19) FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT materialize(19), toNullable(19) FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(19), toNullable(19) FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 658 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 659 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(100), toUInt128(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 660 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt128(100), 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt128(100), 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt128(100), 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 661 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt128(toLowCardinality(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 662 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toLowCardinality(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 663 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt128(100), toLowCardinality(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 664 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_17 WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_17 WITH TOTALS SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 665 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(100), toLowCardinality(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 666 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toLowCardinality(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 667 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toLowCardinality(toUInt256(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 668 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 669 out of 1000 EXPLAIN PIPELINE header = true SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = -9223372036854775808 Error on processing query 'EXPLAIN PIPELINE header = true SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = -9223372036854775808': Received from localhost:9000. DB::Exception: Field value -9223372036854775808 is out of range of bool type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::Field const&, String&&) @ 0x0000000010bb38ab 4. /build/src/Core/SettingsFields.cpp:0: bool DB::(anonymous namespace)::fieldToNumber(DB::Field const&) @ 0x0000000010badc1c 5. /build/src/Core/SettingsFields.h:38: DB::SettingFieldNumber::SettingFieldNumber(DB::Field const&) @ 0x0000000010bb2a6c 6. /build/src/Core/SettingsFields.h:45: DB::SettingsTraits::Accessor::instance()::$_0::operator()() const::'lambda1205'(DB::Field const&)::__invoke(DB::Field const&) @ 0x0000000010ad81d2 7. /build/src/Core/Settings.h:0: DB::BaseSettings::castValueUtil(std::basic_string_view>, DB::Field const&) @ 0x0000000010898059 8. /build/src/Access/SettingsConstraints.cpp:233: bool DB::getNewValueToCheck(DB::Settings const&, DB::SettingChange&, DB::Field&, bool) @ 0x00000000108971df 9. /build/src/Access/SettingsConstraints.cpp:285: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000010895ee2 10. /build/contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000010896153 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) @ 0x00000000110fd429 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSetQuery::executeForCurrentContext(bool) @ 0x00000000116b8503 13. /build/src/Interpreters/InterpreterSetQuery.h:14: DB::applySettingsFromSelectWithUnion(DB::ASTSelectWithUnionQuery const&, std::shared_ptr) @ 0x00000000116b8cd6 14. /build/src/Interpreters/InterpreterSetQuery.cpp:0: DB::InterpreterSetQuery::applySettingsFromQuery(std::shared_ptr const&, std::shared_ptr) @ 0x00000000116b8728 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSetQuery::applySettingsFromQuery(std::shared_ptr const&, std::shared_ptr) @ 0x00000000116b8a32 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011922b97 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 670 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 671 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 672 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_8 GROUP BY 100, toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_8 GROUP BY 100, toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_8 GROUP BY 100, toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 673 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 674 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 675 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_17 WHERE materialize(materialize(toLowCardinality(100))) GROUP BY toUInt128(test_alias_skip_idx__fuzz_45, 100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_17 WHERE materialize(materialize(toLowCardinality(100))) GROUP BY toUInt128(test_alias_skip_idx__fuzz_45, 100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_45' in scope SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_17 WHERE materialize(materialize(toLowCardinality(100))) GROUP BY toUInt128(test_alias_skip_idx__fuzz_45, 100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 676 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_19 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 677 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_34 GROUP BY toUInt128(100), 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_34 GROUP BY toUInt128(100), 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_34 GROUP BY toUInt128(100), 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 679 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 680 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 681 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 682 out of 1000 EXPLAIN AST SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 683 out of 1000 EXPLAIN SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 684 out of 1000 EXPLAIN SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 685 out of 1000 EXPLAIN SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 686 out of 1000 EXPLAIN SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 687 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('toNullable'): toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 688 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 689 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 690 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 691 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 692 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 693 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 694 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 46 ('toNullable'): toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 695 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 696 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 697 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 698 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 699 out of 1000 EXPLAIN AST SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 700 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 46 ('toNullable'): toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 701 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 702 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 703 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 704 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt128(100), 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt128(100), 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt128(100), 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 705 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 706 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 707 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 708 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 709 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 710 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 46 ('toNullable'): toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 711 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 712 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 713 out of 1000 EXPLAIN AST SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 714 out of 1000 EXPLAIN AST SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 715 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 716 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 46 ('toNullable'): toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 717 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('toNullable'): toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 718 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_24 PREWHERE 'merge_expressions=0' GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_24 PREWHERE 'merge_expressions=0' GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: String. In query SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_24 PREWHERE 'merge_expressions=0' GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 719 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 720 out of 1000 EXPLAIN SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 721 out of 1000 EXPLAIN AST SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 722 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 723 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 724 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 725 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 726 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 727 out of 1000 EXPLAIN SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 728 out of 1000 EXPLAIN SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 729 out of 1000 EXPLAIN SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 730 out of 1000 SELECT toNullable(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 731 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY 100, toUInt256(toLowCardinality(19)) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY 100, toUInt256(toLowCardinality(19)) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY 100, toUInt256(toLowCardinality(19)) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 732 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 733 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 734 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY 100, 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY 100, 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY 100, 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 735 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 736 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 737 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY 100, toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY 100, toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY 100, toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 738 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 739 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt128(100), toUInt256(test_nested_alias_idx__fuzz_14, 19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt128(100), toUInt256(test_nested_alias_idx__fuzz_14, 19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_14' in scope SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt128(100), toUInt256(test_nested_alias_idx__fuzz_14, 19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 740 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 741 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(100), toUInt256(materialize(toNullable(19))) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 742 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 743 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toUInt256(test_alias_skip_idx__fuzz_1, toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toUInt256(test_alias_skip_idx__fuzz_1, toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toUInt256(test_alias_skip_idx__fuzz_1, toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 744 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(toLowCardinality(materialize(toUInt256(19))), 100), toUInt256(materialize(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(toLowCardinality(materialize(toUInt256(19))), 100), toUInt256(materialize(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0': 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 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(toLowCardinality(materialize(toUInt256(19))), 100), toUInt256(materialize(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 745 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY toUInt128(100), toUInt256(materialize(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 746 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 747 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY toUInt128(100), toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 748 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 749 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 750 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('19'): 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 751 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY 100, toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY 100, toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY 100, toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 752 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 753 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 754 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 755 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 756 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 757 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 758 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 759 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 760 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 761 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 762 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 763 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 764 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 765 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 766 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 767 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 768 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY 100, toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY 100, toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY 100, toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 769 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 770 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 771 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 772 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 773 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 774 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 775 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 776 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 777 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 778 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 779 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 780 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 781 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 782 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 783 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 784 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 785 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 786 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 787 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 788 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 789 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 790 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 791 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 792 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 793 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 794 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 795 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 796 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 797 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 798 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 799 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 801 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 802 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 803 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 804 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 805 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 806 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 807 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 808 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 809 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 47 ('19'): 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 810 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 811 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 812 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 47 ('19'): 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 813 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 814 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 815 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 816 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 817 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 818 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 47 ('19'): 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 819 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 820 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('19'): 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 821 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 822 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 823 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 824 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 825 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 826 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(a2 > materialize(toLowCardinality(test_nested_alias_idx__fuzz_22, 100)), toNullable(materialize(toFixedString('merge_expressions=0', 19)), 19)) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(a2 > materialize(toLowCardinality(test_nested_alias_idx__fuzz_22, 100)), toNullable(materialize(toFixedString('merge_expressions=0', 19)), 19)) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_22' in scope SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(a2 > materialize(toLowCardinality(test_nested_alias_idx__fuzz_22, 100)), toNullable(materialize(toFixedString('merge_expressions=0', 19)), 19)) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 827 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 828 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 829 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 830 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 831 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 832 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 833 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('19'): 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 834 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 835 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 836 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 WHERE test_nested_alias_idx__fuzz_34 GROUP BY toUInt128(1, 100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_34 WHERE test_nested_alias_idx__fuzz_34 GROUP BY toUInt128(1, 100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_34' in scope SELECT 19 FROM test_nested_alias_idx__fuzz_34 WHERE test_nested_alias_idx__fuzz_34 GROUP BY toUInt128(1, 100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 837 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 838 out of 1000 SELECT toNullable(toLowCardinality(100)), 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 1023 Fuzzing step 839 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_34 WITH TOTALS SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 840 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 841 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 47 ('19'): 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 842 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 843 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY toUInt128(100), toUInt256(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 844 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY toUInt128(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 845 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 PREWHERE toLowCardinality(toNullable(100)) GROUP BY GROUPING SETS ( (100), (toNullable(19))) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_34 PREWHERE toLowCardinality(toNullable(100)) GROUP BY GROUPING SETS ((100), (toNullable(19))) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x000000001104837a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 846 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY toUInt128(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 847 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 848 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt128(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 849 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 850 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 851 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 852 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 853 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(toUInt256(100)), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 854 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(toNullable(100), toUInt256(100)), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(toNullable(100), toUInt256(100)), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': 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 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt128(toNullable(100), toUInt256(100)), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 855 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(toUInt256(100)), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 856 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(toUInt256(100)), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 857 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(toUInt256(100)), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 858 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(toUInt256(100)), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 859 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(toUInt256(100)), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 860 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(toUInt256(100)), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 861 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(toUInt256(100)), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(toUInt256(100)), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('19'): 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(toUInt256(100)), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions =. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 862 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(toUInt256(100)), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 863 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY toUInt128(toUInt256(100)), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 864 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt128(toUInt256(100)), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 865 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt128(toUInt256(100)), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 866 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 867 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 868 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 869 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 870 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 871 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 872 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 873 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 874 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 875 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 PREWHERE minmax GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_17 PREWHERE minmax GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'minmax' in scope SELECT 19 FROM test_nested_alias_idx__fuzz_17 PREWHERE minmax GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 876 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 877 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 878 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 879 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 880 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 881 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_3 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_3 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 882 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 883 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_3 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_3 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_3 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 884 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 885 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 886 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_34 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 887 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 888 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 889 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 890 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 891 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('19'): 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 892 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 893 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 894 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 895 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 896 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 897 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 898 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 899 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 900 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 901 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 902 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 903 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 904 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 905 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 906 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 907 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 908 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 909 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 910 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 911 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 912 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 913 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 914 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 915 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 916 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 917 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 918 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 919 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 920 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 921 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 922 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 923 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 924 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 925 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 926 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 927 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 928 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 929 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 930 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('19'): 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 931 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 932 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 933 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 934 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 935 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 936 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_24 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 937 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 938 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 939 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 940 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 941 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 942 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 943 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 944 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 945 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 946 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 947 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 948 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 949 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 950 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 951 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 952 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 953 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 954 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 955 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 956 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 957 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 958 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 959 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 960 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 961 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 962 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 963 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 964 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 965 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 966 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 967 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 968 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 969 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 970 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 971 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 972 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('19'): 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 973 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 974 out of 1000 EXPLAIN AST SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 975 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 976 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('19'): 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 977 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 978 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 979 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 980 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 981 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 982 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('19'): 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 983 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 984 out of 1000 EXPLAIN SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 985 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 986 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 987 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 988 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 989 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 990 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_8 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 991 out of 1000 SELECT toUInt256(19) FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toUInt256(19) FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toUInt256(19) FROM test_nested_alias_idx__fuzz_24 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 992 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 993 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 994 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_17 GROUP BY 100, toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 995 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 996 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 997 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY toUInt256(100), toNullable(1, 19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY toUInt256(100), toNullable(1, 19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 19 FROM test_nested_alias_idx__fuzz_19 GROUP BY toUInt256(100), toNullable(1, 19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 998 out of 1000 SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt256(100), 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 999 out of 1000 SELECT toLowCardinality(19) FROM test_nested_alias_idx__fuzz_0 GROUP BY toUInt256(100), toNullable(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 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 'default_settings' Got boring AST Fuzzing step 2 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 3 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 4 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 5 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 6 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 7 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 8 out of 1000 SELECT toLowCardinality('default_settings') Query succeeded, using this AST as a start Fuzzing step 9 out of 1000 SELECT toLowCardinality('default_settings') Got boring AST Fuzzing step 10 out of 1000 SELECT toLowCardinality('default_settings') Got boring AST Fuzzing step 11 out of 1000 SELECT toLowCardinality('default_settings') Got boring AST Fuzzing step 12 out of 1000 SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 13 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 14 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 15 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 16 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 17 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 18 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 19 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 20 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 21 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 22 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 23 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 24 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 25 out of 1000 SELECT materialize(materialize(19)), 'default_settings' Query succeeded, using this AST as a start Fuzzing step 26 out of 1000 SELECT materialize(materialize(19)), 'default_settings' Got boring AST Fuzzing step 27 out of 1000 SELECT materialize(materialize(19)), 'default_settings' Got boring AST Fuzzing step 28 out of 1000 SELECT materialize(materialize(19)), 'default_settings' Got boring AST Fuzzing step 29 out of 1000 SELECT materialize(materialize(19)), 'default_settings' GROUP BY toLowCardinality(toNullable('merge_expressions=0')), materialize(toLowCardinality(19)), test_alias_skip_idx__fuzz_20, test_nested_alias_idx__fuzz_26 Error on processing query 'SELECT materialize(materialize(19)), 'default_settings' GROUP BY toLowCardinality(toNullable('merge_expressions=0')), materialize(toLowCardinality(19)), test_alias_skip_idx__fuzz_20, test_nested_alias_idx__fuzz_26': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_20' in scope SELECT materialize(materialize(19)), 'default_settings' GROUP BY toLowCardinality(toNullable('merge_expressions=0')), materialize(toLowCardinality(19)), test_alias_skip_idx__fuzz_20, test_nested_alias_idx__fuzz_26. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 30 out of 1000 SELECT materialize(materialize(19)), 'default_settings' Got boring AST Fuzzing step 31 out of 1000 SELECT materialize(materialize(19)), 'default_settings' Got boring AST Fuzzing step 32 out of 1000 EXPLAIN PIPELINE SELECT materialize(materialize(19)), 'default_settings' Query succeeded, using this AST as a start Fuzzing step 33 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(materialize(19)), 'default_settings' Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(materialize(19)), 'default_settings'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('materialize'): materialize(materialize(19)), 'default_settings'. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 34 out of 1000 EXPLAIN ESTIMATE SELECT materialize(materialize(19)), 'default_settings' Query succeeded, using this AST as a start Fuzzing step 35 out of 1000 EXPLAIN ESTIMATE SELECT materialize(materialize(19)), 'default_settings' Got boring AST Fuzzing step 36 out of 1000 EXPLAIN ESTIMATE SELECT materialize(materialize(19)), 'default_settings' Got boring AST Fuzzing step 37 out of 1000 EXPLAIN AST SELECT materialize(materialize(19)), 'default_settings' Query succeeded, using this AST as a start Fuzzing step 38 out of 1000 EXPLAIN QUERY TREE SELECT materialize(materialize(19)), 'default_settings' Query succeeded, using this AST as a start Fuzzing step 39 out of 1000 EXPLAIN QUERY TREE SELECT materialize(materialize(19)), 'default_settings' Got boring AST Fuzzing step 40 out of 1000 EXPLAIN ESTIMATE SELECT materialize(materialize(19)), 'default_settings' Query succeeded, using this AST as a start Fuzzing step 41 out of 1000 EXPLAIN ESTIMATE SELECT materialize(materialize(19)), 'default_settings' Got boring AST Fuzzing step 42 out of 1000 EXPLAIN SYNTAX SELECT materialize(materialize(19)), 'default_settings' Query succeeded, using this AST as a start Fuzzing step 43 out of 1000 EXPLAIN SYNTAX SELECT materialize(materialize(19)), 'default_settings' Got boring AST Fuzzing step 44 out of 1000 SELECT materialize(materialize(19)), 'default_settings' Query succeeded, using this AST as a start Fuzzing step 45 out of 1000 SELECT materialize(19), 'default_settings' Query succeeded, using this AST as a start Fuzzing step 46 out of 1000 SELECT materialize(19), 'default_settings' Got boring AST Fuzzing step 47 out of 1000 SELECT materialize(19), toNullable('default_settings') Query succeeded, using this AST as a start Fuzzing step 48 out of 1000 SELECT 19, toNullable('default_settings') Query succeeded, using this AST as a start Fuzzing step 49 out of 1000 SELECT 19, 'default_settings' Query succeeded, using this AST as a start Fuzzing step 50 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 51 out of 1000 SELECT toUInt128(19), 'default_settings' Query succeeded, using this AST as a start Fuzzing step 52 out of 1000 SELECT toUInt128(19), 'default_settings' Got boring AST Fuzzing step 53 out of 1000 SELECT toUInt128(19), 'default_settings' Got boring AST Fuzzing step 54 out of 1000 SELECT 19, 'default_settings' Query succeeded, using this AST as a start Fuzzing step 55 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 56 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 57 out of 1000 SELECT 19, 'default_settings' GROUP BY test_alias_skip_idx__fuzz_22 Error on processing query 'SELECT 19, 'default_settings' GROUP BY test_alias_skip_idx__fuzz_22': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_22' in scope SELECT 19, 'default_settings' GROUP BY test_alias_skip_idx__fuzz_22. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 58 out of 1000 SELECT 19, 'default_settings' WHERE toLowCardinality(toNullable('merge_expressions=0')) Error on processing query 'SELECT 19, 'default_settings' WHERE toLowCardinality(toNullable('merge_expressions=0'))': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: LowCardinality(Nullable(String)). In query SELECT 19, 'default_settings' WHERE toLowCardinality(toNullable('merge_expressions=0')). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 59 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 60 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 61 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 62 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 63 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 64 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 65 out of 1000 EXPLAIN PIPELINE SELECT 19, 'default_settings' Query succeeded, using this AST as a start Fuzzing step 66 out of 1000 EXPLAIN PIPELINE SELECT 19, 'default_settings' Got boring AST Fuzzing step 67 out of 1000 SELECT 19, 'default_settings' Query succeeded, using this AST as a start Fuzzing step 68 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 69 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 70 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 71 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 72 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 73 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 74 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 75 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 76 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 77 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 78 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 79 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 80 out of 1000 EXPLAIN optimize = true SELECT 19, 'default_settings' GROUP BY test_alias_skip_idx__fuzz_9, test_alias_skip_idx__fuzz_47 Error on processing query 'EXPLAIN optimize = true SELECT 19, 'default_settings' GROUP BY test_alias_skip_idx__fuzz_9, test_alias_skip_idx__fuzz_47': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 81 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 82 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 83 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 84 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 85 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 86 out of 1000 SELECT 19, 'default_settings' PREWHERE a Error on processing query 'SELECT 19, 'default_settings' PREWHERE a': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT 19, 'default_settings' PREWHERE a. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 87 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 88 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 89 out of 1000 SELECT 19, toLowCardinality('default_settings') WHERE toLowCardinality(toUInt256(100)) Error on processing query 'SELECT 19, toLowCardinality('default_settings') WHERE toLowCardinality(toUInt256(100))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 90 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 91 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 92 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT 19, 'default_settings' Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT 19, 'default_settings'': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 93 out of 1000 SELECT 19, 'default_settings' PREWHERE toLowCardinality(toNullable(1)) Error on processing query 'SELECT 19, 'default_settings' PREWHERE toLowCardinality(toNullable(1))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 94 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 95 out of 1000 SELECT 19, test_nested_alias_idx__fuzz_23, 'default_settings' Error on processing query 'SELECT 19, test_nested_alias_idx__fuzz_23, 'default_settings'': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_23' in scope SELECT 19, test_nested_alias_idx__fuzz_23, 'default_settings'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 96 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 97 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 98 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 99 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 100 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 101 out of 1000 SELECT 19, 'default_settings' Got boring AST Fuzzing step 102 out of 1000 EXPLAIN PIPELINE SELECT 19, 'default_settings' Query succeeded, using this AST as a start Fuzzing step 103 out of 1000 SELECT 19, materialize(toFixedString('default_settings', 16)) Query succeeded, using this AST as a start Fuzzing step 104 out of 1000 SELECT 19, materialize(toFixedString('default_settings', 16)) Got boring AST Fuzzing step 105 out of 1000 SELECT 19, materialize(toFixedString('default_settings', 16)) Got boring AST Fuzzing step 106 out of 1000 SELECT 19, materialize(toFixedString('default_settings', 16)) Got boring AST Fuzzing step 107 out of 1000 SELECT 19, materialize(toFixedString('default_settings', 16)) Got boring AST Fuzzing step 108 out of 1000 SELECT 19, materialize(toFixedString('default_settings', 16)) Got boring AST Fuzzing step 109 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT 19, materialize(toFixedString('default_settings', 16)) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT 19, materialize(toFixedString('default_settings', 16))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 110 out of 1000 SELECT 19, materialize(toFixedString('default_settings', 16)) Got boring AST Fuzzing step 111 out of 1000 SELECT 19, materialize(toFixedString('default_settings', 16)) Got boring AST Fuzzing step 112 out of 1000 SELECT 19, materialize(toFixedString('default_settings', 16)) Got boring AST Fuzzing step 113 out of 1000 SELECT 19, materialize(toFixedString('default_settings', 16)) Got boring AST Fuzzing step 114 out of 1000 SELECT 19, materialize(toFixedString('default_settings', 16)) Got boring AST Fuzzing step 115 out of 1000 SELECT 19, toFixedString('default_settings', 16) Query succeeded, using this AST as a start Fuzzing step 116 out of 1000 SELECT 19, toFixedString('default_settings', 16) GROUP BY test_nested_alias_idx__fuzz_14, test_alias_skip_idx__fuzz_29, toUInt128(toNullable(100), 100) Error on processing query 'SELECT 19, toFixedString('default_settings', 16) GROUP BY test_nested_alias_idx__fuzz_14, test_alias_skip_idx__fuzz_29, toUInt128(toNullable(100), 100)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_14' in scope SELECT 19, toFixedString('default_settings', 16) GROUP BY test_nested_alias_idx__fuzz_14, test_alias_skip_idx__fuzz_29, toUInt128(toNullable(100), 100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 117 out of 1000 SELECT 19, 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 118 out of 1000 SELECT 19, 'default_settings', 16 Got boring AST Fuzzing step 119 out of 1000 EXPLAIN PIPELINE SELECT 19, materialize('default_settings'), 16 PREWHERE test_nested_alias_idx__fuzz_18 Error on processing query 'EXPLAIN PIPELINE SELECT 19, materialize('default_settings'), 16 PREWHERE test_nested_alias_idx__fuzz_18': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_18' in scope SELECT 19, materialize('default_settings'), 16 PREWHERE test_nested_alias_idx__fuzz_18. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 120 out of 1000 SELECT 19, 'default_settings', 16 Got boring AST Fuzzing step 121 out of 1000 SELECT 19, 'default_settings', 16 PREWHERE c Error on processing query 'SELECT 19, 'default_settings', 16 PREWHERE c': Received from localhost:9000. DB::Exception: Unknown expression identifier 'c' in scope SELECT 19, 'default_settings', 16 PREWHERE c. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 122 out of 1000 SELECT 19, 'default_settings', 16 Got boring AST Fuzzing step 123 out of 1000 SELECT 19, 'default_settings', 16 Got boring AST Fuzzing step 124 out of 1000 SELECT 19, 'default_settings', 16 Got boring AST Fuzzing step 125 out of 1000 SELECT 19, 'default_settings', 16 Got boring AST Fuzzing step 126 out of 1000 SELECT 19, 'default_settings', 16 Got boring AST Fuzzing step 127 out of 1000 SELECT 19, 'default_settings', 16 Got boring AST Fuzzing step 128 out of 1000 SELECT 19, materialize('default_settings'), 16 Query succeeded, using this AST as a start Fuzzing step 129 out of 1000 SELECT 19, materialize('default_settings'), 16 Got boring AST Fuzzing step 130 out of 1000 SELECT 19, materialize('default_settings'), 16 GROUP BY test_alias_skip_idx__fuzz_43, materialize(toUInt256(19)), toUInt128(toNullable(toUInt128(100))) Error on processing query 'SELECT 19, materialize('default_settings'), 16 GROUP BY test_alias_skip_idx__fuzz_43, materialize(toUInt256(19)), toUInt128(toNullable(toUInt128(100)))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_43' in scope SELECT 19, materialize('default_settings'), 16 GROUP BY test_alias_skip_idx__fuzz_43, materialize(toUInt256(19)), toUInt128(toNullable(toUInt128(100))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 131 out of 1000 SELECT 19, materialize('default_settings'), 16 Got boring AST Fuzzing step 132 out of 1000 SELECT 19, materialize('default_settings'), 16 Got boring AST Fuzzing step 133 out of 1000 SELECT 19, materialize('default_settings'), 16 Got boring AST Fuzzing step 134 out of 1000 SELECT 19, materialize('default_settings'), 16 Got boring AST Fuzzing step 135 out of 1000 SELECT 19, materialize('default_settings'), 16 Got boring AST Fuzzing step 136 out of 1000 EXPLAIN PIPELINE compact = true SELECT 19, materialize('default_settings'), 16 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 19, materialize('default_settings'), 16': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 137 out of 1000 SELECT materialize('default_settings'), 16 Query succeeded, using this AST as a start Fuzzing step 138 out of 1000 SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 140 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 141 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 142 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 143 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 144 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 145 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 146 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 147 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 148 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 149 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 150 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 151 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 152 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 153 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 154 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 155 out of 1000 SELECT 'default_settings', 16 PREWHERE toNullable(19) Error on processing query 'SELECT 'default_settings', 16 PREWHERE toNullable(19)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 156 out of 1000 EXPLAIN QUERY TREE run_passes = true SELECT 'default_settings', 16 Error on processing query 'EXPLAIN QUERY TREE run_passes = true SELECT 'default_settings', 16': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 157 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 158 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 159 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 160 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 161 out of 1000 SELECT materialize(materialize(19)), 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 162 out of 1000 SELECT materialize(materialize(19)), 'default_settings', 16 PREWHERE test_nested_alias_idx__fuzz_24 Error on processing query 'SELECT materialize(materialize(19)), 'default_settings', 16 PREWHERE test_nested_alias_idx__fuzz_24': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_24' in scope SELECT materialize(materialize(19)), 'default_settings', 16 PREWHERE test_nested_alias_idx__fuzz_24. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 163 out of 1000 SELECT materialize(materialize(19)), 'default_settings', 16 PREWHERE test_alias_skip_idx__fuzz_3 Error on processing query 'SELECT materialize(materialize(19)), 'default_settings', 16 PREWHERE test_alias_skip_idx__fuzz_3': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_3' in scope SELECT materialize(materialize(19)), 'default_settings', 16 PREWHERE test_alias_skip_idx__fuzz_3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 164 out of 1000 EXPLAIN ESTIMATE SELECT materialize(19), 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 165 out of 1000 EXPLAIN ESTIMATE SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 166 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 167 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 168 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 169 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 170 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(19), 'default_settings', 16 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(19), 'default_settings', 16': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('materialize'): materialize(19), 'default_settings', 16. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 171 out of 1000 EXPLAIN ESTIMATE SELECT materialize(19), 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 172 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 173 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 174 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 175 out of 1000 EXPLAIN AST SELECT materialize(19), 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 176 out of 1000 EXPLAIN AST SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 177 out of 1000 EXPLAIN AST SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 178 out of 1000 EXPLAIN AST SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 179 out of 1000 EXPLAIN AST SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 180 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 181 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 182 out of 1000 EXPLAIN PIPELINE SELECT materialize(19), 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 183 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 184 out of 1000 EXPLAIN ESTIMATE SELECT materialize(19), 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 185 out of 1000 EXPLAIN ESTIMATE SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 186 out of 1000 EXPLAIN ESTIMATE SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 187 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 188 out of 1000 EXPLAIN QUERY TREE SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 189 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 190 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 191 out of 1000 EXPLAIN SYNTAX SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 192 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(19), 'default_settings', 16 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(19), 'default_settings', 16': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('materialize'): materialize(19), 'default_settings', 16. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 193 out of 1000 EXPLAIN AST SELECT materialize(19), 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 194 out of 1000 EXPLAIN AST SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 195 out of 1000 SELECT materialize(19), 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 197 out of 1000 SELECT materialize(19), 'default_settings', 16 Got boring AST Fuzzing step 198 out of 1000 SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 199 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 200 out of 1000 SELECT toFixedString('default_settings', 16), 16 GROUP BY test_alias_skip_idx__fuzz_33, test_nested_alias_idx__fuzz_12, toUInt128(100) Error on processing query 'SELECT toFixedString('default_settings', 16), 16 GROUP BY test_alias_skip_idx__fuzz_33, test_nested_alias_idx__fuzz_12, toUInt128(100)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_33' in scope SELECT toFixedString('default_settings', 16), 16 GROUP BY test_alias_skip_idx__fuzz_33, test_nested_alias_idx__fuzz_12, toUInt128(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 201 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 202 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 203 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 204 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 205 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 206 out of 1000 SELECT 'default_settings', 16 PREWHERE materialize(100) Error on processing query 'SELECT 'default_settings', 16 PREWHERE materialize(100)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 207 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 208 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Got boring AST Fuzzing step 209 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 210 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 211 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Got boring AST Fuzzing step 212 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Got boring AST Fuzzing step 213 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Got boring AST Fuzzing step 214 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'default_settings', 16 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'default_settings', 16': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 (''default_settings''): 'default_settings', 16. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 215 out of 1000 SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 216 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 217 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 218 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 219 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 220 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 221 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 222 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 223 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 224 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 225 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 226 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 227 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 228 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 229 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 230 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 231 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 232 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 233 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 234 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 235 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 236 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 237 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 238 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 239 out of 1000 SELECT 'default_settings', 16 GROUP BY test_nested_alias_idx__fuzz_5, test_alias_skip_idx__fuzz_38, 22, toLowCardinality(toUInt128(100)) Error on processing query 'SELECT 'default_settings', 16 GROUP BY test_nested_alias_idx__fuzz_5, test_alias_skip_idx__fuzz_38, 22, toLowCardinality(toUInt128(100))': Received from localhost:9000. DB::Exception: Positional argument number 22 is out of bounds. Expected in range [1, 2]. In scope SELECT 'default_settings', 16 GROUP BY test_nested_alias_idx__fuzz_5, test_alias_skip_idx__fuzz_38, 22, toLowCardinality(toUInt128(100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 240 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 241 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 242 out of 1000 SELECT 'default_settings', 16 Got boring AST Fuzzing step 243 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 244 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Got boring AST Fuzzing step 245 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 246 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings', 16 Got boring AST Fuzzing step 247 out of 1000 EXPLAIN SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 248 out of 1000 EXPLAIN SELECT 'default_settings', 16 Got boring AST Fuzzing step 249 out of 1000 EXPLAIN SELECT 'default_settings', 16 Got boring AST Fuzzing step 250 out of 1000 EXPLAIN SELECT 'default_settings', 16 Got boring AST Fuzzing step 251 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 252 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Got boring AST Fuzzing step 253 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Got boring AST Fuzzing step 254 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Got boring AST Fuzzing step 255 out of 1000 EXPLAIN AST SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 256 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 257 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings', 16 Got boring AST Fuzzing step 258 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings', 16 Got boring AST Fuzzing step 259 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings', 16 Got boring AST Fuzzing step 261 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 262 out of 1000 EXPLAIN AST SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 263 out of 1000 EXPLAIN AST SELECT 'default_settings', 16 Got boring AST Fuzzing step 264 out of 1000 EXPLAIN AST SELECT 'default_settings', 16 Got boring AST Fuzzing step 265 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 266 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 267 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings', 16 Got boring AST Fuzzing step 268 out of 1000 EXPLAIN AST SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 269 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 270 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 271 out of 1000 EXPLAIN AST SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 272 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 273 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings', 16 Got boring AST Fuzzing step 274 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings', 16 Got boring AST Fuzzing step 275 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings', 16 Got boring AST Fuzzing step 276 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 277 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Got boring AST Fuzzing step 278 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Got boring AST Fuzzing step 279 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Got boring AST Fuzzing step 280 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Got boring AST Fuzzing step 281 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Got boring AST Fuzzing step 282 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 16 Got boring AST Fuzzing step 283 out of 1000 SELECT 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 284 out of 1000 SELECT 18, 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 285 out of 1000 SELECT 18, 'default_settings', 16 Got boring AST Fuzzing step 286 out of 1000 SELECT 18, 'default_settings', 16 Got boring AST Fuzzing step 287 out of 1000 SELECT 18, 'default_settings', 16 Got boring AST Fuzzing step 288 out of 1000 SELECT 18, toLowCardinality('default_settings'), 16 Query succeeded, using this AST as a start Fuzzing step 289 out of 1000 SELECT 18, toLowCardinality('default_settings'), materialize(toLowCardinality(16)) Query succeeded, using this AST as a start Fuzzing step 290 out of 1000 SELECT 18, toLowCardinality('default_settings'), materialize(toLowCardinality(16)) Got boring AST Fuzzing step 291 out of 1000 SELECT 18, toLowCardinality(toLowCardinality('default_settings')), materialize(toLowCardinality(16)) Query succeeded, using this AST as a start Fuzzing step 292 out of 1000 SELECT 18, toLowCardinality(toLowCardinality('default_settings')), materialize(16) Query succeeded, using this AST as a start Fuzzing step 293 out of 1000 SELECT 18, toLowCardinality(toLowCardinality('default_settings')), materialize(16) Got boring AST Fuzzing step 294 out of 1000 SELECT 18, toLowCardinality(toLowCardinality('default_settings')), materialize(16) Got boring AST Fuzzing step 295 out of 1000 SELECT toUInt128(18), toLowCardinality('default_settings'), materialize(16) Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 SELECT toUInt128(18), toLowCardinality('default_settings'), materialize(16) Got boring AST Fuzzing step 297 out of 1000 SELECT toUInt128(18), toLowCardinality('default_settings'), materialize(16) WHERE toFixedString('merge_expressions=0', toLowCardinality(toUInt128(19))) Error on processing query 'SELECT toUInt128(18), toLowCardinality('default_settings'), materialize(16) WHERE toFixedString('merge_expressions=0', toLowCardinality(toUInt128(19)))': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: LowCardinality(FixedString(19)). In query SELECT toUInt128(18), toLowCardinality('default_settings'), materialize(16) WHERE toFixedString('merge_expressions=0', toLowCardinality(toUInt128(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 298 out of 1000 SELECT toUInt128(18), toLowCardinality('default_settings'), materialize(16) Got boring AST Fuzzing step 299 out of 1000 SELECT 18, toLowCardinality('default_settings'), 16 Query succeeded, using this AST as a start Fuzzing step 300 out of 1000 SELECT 18, toLowCardinality('default_settings'), 16 Got boring AST Fuzzing step 301 out of 1000 SELECT 18, toLowCardinality('default_settings'), 16 Got boring AST Fuzzing step 302 out of 1000 SELECT 18, toLowCardinality('default_settings'), 16 Got boring AST Fuzzing step 303 out of 1000 SELECT 18, toLowCardinality('default_settings'), 16 Got boring AST Fuzzing step 304 out of 1000 SELECT 18, toLowCardinality('default_settings'), 16 Got boring AST Fuzzing step 305 out of 1000 SELECT 18, 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 306 out of 1000 SELECT 18, 'default_settings', 16 Got boring AST Fuzzing step 307 out of 1000 SELECT 18, 'default_settings', 16 Got boring AST Fuzzing step 308 out of 1000 SELECT 18, 'default_settings', 16 PREWHERE toUInt256(19) Error on processing query 'SELECT 18, 'default_settings', 16 PREWHERE toUInt256(19)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 309 out of 1000 SELECT 18, 'default_settings', 16 Got boring AST Fuzzing step 310 out of 1000 SELECT 18, 'default_settings', 16 Got boring AST Fuzzing step 311 out of 1000 SELECT 18, 'default_settings', 16 Got boring AST Fuzzing step 312 out of 1000 SELECT 18, 'default_settings', 16 Got boring AST Fuzzing step 313 out of 1000 SELECT 18, 'default_settings', 16 Got boring AST Fuzzing step 314 out of 1000 SELECT 18, 'default_settings', 16 Got boring AST Fuzzing step 315 out of 1000 SELECT 18, 'default_settings', 16 Got boring AST Fuzzing step 316 out of 1000 SELECT 18, 'default_settings', 16 Got boring AST Fuzzing step 317 out of 1000 SELECT 18, 'default_settings', 16 Got boring AST Fuzzing step 318 out of 1000 SELECT toNullable(18), 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 319 out of 1000 SELECT toNullable(18), 'default_settings', 16 Got boring AST Fuzzing step 320 out of 1000 SELECT toNullable(18), 'default_settings', 16 Got boring AST Fuzzing step 321 out of 1000 SELECT toNullable(18), 'default_settings', 16 Got boring AST Fuzzing step 322 out of 1000 SELECT toNullable(18), 'default_settings', 16 Got boring AST Fuzzing step 323 out of 1000 SELECT toNullable(materialize(19), 18), 'default_settings', 16 Error on processing query 'SELECT toNullable(materialize(19), 18), 'default_settings', 16': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toNullable(materialize(19), 18), 'default_settings', 16. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 324 out of 1000 SELECT toNullable(18), 'default_settings', 16 Got boring AST Fuzzing step 325 out of 1000 SELECT toNullable(18), 'default_settings', 16 Got boring AST Fuzzing step 326 out of 1000 SELECT 18, 'default_settings', 16 Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 SELECT 18, 'default_settings', 16 Got boring AST Fuzzing step 328 out of 1000 SELECT 18, 'default_settings', 16 WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 329 out of 1000 SELECT 18, 'default_settings', 16 WHERE toNullable(19) Got boring AST Fuzzing step 330 out of 1000 SELECT 18, 'default_settings', 16 WHERE toNullable(19) Got boring AST Fuzzing step 331 out of 1000 SELECT 18, 'default_settings', 16 WHERE toNullable(19) Got boring AST Fuzzing step 332 out of 1000 SELECT 18, 'default_settings', 16 WHERE toNullable(19) Got boring AST Fuzzing step 333 out of 1000 SELECT 18, 'default_settings', 16 WHERE toNullable(19) Got boring AST Fuzzing step 334 out of 1000 SELECT 18, 'default_settings', 16 WHERE toNullable(19) Got boring AST Fuzzing step 335 out of 1000 SELECT 18, 'default_settings', 16 WHERE toNullable(19) Got boring AST Fuzzing step 336 out of 1000 SELECT 18, 'default_settings', 16 WHERE toNullable(19) Got boring AST Fuzzing step 337 out of 1000 SELECT 18, 'default_settings', 16 WHERE toNullable(19) Got boring AST Fuzzing step 338 out of 1000 SELECT 18, 'default_settings', 16 WHERE toNullable(19) Got boring AST Fuzzing step 339 out of 1000 SELECT 18, 'default_settings', 16 WHERE toNullable(19) Got boring AST Fuzzing step 340 out of 1000 SELECT 'default_settings', 16 WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 341 out of 1000 SELECT 'default_settings', 16 WHERE toNullable(19) Got boring AST Fuzzing step 342 out of 1000 SELECT 'default_settings', 16 WHERE toNullable(19) Got boring AST Fuzzing step 343 out of 1000 SELECT toLowCardinality(toLowCardinality('default_settings')), 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Query succeeded, using this AST as a start Fuzzing step 344 out of 1000 SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Query succeeded, using this AST as a start Fuzzing step 345 out of 1000 SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Got boring AST Fuzzing step 346 out of 1000 SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Got boring AST Fuzzing step 347 out of 1000 SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY 19 WITH TOTALS Error on processing query 'SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY 19 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY 19 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 348 out of 1000 SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Got boring AST Fuzzing step 349 out of 1000 SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(toUInt128(toUInt256(19)), 19) GROUP BY materialize(19) Error on processing query 'SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(toUInt128(toUInt256(19)), 19) GROUP BY materialize(19)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(toUInt128(toUInt256(19)), 19) GROUP BY materialize(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 350 out of 1000 SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Got boring AST Fuzzing step 351 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings', 'default_settings', 16 WHERE toNullable(19) GROUP BY 19 Error on processing query 'EXPLAIN PIPELINE SELECT 'default_settings', 'default_settings', 16 WHERE toNullable(19) GROUP BY 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 'default_settings', 'default_settings', 16 WHERE toNullable(19) GROUP BY 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 352 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY 19 Error on processing query 'EXPLAIN SYNTAX SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY 19': Received from localhost:9000. DB::Exception: Positional argument out of bounds: 19 (expected in range [1, 3]: While processing SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY 19: While processing SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x000000001199a4f8 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&) @ 0x000000001189c5c0 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) @ 0x000000001189779f 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 @ 0x0000000011891fc6 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 13. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 353 out of 1000 SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Got boring AST Fuzzing step 354 out of 1000 SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Got boring AST Fuzzing step 355 out of 1000 SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) WITH TOTALS Error on processing query 'SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 356 out of 1000 SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Got boring AST Fuzzing step 357 out of 1000 SELECT toLowCardinality('default_settings'), 'default_settings', materialize(16) WHERE toNullable(19) WITH TOTALS Error on processing query 'SELECT toLowCardinality('default_settings'), 'default_settings', materialize(16) WHERE toNullable(19) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 358 out of 1000 SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Got boring AST Fuzzing step 359 out of 1000 SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY 19 Error on processing query 'SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 360 out of 1000 SELECT toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Got boring AST Fuzzing step 361 out of 1000 SELECT toNullable(toUInt256(100)), toLowCardinality('default_settings'), 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Query succeeded, using this AST as a start Fuzzing step 362 out of 1000 SELECT toNullable(toUInt256(100)), 'default_settings', 'default_settings', toUInt256(16) WHERE toNullable(19) GROUP BY materialize(19) Query succeeded, using this AST as a start Fuzzing step 363 out of 1000 SELECT toNullable(toUInt256(100)), 'default_settings', 'default_settings', toUInt256(16) PREWHERE materialize(toLowCardinality(materialize(100))) WHERE toNullable(19) GROUP BY materialize(19) Error on processing query 'SELECT toNullable(toUInt256(100)), 'default_settings', 'default_settings', toUInt256(16) PREWHERE materialize(toLowCardinality(materialize(100))) WHERE toNullable(19) GROUP BY materialize(19)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 364 out of 1000 EXPLAIN PIPELINE compact = true SELECT toNullable(toUInt256(100)), 'default_settings', 'default_settings', toUInt256(16) WHERE toNullable(19) GROUP BY materialize(19) Error on processing query 'EXPLAIN PIPELINE compact = true SELECT toNullable(toUInt256(100)), 'default_settings', 'default_settings', toUInt256(16) WHERE toNullable(19) GROUP BY materialize(19)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 365 out of 1000 SELECT toNullable(toUInt256(100)), 'default_settings', 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Query succeeded, using this AST as a start Fuzzing step 366 out of 1000 SELECT toNullable(toUInt256(100)), 'default_settings', 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Got boring AST Fuzzing step 367 out of 1000 SELECT toNullable(toUInt256(100)), 'default_settings', 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Got boring AST Fuzzing step 368 out of 1000 SELECT toUInt256(100), 'default_settings', 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Query succeeded, using this AST as a start Fuzzing step 369 out of 1000 SELECT toUInt256(100), toNullable(toLowCardinality('merge_expressions=0')), 'default_settings', 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Query succeeded, using this AST as a start Fuzzing step 370 out of 1000 SELECT toUInt256(100), toNullable(toLowCardinality('merge_expressions=0')), 'default_settings', 'default_settings', 16 WHERE toNullable(toUInt256(1), 19) GROUP BY materialize(19) Error on processing query 'SELECT toUInt256(100), toNullable(toLowCardinality('merge_expressions=0')), 'default_settings', 'default_settings', 16 WHERE toNullable(toUInt256(1), 19) GROUP BY materialize(19)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toUInt256(100), toNullable(toLowCardinality('merge_expressions=0')), 'default_settings', 'default_settings', 16 WHERE toNullable(toUInt256(1), 19) GROUP BY materialize(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 371 out of 1000 SELECT toUInt256(100), toNullable(toLowCardinality('merge_expressions=0')), 'default_settings', 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Got boring AST Fuzzing step 372 out of 1000 SELECT toUInt256(100), test_nested_alias_idx__fuzz_26, toLowCardinality('merge_expressions=0'), 'default_settings', 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Error on processing query 'SELECT toUInt256(100), test_nested_alias_idx__fuzz_26, toLowCardinality('merge_expressions=0'), 'default_settings', 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_26' in scope SELECT toUInt256(100), test_nested_alias_idx__fuzz_26, toLowCardinality('merge_expressions=0'), 'default_settings', 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 373 out of 1000 SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings', 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Query succeeded, using this AST as a start Fuzzing step 374 out of 1000 SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings', 'default_settings', 16 WHERE toNullable(19) GROUP BY materialize(19) Got boring AST Fuzzing step 375 out of 1000 SELECT toUInt256(toNullable(100)), toLowCardinality('merge_expressions=0'), 'default_settings', toNullable(toFixedString('default_settings', 16)), toUInt128(16) WHERE toNullable(19) GROUP BY materialize(19) Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 SELECT toUInt256(toNullable(100)), toLowCardinality('merge_expressions=0'), 'default_settings', toFixedString('default_settings', 16), 16 WHERE toNullable(19) GROUP BY materialize(19) Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings', 'default_settings', 16, 16 WHERE toNullable(19) GROUP BY materialize(19) Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 379 out of 1000 SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 380 out of 1000 SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 381 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 382 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('toUInt256'): toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 383 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 384 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('toUInt256'): toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 385 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 386 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 387 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 388 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 389 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 390 out of 1000 SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(toUInt128(22), 19) GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(toUInt128(22), 19) GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(toUInt128(22), 19) GROUP BY GROUPING SETS ((materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 391 out of 1000 EXPLAIN AST SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 392 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 394 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('toUInt256'): toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 395 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 396 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 397 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 398 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('toUInt256'): toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 399 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 400 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 401 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 402 out of 1000 EXPLAIN SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 EXPLAIN SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 404 out of 1000 EXPLAIN SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 405 out of 1000 EXPLAIN SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 406 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('toUInt256'): toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 407 out of 1000 EXPLAIN SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 408 out of 1000 SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), materialize(toLowCardinality(toFixedString('default_settings', 16))) WHERE toNullable(19) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), materialize(toLowCardinality(toFixedString('default_settings', 16))) WHERE toNullable(19) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), materialize(toLowCardinality(toFixedString('default_settings', 16))) WHERE toNullable(19) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 409 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 411 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 412 out of 1000 EXPLAIN AST SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 413 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 414 out of 1000 SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 SELECT toUInt256(100), toLowCardinality('merge_expressions=0'), 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 416 out of 1000 SELECT toUInt256(100), 'merge_expressions=0', 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 417 out of 1000 SELECT toUInt256(100), 'merge_expressions=0', 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 418 out of 1000 SELECT toUInt256(100), 'merge_expressions=0', 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 419 out of 1000 SELECT 100, 'merge_expressions=0', 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 420 out of 1000 SELECT 100, 'merge_expressions=0', 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 421 out of 1000 SELECT 100, 'merge_expressions=0', 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 422 out of 1000 SELECT 100, 'merge_expressions=0', 'default_settings' WHERE toNullable(test_alias_skip_idx__fuzz_29, 19) GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'SELECT 100, 'merge_expressions=0', 'default_settings' WHERE toNullable(test_alias_skip_idx__fuzz_29, 19) GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_29' in scope SELECT 100, 'merge_expressions=0', 'default_settings' WHERE toNullable(test_alias_skip_idx__fuzz_29, 19) GROUP BY GROUPING SETS ((materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 423 out of 1000 SELECT 100, 'merge_expressions=0', 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 424 out of 1000 SELECT 100, 'merge_expressions=0', 'default_settings' GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT 100, 'merge_expressions=0', 'default_settings' GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 'merge_expressions=0', 'default_settings' GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 425 out of 1000 SELECT 100, 'merge_expressions=0' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 426 out of 1000 SELECT 100, 'merge_expressions=0' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 427 out of 1000 SELECT materialize(100), 'merge_expressions=0' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 428 out of 1000 SELECT materialize(materialize(100)), 'merge_expressions=0' WHERE toNullable(19) GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT materialize(materialize(100)), 'merge_expressions=0' WHERE toNullable(19) GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(materialize(100)), 'merge_expressions=0' WHERE toNullable(19) GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 429 out of 1000 SELECT materialize(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 430 out of 1000 SELECT materialize(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 431 out of 1000 SELECT materialize(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 432 out of 1000 SELECT materialize(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 433 out of 1000 SELECT materialize(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 434 out of 1000 SELECT materialize(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 435 out of 1000 SELECT materialize(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 436 out of 1000 SELECT materialize(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 437 out of 1000 SELECT materialize(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 438 out of 1000 SELECT materialize(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 439 out of 1000 SELECT materialize(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(test_alias_skip_idx__fuzz_4, 19))) WITH TOTALS Error on processing query 'SELECT materialize(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(test_alias_skip_idx__fuzz_4, 19))) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_4' in scope SELECT materialize(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(test_alias_skip_idx__fuzz_4, 19))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 440 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 441 out of 1000 SELECT materialize(100), test_alias_skip_idx__fuzz_17, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Error on processing query 'SELECT materialize(100), test_alias_skip_idx__fuzz_17, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_17' in scope SELECT materialize(100), test_alias_skip_idx__fuzz_17, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 442 out of 1000 SELECT materialize(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 443 out of 1000 SELECT materialize(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 444 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 446 out of 1000 SELECT 100, 'merge_expressions=0' PREWHERE test_alias_skip_idx__fuzz_26 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Error on processing query 'SELECT 100, 'merge_expressions=0' PREWHERE test_alias_skip_idx__fuzz_26 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_26' in scope SELECT 100, 'merge_expressions=0' PREWHERE test_alias_skip_idx__fuzz_26 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 447 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 448 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 449 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 450 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 451 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 452 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 453 out of 1000 SELECT 100, 'merge_expressions=0' WHERE test_alias_skip_idx__fuzz_30 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Error on processing query 'SELECT 100, 'merge_expressions=0' WHERE test_alias_skip_idx__fuzz_30 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_30' in scope SELECT 100, 'merge_expressions=0' WHERE test_alias_skip_idx__fuzz_30 GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 454 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 455 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 456 out of 1000 SELECT 100, 'merge_expressions=0' WITH TOTALS Error on processing query 'SELECT 100, 'merge_expressions=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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 457 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 458 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 459 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 460 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 461 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(test_alias_skip_idx__fuzz_44, 19))) WITH TOTALS Error on processing query 'SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(test_alias_skip_idx__fuzz_44, 19))) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_44' in scope SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(test_alias_skip_idx__fuzz_44, 19))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 462 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 463 out of 1000 SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 464 out of 1000 SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 465 out of 1000 SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(toUInt128(19), 19))) WITH TOTALS Error on processing query 'SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(toUInt128(19), 19))) 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 toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(toUInt128(19), 19))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 466 out of 1000 SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 467 out of 1000 SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 468 out of 1000 SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 469 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 470 out of 1000 SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 471 out of 1000 SELECT toLowCardinality('merge_expressions=0', 100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Error on processing query 'SELECT toLowCardinality('merge_expressions=0', 100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) 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 toLowCardinality('merge_expressions=0', 100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 472 out of 1000 SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(a > toNullable(toNullable(100)), 19))) WITH TOTALS Error on processing query 'SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(a > toNullable(toNullable(100)), 19))) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(a > toNullable(toNullable(100)), 19))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 473 out of 1000 SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 474 out of 1000 EXPLAIN PIPELINE header = true SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Error on processing query 'EXPLAIN PIPELINE header = true SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 475 out of 1000 SELECT toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) WITH TOTALS Got boring AST Fuzzing step 476 out of 1000 SELECT toUInt128(100), toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 477 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 478 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 479 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(19))) WITH TOTALS Got boring AST Fuzzing step 480 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(19))) WITH TOTALS Got boring AST Fuzzing step 481 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 482 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('toUInt128'): toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 483 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Got boring AST Fuzzing step 484 out of 1000 EXPLAIN AST SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 485 out of 1000 EXPLAIN AST SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Got boring AST Fuzzing step 486 out of 1000 EXPLAIN PIPELINE SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 EXPLAIN SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 EXPLAIN SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Got boring AST Fuzzing step 489 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 490 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('toUInt128'): toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 491 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('toUInt128'): toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 492 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Got boring AST Fuzzing step 493 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Got boring AST Fuzzing step 494 out of 1000 EXPLAIN PIPELINE SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 495 out of 1000 EXPLAIN PIPELINE SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Got boring AST Fuzzing step 496 out of 1000 EXPLAIN PIPELINE SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Got boring AST Fuzzing step 497 out of 1000 EXPLAIN PIPELINE SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Got boring AST Fuzzing step 498 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 499 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Got boring AST Fuzzing step 500 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Got boring AST Fuzzing step 501 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Got boring AST Fuzzing step 502 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('toUInt128'): toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 503 out of 1000 EXPLAIN SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 504 out of 1000 EXPLAIN ESTIMATE SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 505 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(materialize(toUInt256(19))))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 506 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(toUInt256(19)))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 507 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toLowCardinality(toUInt256(19)))) WITH TOTALS Got boring AST Fuzzing step 508 out of 1000 EXPLAIN QUERY TREE dump_passes = true, passes = true SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS Error on processing query 'EXPLAIN QUERY TREE dump_passes = true, passes = true SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 509 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 510 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS Got boring AST Fuzzing step 511 out of 1000 SELECT toUInt128(100), toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS Error on processing query 'SELECT toUInt128(100), toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT toUInt128(100), toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 512 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS Got boring AST Fuzzing step 513 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS Got boring AST Fuzzing step 514 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS Got boring AST Fuzzing step 515 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS Got boring AST Fuzzing step 516 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS Got boring AST Fuzzing step 517 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS Got boring AST Fuzzing step 518 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS Got boring AST Fuzzing step 519 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS Got boring AST Fuzzing step 520 out of 1000 SELECT toUInt128(100), 100, test_alias_skip_idx__fuzz_24, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS Error on processing query 'SELECT toUInt128(100), 100, test_alias_skip_idx__fuzz_24, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_24' in scope SELECT toUInt128(100), 100, test_alias_skip_idx__fuzz_24, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 521 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH CUBE WITH TOTALS Error on processing query 'SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 522 out of 1000 SELECT toUInt128(100), toUInt128(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 523 out of 1000 SELECT toUInt128(100), toUInt128(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS Got boring AST Fuzzing step 524 out of 1000 SELECT toUInt128(100), toUInt128(100), 'merge_expressions=0' WHERE test_nested_alias_idx WITH TOTALS Error on processing query 'SELECT toUInt128(100), toUInt128(100), 'merge_expressions=0' WHERE test_nested_alias_idx WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx' in scope SELECT toUInt128(100), toUInt128(100), 'merge_expressions=0' WHERE test_nested_alias_idx WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 525 out of 1000 SELECT toUInt128(100), toUInt128(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS Got boring AST Fuzzing step 526 out of 1000 SELECT toUInt128(100), toUInt128(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) WITH TOTALS Got boring AST Fuzzing step 527 out of 1000 SELECT toUInt128(100), toUInt128(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) Query succeeded, using this AST as a start Fuzzing step 528 out of 1000 SELECT toUInt128(100), test_nested_alias_idx__fuzz_8, toUInt128(100), 'merge_expressions=0' WITH TOTALS Error on processing query 'SELECT toUInt128(100), test_nested_alias_idx__fuzz_8, toUInt128(100), 'merge_expressions=0' WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_8' in scope SELECT toUInt128(100), test_nested_alias_idx__fuzz_8, toUInt128(100), 'merge_expressions=0' WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 529 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(19))) Query succeeded, using this AST as a start Fuzzing step 530 out of 1000 SELECT toUInt128(100), 100, toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((toUInt256(materialize(19)))) Query succeeded, using this AST as a start Fuzzing step 531 out of 1000 SELECT toUInt128(100), 100, toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((toUInt256(materialize(19)))) Got boring AST Fuzzing step 532 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(materialize(19)))) Query succeeded, using this AST as a start Fuzzing step 533 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(materialize(19)))) Got boring AST Fuzzing step 534 out of 1000 SELECT toUInt128(100), 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(materialize(19)))) Got boring AST Fuzzing step 535 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((toUInt256(materialize(19)))) Query succeeded, using this AST as a start Fuzzing step 536 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 537 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 538 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 539 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 540 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 541 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 542 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 543 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 544 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 545 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 546 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 547 out of 1000 SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) WITH CUBE Error on processing query 'SELECT 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 548 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 549 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 550 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 551 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 552 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 553 out of 1000 SELECT 100, 100, 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 554 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 555 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 556 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 558 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 559 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 560 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 561 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 562 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 563 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 564 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 565 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 566 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 567 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 568 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 569 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 570 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('100'): 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 571 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 572 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 573 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 574 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 575 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 576 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 577 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 578 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 579 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 580 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 581 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('100'): 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 582 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 584 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 585 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 586 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 587 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 588 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 589 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('100'): 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 590 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 591 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 592 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 593 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 594 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('100'): 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 595 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 596 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 597 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 598 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 599 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 600 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 601 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 602 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 603 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 605 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 606 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 607 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 608 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 609 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 610 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 611 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 612 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 613 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('100'): 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 614 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('100'): 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 615 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 616 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 618 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 619 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 620 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 621 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 622 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 623 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 624 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 625 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 626 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 627 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 628 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 629 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 630 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 631 out of 1000 SELECT 100, toLowCardinality(100), 'merge_expressions=0' PREWHERE toNullable('merge_expressions=0', 19) GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'SELECT 100, toLowCardinality(100), 'merge_expressions=0' PREWHERE toNullable('merge_expressions=0', 19) GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 100, toLowCardinality(100), 'merge_expressions=0' PREWHERE toNullable('merge_expressions=0', 19) GROUP BY GROUPING SETS ((materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 632 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 633 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 634 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 635 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 636 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 637 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 638 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 639 out of 1000 SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 640 out of 1000 SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 641 out of 1000 SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 642 out of 1000 SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 643 out of 1000 SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 644 out of 1000 SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 645 out of 1000 SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 646 out of 1000 SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 647 out of 1000 SELECT 100, 100, 'merge_expressions=0' WHERE MergeTree GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'SELECT 100, 100, 'merge_expressions=0' WHERE MergeTree GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'MergeTree' in scope SELECT 100, 100, 'merge_expressions=0' WHERE MergeTree GROUP BY GROUPING SETS ((materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 648 out of 1000 SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 649 out of 1000 SELECT 100, toLowCardinality(materialize(toLowCardinality(100)), 100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'SELECT 100, toLowCardinality(materialize(toLowCardinality(100)), 100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 100, toLowCardinality(materialize(toLowCardinality(100)), 100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 650 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 651 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 652 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 653 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 654 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 655 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 656 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 657 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 658 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 659 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 660 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 661 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 662 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 663 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 664 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 665 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 666 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 667 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 668 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 669 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 670 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 671 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 672 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 673 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 674 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 675 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 676 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 677 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 678 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 679 out of 1000 SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 680 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 681 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 682 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 683 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 684 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 685 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 686 out of 1000 SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 687 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 688 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 689 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 690 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 691 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 692 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 693 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 694 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 695 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 696 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 697 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 698 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 699 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 700 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 701 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 702 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 703 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 704 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 705 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 706 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 707 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 708 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 709 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 710 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 711 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 712 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 713 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 714 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 715 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 716 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 717 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 718 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 719 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 720 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 721 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 722 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 723 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 724 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 725 out of 1000 SELECT 100, toLowCardinality(test_alias_skip_idx__fuzz_3, 100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, toLowCardinality(test_alias_skip_idx__fuzz_3, 100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_3' in scope SELECT 100, toLowCardinality(test_alias_skip_idx__fuzz_3, 100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 726 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 727 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 728 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 729 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 730 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 731 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 732 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 733 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 734 out of 1000 SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 735 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 736 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 737 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 738 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 739 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 740 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 741 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 742 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 743 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 744 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 745 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 746 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 747 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 748 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 749 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 750 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 751 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 752 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 753 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 754 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 755 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 756 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 757 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 758 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 759 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 760 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 761 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 762 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 763 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 764 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 765 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 766 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 767 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 768 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 769 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 770 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 771 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 772 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 773 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 774 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 775 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 776 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 777 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 778 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 779 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 780 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 781 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 782 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 783 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 784 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 785 out of 1000 SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 786 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 787 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 788 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 789 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 790 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 791 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 792 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 793 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 794 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 795 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 796 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 797 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 798 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 799 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 800 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 801 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 802 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 803 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 804 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 805 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 806 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 807 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 808 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 809 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 810 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 811 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 812 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 813 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 814 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 815 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 816 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 817 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 818 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 819 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 820 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 821 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 822 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 823 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 824 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 825 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 826 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 827 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 828 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 829 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 830 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 831 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 832 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 833 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 834 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 835 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 836 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 837 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 838 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 839 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 840 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 841 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 842 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 843 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 844 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN ESTIMATE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 845 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 846 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 847 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 848 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 849 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 850 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 851 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 852 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 853 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 854 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 855 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 856 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN PIPELINE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 857 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 858 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 859 out of 1000 SELECT toUInt128(100), toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT toUInt128(100), toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT toUInt128(100), toLowCardinality(100), 'merge_expressions=0' GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 860 out of 1000 SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 861 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 862 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 863 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 864 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 865 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 866 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 867 out of 1000 EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 868 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Query succeeded, using this AST as a start Fuzzing step 869 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 870 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('100'): 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 871 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 872 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 873 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 874 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 875 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Got boring AST Fuzzing step 876 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'EXPLAIN QUERY TREE SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 877 out of 1000 SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0') GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 878 out of 1000 SELECT 100, toLowCardinality(100), toNullable(toFixedString('merge_expressions=0', 19)) GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 879 out of 1000 SELECT 100, toLowCardinality(100), toNullable(toFixedString('merge_expressions=0', 19)) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, toLowCardinality(100), toNullable(toFixedString('merge_expressions=0', 19)) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(100), toNullable(toFixedString('merge_expressions=0', 19)) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 880 out of 1000 SELECT 100, toLowCardinality(100), toNullable(toFixedString('merge_expressions=0', 19)) GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 881 out of 1000 SELECT 100, toLowCardinality(100), toNullable(toFixedString('merge_expressions=0', 19)) GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 882 out of 1000 SELECT 100, toLowCardinality(100), toNullable(toFixedString('merge_expressions=0')) GROUP BY GROUPING SETS ((toLowCardinality(19))) Error on processing query 'SELECT 100, toLowCardinality(100), toNullable(toFixedString('merge_expressions=0')) GROUP BY GROUPING SETS ((toLowCardinality(19)))': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope SELECT 100, toLowCardinality(100), toNullable(toFixedString('merge_expressions=0')) GROUP BY GROUPING SETS ((toLowCardinality(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 883 out of 1000 SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0', 19) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0', 19) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0', 19) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 884 out of 1000 SELECT 100, toLowCardinality(100), toNullable(toFixedString('merge_expressions=0', 19)) GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 885 out of 1000 SELECT 100, toLowCardinality(100), toNullable(toFixedString('merge_expressions=0', 19)) GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 886 out of 1000 SELECT 100, toLowCardinality(100), toNullable(toFixedString('merge_expressions=0', 19)) GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 887 out of 1000 SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)) GROUP BY GROUPING SETS ((toLowCardinality(test_nested_alias_idx__fuzz_13, 19))) Error on processing query 'SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)) GROUP BY GROUPING SETS ((toLowCardinality(test_nested_alias_idx__fuzz_13, 19)))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_13' in scope SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)) GROUP BY GROUPING SETS ((toLowCardinality(test_nested_alias_idx__fuzz_13, 19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 888 out of 1000 SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0', 19) GROUP BY GROUPING SETS ((toLowCardinality(19))) Error on processing query 'SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0', 19) GROUP BY GROUPING SETS ((toLowCardinality(19)))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0', 19) GROUP BY GROUPING SETS ((toLowCardinality(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 889 out of 1000 SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0', 19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(19)))) Error on processing query 'SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0', 19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(19))))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 100, toLowCardinality(100), toNullable('merge_expressions=0', 19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(19)))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 890 out of 1000 SELECT 100, toLowCardinality(100), toNullable(toFixedString('merge_expressions=0', 19)) GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 891 out of 1000 SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 892 out of 1000 SELECT 100, toLowCardinality(toNullable(toUInt128(100)), 100), toFixedString('merge_expressions=0', 19) GROUP BY GROUPING SETS ((toLowCardinality(19))) Error on processing query 'SELECT 100, toLowCardinality(toNullable(toUInt128(100)), 100), toFixedString('merge_expressions=0', 19) GROUP BY GROUPING SETS ((toLowCardinality(19)))': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 100, toLowCardinality(toNullable(toUInt128(100)), 100), toFixedString('merge_expressions=0', 19) GROUP BY GROUPING SETS ((toLowCardinality(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 893 out of 1000 SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)) WHERE toUInt256(19) GROUP BY GROUPING SETS ((toLowCardinality(19))) Error on processing query 'SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)) WHERE toUInt256(19) GROUP BY GROUPING SETS ((toLowCardinality(19)))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 894 out of 1000 SELECT 100, toLowCardinality(100), toFixedString('merge_expressions=0', 19) GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 895 out of 1000 SELECT 100, 100, toFixedString('merge_expressions=0', 19) GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 896 out of 1000 SELECT 100, 100, toFixedString(toNullable('merge_expressions=0'), 19) GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 897 out of 1000 SELECT 100, 100, toFixedString(toNullable('merge_expressions=0'), 19) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, 100, toFixedString(toNullable('merge_expressions=0'), 19) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 100, toFixedString(toNullable('merge_expressions=0'), 19) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 898 out of 1000 SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 899 out of 1000 EXPLAIN ESTIMATE SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 900 out of 1000 EXPLAIN ESTIMATE SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 901 out of 1000 EXPLAIN QUERY TREE SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 902 out of 1000 EXPLAIN QUERY TREE SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 903 out of 1000 EXPLAIN QUERY TREE SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 904 out of 1000 EXPLAIN QUERY TREE SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 905 out of 1000 EXPLAIN AST SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 906 out of 1000 EXPLAIN AST SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 907 out of 1000 EXPLAIN QUERY TREE SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 908 out of 1000 EXPLAIN SYNTAX SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 909 out of 1000 EXPLAIN SYNTAX SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 910 out of 1000 EXPLAIN SYNTAX SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 911 out of 1000 EXPLAIN SYNTAX SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 912 out of 1000 EXPLAIN SYNTAX SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 913 out of 1000 EXPLAIN SYNTAX SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 914 out of 1000 EXPLAIN ESTIMATE SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 915 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('100'): 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 916 out of 1000 EXPLAIN SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 917 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('100'): 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 918 out of 1000 EXPLAIN SYNTAX SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 919 out of 1000 EXPLAIN PIPELINE SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 920 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('100'): 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 921 out of 1000 EXPLAIN PIPELINE SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 922 out of 1000 EXPLAIN QUERY TREE SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 923 out of 1000 EXPLAIN PIPELINE SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 924 out of 1000 EXPLAIN QUERY TREE SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 925 out of 1000 EXPLAIN AST SELECT 100, 100, toNullable('merge_expressions=0'), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 926 out of 1000 SELECT 100, 100, toNullable(toLowCardinality(toNullable(toFixedString('merge_expressions=0', 19)))), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 927 out of 1000 SELECT 100, 100, toNullable(toLowCardinality(toNullable(toFixedString('merge_expressions=0', 19)))), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 928 out of 1000 SELECT 100, 100, toNullable(toLowCardinality(toNullable('merge_expressions=0', 19))), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Error on processing query 'SELECT 100, 100, toNullable(toLowCardinality(toNullable('merge_expressions=0', 19))), 19 GROUP BY GROUPING SETS ((toLowCardinality(19)))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 100, 100, toNullable(toLowCardinality(toNullable('merge_expressions=0', 19))), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 929 out of 1000 SELECT 100, 100, toNullable(toNullable(toFixedString('merge_expressions=0', 19))), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 930 out of 1000 SELECT 100, 100, toNullable(toNullable(toFixedString('merge_expressions=0'))), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Error on processing query 'SELECT 100, 100, toNullable(toNullable(toFixedString('merge_expressions=0'))), 19 GROUP BY GROUPING SETS ((toLowCardinality(19)))': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope SELECT 100, 100, toNullable(toNullable(toFixedString('merge_expressions=0'))), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 931 out of 1000 SELECT 100, 100, toNullable(toNullable(toFixedString('merge_expressions=0', 19))), 19 WITH TOTALS Error on processing query 'SELECT 100, 100, toNullable(toNullable(toFixedString('merge_expressions=0', 19))), 19 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 932 out of 1000 SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 933 out of 1000 SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', toLowCardinality(19))), 19 GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', toLowCardinality(19))), 19 GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', toLowCardinality(19))), 19 GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 934 out of 1000 SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 935 out of 1000 SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)), 19 GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)), 19 GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)), 19 GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 936 out of 1000 SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 937 out of 1000 SELECT 100, 100, toFixedString('merge_expressions=0', 19), 19 GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, 100, toFixedString('merge_expressions=0', 19), 19 GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 4]. In scope SELECT 100, 100, toFixedString('merge_expressions=0', 19), 19 GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 938 out of 1000 SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 939 out of 1000 SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 940 out of 1000 SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 941 out of 1000 SELECT 100, 100, toNullable('merge_expressions=0', 19), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Error on processing query 'SELECT 100, 100, toNullable('merge_expressions=0', 19), 19 GROUP BY GROUPING SETS ((toLowCardinality(19)))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 100, 100, toNullable('merge_expressions=0', 19), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 942 out of 1000 SELECT 100, 100, toNullable(toFixedString('merge_expressions=0', 19)), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 943 out of 1000 SELECT 100, 100, toFixedString('merge_expressions=0', 19), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 944 out of 1000 SELECT 100, 100, toFixedString('merge_expressions=0', 19), 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 945 out of 1000 SELECT 100, 100, toFixedString('merge_expressions=0', 19), toNullable(toUInt256(19)) GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 946 out of 1000 SELECT 100, 100, toFixedString('merge_expressions=0', 19), toUInt256(19) GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 947 out of 1000 SELECT 100, 100, toFixedString('merge_expressions=0', 19), toUInt256(19) GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 948 out of 1000 SELECT 100, 100, toFixedString('merge_expressions=0', 19), toUInt256(19) GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 949 out of 1000 SELECT 100, 100, toNullable(materialize(materialize(toUInt256(19)))), toFixedString('merge_expressions=0', 19), toUInt256(19) GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 950 out of 1000 SELECT 100, 100, toNullable(materialize(materialize(toUInt256(19)))), toFixedString('merge_expressions=0', materialize(toNullable(19))), toUInt256(toLowCardinality(19)) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, 100, toNullable(materialize(materialize(toUInt256(19)))), toFixedString('merge_expressions=0', materialize(toNullable(19))), toUInt256(toLowCardinality(19)) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Second argument for function toFixedString must be constant: In scope SELECT 100, 100, toNullable(materialize(materialize(toUInt256(19)))), toFixedString('merge_expressions=0', materialize(toNullable(19))), toUInt256(toLowCardinality(19)) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/toFixedString.h:0: DB::FunctionToFixedString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b796de2 5. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 951 out of 1000 SELECT 100, 100, materialize(materialize(toUInt256(19))), toFixedString('merge_expressions=0', 19), toUInt256(19) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, 100, materialize(materialize(toUInt256(19))), toFixedString('merge_expressions=0', 19), toUInt256(19) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 5]. In scope SELECT 100, 100, materialize(materialize(toUInt256(19))), toFixedString('merge_expressions=0', 19), toUInt256(19) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 952 out of 1000 SELECT 100, 100, toNullable(materialize(materialize(toUInt256(19)))), toFixedString('merge_expressions=0', 19), toUInt256(toNullable(19)) GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 953 out of 1000 SELECT 100, 100, toNullable(materialize(materialize(toUInt256(19)))), 'merge_expressions=0', 19, toUInt256(toNullable(19)) GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 954 out of 1000 SELECT 100, 100, toNullable(materialize(materialize(19))), 'merge_expressions=0', 19, toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 955 out of 1000 SELECT 100, 100, toNullable(materialize(materialize(19))), 'merge_expressions=0', 19, toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 956 out of 1000 SELECT 100, 100, toNullable(materialize(materialize(19))), 'merge_expressions=0', 19, toNullable(test_nested_alias_idx__fuzz_19, 19) WHERE test_alias_skip_idx__fuzz_39 GROUP BY GROUPING SETS ((toLowCardinality(19))) Error on processing query 'SELECT 100, 100, toNullable(materialize(materialize(19))), 'merge_expressions=0', 19, toNullable(test_nested_alias_idx__fuzz_19, 19) WHERE test_alias_skip_idx__fuzz_39 GROUP BY GROUPING SETS ((toLowCardinality(19)))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_19' in scope SELECT 100, 100, toNullable(materialize(materialize(19))), 'merge_expressions=0', 19, toNullable(test_nested_alias_idx__fuzz_19, 19) WHERE test_alias_skip_idx__fuzz_39 GROUP BY GROUPING SETS ((toLowCardinality(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 957 out of 1000 SELECT 100, 100, toNullable(materialize(materialize(19))), 'merge_expressions=0', 19, toNullable(19) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT 100, 100, toNullable(materialize(materialize(19))), 'merge_expressions=0', 19, toNullable(19) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 6]. In scope SELECT 100, 100, toNullable(materialize(materialize(19))), 'merge_expressions=0', 19, toNullable(19) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 958 out of 1000 SELECT 100, 100, toNullable(materialize(19)), 'merge_expressions=0', 19, toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(19)))) Query succeeded, using this AST as a start Fuzzing step 959 out of 1000 SELECT 100, 100, toNullable(materialize(19)), 'merge_expressions=0', 19, toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(19)))) Got boring AST Fuzzing step 960 out of 1000 SELECT 100, 100, toNullable(materialize(19)), 'merge_expressions=0', 19, toNullable(19) WHERE toFixedString('merge_expressions=0') GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'SELECT 100, 100, toNullable(materialize(19)), 'merge_expressions=0', 19, toNullable(19) WHERE toFixedString('merge_expressions=0') GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope SELECT 100, 100, toNullable(materialize(19)), 'merge_expressions=0', 19, toNullable(19) WHERE toFixedString('merge_expressions=0') GROUP BY GROUPING SETS ((materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 961 out of 1000 SELECT 100, 100, toNullable(materialize(19)), 'merge_expressions=0', 19, toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(19)))) Got boring AST Fuzzing step 962 out of 1000 SELECT toNullable(100), 100, toNullable(materialize(19)), 'merge_expressions=0', 19, toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(19)))) Query succeeded, using this AST as a start Fuzzing step 963 out of 1000 SELECT toNullable(100), 100, materialize(19), 'merge_expressions=0', 19, 19 GROUP BY GROUPING SETS ((toLowCardinality(materialize(19)))) Query succeeded, using this AST as a start Fuzzing step 964 out of 1000 SELECT toNullable(100), 100, materialize(19), 'merge_expressions=0', 19, 19 GROUP BY GROUPING SETS ((toLowCardinality(materialize(19)))) Got boring AST Fuzzing step 965 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT toNullable(100), 100, materialize(19), 'merge_expressions=0', 19, 19 WITH TOTALS Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT toNullable(100), 100, materialize(19), 'merge_expressions=0', 19, 19 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 966 out of 1000 SELECT toNullable(100), 100, materialize(19), materialize(toLowCardinality('merge_expressions=0')), 19, 19 GROUP BY GROUPING SETS ((toLowCardinality(materialize(19)))) Query succeeded, using this AST as a start Fuzzing step 967 out of 1000 SELECT toNullable(100), 100, materialize(19), materialize(toLowCardinality('merge_expressions=0')), 19, 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 968 out of 1000 SELECT toNullable(100), 100, materialize(19), materialize(toLowCardinality('merge_expressions=0')), 19, 19 GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 969 out of 1000 SELECT toNullable(100), materialize(100), materialize(19), materialize(toLowCardinality('merge_expressions=0')), 19, 19 GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 970 out of 1000 EXPLAIN AST SELECT toNullable(100), 100, materialize(19), materialize(toLowCardinality(toNullable('merge_expressions=0'))), 19, materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 971 out of 1000 SELECT toNullable(100), 100, materialize(19), toLowCardinality(toNullable('merge_expressions=0')), 19, materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 972 out of 1000 SELECT toNullable(100), 100, 19, toNullable('merge_expressions=0'), 19, materialize(19) GROUP BY GROUPING SETS ((materialize(19))) WITH ROLLUP Error on processing query 'SELECT toNullable(100), 100, 19, toNullable('merge_expressions=0'), 19, materialize(19) GROUP BY GROUPING SETS ((materialize(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 973 out of 1000 SELECT toNullable(100), 100, materialize(19), toNullable('merge_expressions=0'), 19, materialize(19) GROUP BY GROUPING SETS ((19)) Error on processing query 'SELECT toNullable(100), 100, materialize(19), toNullable('merge_expressions=0'), 19, materialize(19) GROUP BY GROUPING SETS ((19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 6]. In scope SELECT toNullable(100), 100, materialize(19), toNullable('merge_expressions=0'), 19, materialize(19) GROUP BY GROUPING SETS ((19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 974 out of 1000 SELECT toNullable(100), 100, materialize(19), toLowCardinality('merge_expressions=0'), toNullable(19), materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Query succeeded, using this AST as a start Fuzzing step 975 out of 1000 SELECT toNullable(100), 100, materialize(19), toLowCardinality('merge_expressions=0'), toNullable(19), materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Got boring AST Fuzzing step 976 out of 1000 SELECT toNullable(100), 100, materialize(19), toLowCardinality('merge_expressions=0'), 19, materialize(19) GROUP BY GROUPING SETS ((materialize(materialize(toLowCardinality(19))))) Query succeeded, using this AST as a start Fuzzing step 977 out of 1000 SELECT toNullable(100), 100, materialize(19), toLowCardinality('merge_expressions=0'), 19, materialize(19) GROUP BY GROUPING SETS ((materialize(materialize(toLowCardinality(19))))) Got boring AST Fuzzing step 978 out of 1000 SELECT toNullable(100), 100, materialize(19), toLowCardinality('merge_expressions=0'), 19, materialize(19) GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) Query succeeded, using this AST as a start Fuzzing step 979 out of 1000 SELECT toNullable(100), 100, materialize(19), 'merge_expressions=0', 19, materialize(19) GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) Query succeeded, using this AST as a start Fuzzing step 980 out of 1000 SELECT 100, toNullable(100), materialize(toUInt256(19), 19), 'merge_expressions=0', 19, materialize(19) GROUP BY GROUPING SETS ((materialize(19))) Error on processing query 'SELECT 100, toNullable(100), materialize(toUInt256(19), 19), 'merge_expressions=0', 19, materialize(19) GROUP BY GROUPING SETS ((materialize(19)))': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 100, toNullable(100), materialize(toUInt256(19), 19), 'merge_expressions=0', 19, materialize(19) GROUP BY GROUPING SETS ((materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 981 out of 1000 SELECT toNullable(100), 100, materialize(19), 'merge_expressions=0', 19, materialize(19) GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) Got boring AST Fuzzing step 982 out of 1000 SELECT toNullable(materialize(100), 100), 100, materialize(19), 'merge_expressions=0', 19, materialize(19) GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) Error on processing query 'SELECT toNullable(materialize(100), 100), 100, materialize(19), 'merge_expressions=0', 19, materialize(19) GROUP BY GROUPING SETS ((materialize(toLowCardinality(19))))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toNullable(materialize(100), 100), 100, materialize(19), 'merge_expressions=0', 19, materialize(19) GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 983 out of 1000 SELECT toNullable(toLowCardinality(toUInt256(100))), 100, materialize(19), 'merge_expressions=0', 19, materialize(19) GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) Query succeeded, using this AST as a start Fuzzing step 984 out of 1000 SELECT toNullable(toLowCardinality(toUInt256(100))), 100, materialize(19), 'merge_expressions=0', 19, materialize(19) GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) Got boring AST Fuzzing step 985 out of 1000 SELECT toNullable(toLowCardinality(toUInt256(100))), 100, 19, 'merge_expressions=0', 19, materialize(19) GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) Query succeeded, using this AST as a start Fuzzing step 986 out of 1000 SELECT toNullable(toUInt256(100)), 100, 19, 'merge_expressions=0', 19, materialize(19) GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) Query succeeded, using this AST as a start Fuzzing step 987 out of 1000 SELECT toUInt256(100), 100, 19, 'merge_expressions=0', 19, materialize(19) GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) Query succeeded, using this AST as a start Fuzzing step 988 out of 1000 SELECT toUInt256(100), 100, 19, 'merge_expressions=0', 19, materialize(19) GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) Got boring AST Fuzzing step 989 out of 1000 SELECT 100, 100, 19, 'merge_expressions=0', 19, materialize(19) GROUP BY GROUPING SETS ((materialize(toLowCardinality(19)))) Query succeeded, using this AST as a start Fuzzing step 990 out of 1000 SELECT 100, 100, 19, 'merge_expressions=0', 19, materialize(19) GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 991 out of 1000 SELECT 100, 100, 19, 'merge_expressions=0', 19, 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 992 out of 1000 SELECT 100, 100, 19, toFixedString('merge_expressions=0', 19), 19, 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 993 out of 1000 SELECT 100, 100, 19, toFixedString('merge_expressions=0', 19), 19, 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 994 out of 1000 SELECT materialize(100), 100, 19, toFixedString('merge_expressions=0', 19), 19, 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 995 out of 1000 SELECT materialize(100), 100, 19, toFixedString('merge_expressions=0', 19), 19, 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) WITH CUBE Error on processing query 'SELECT materialize(100), 100, 19, toFixedString('merge_expressions=0', 19), 19, 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 996 out of 1000 SELECT materialize(100), 100, 19, toFixedString('merge_expressions=0', 19), 19, 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 997 out of 1000 SELECT materialize(100), 100, 19, toFixedString('merge_expressions=0', 19), 19, 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Got boring AST Fuzzing step 998 out of 1000 SELECT 100, 100, 19, toFixedString('merge_expressions=0', 19), 19, 19 GROUP BY GROUPING SETS ((toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 999 out of 1000 SELECT 100, 100, toLowCardinality(19), toFixedString('merge_expressions=0', 19), 19, 19 PREWHERE 18 GROUP BY GROUPING SETS ((toLowCardinality(19))) Error on processing query 'SELECT 100, 100, toLowCardinality(19), toFixedString('merge_expressions=0', 19), 19, 19 PREWHERE 18 GROUP BY GROUPING SETS ((toLowCardinality(19)))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 2 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 3 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 4 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 5 out of 1000 EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN SYNTAX query. Supported settings: oneline. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [7], String&&) @ 0x0000000011596e6b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001159022c 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 6 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 7 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 8 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 9 out of 1000 EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN SYNTAX query. Supported settings: oneline. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [7], String&&) @ 0x0000000011596e6b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001159022c 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 10 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 11 out of 1000 EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('SELECT'): SELECT * FROM test_alias_skip_idx WHERE a > 100. Expected one of: INTO OUTFILE, FORMAT, SETTINGS, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 12 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 13 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 14 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 15 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 16 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 17 out of 1000 SELECT * FROM test_alias_skip_idx WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 18 out of 1000 EXPLAIN AST graph = true, optimize = true SELECT * FROM test_alias_skip_idx__fuzz_25 WHERE a > 100 Error on processing query 'EXPLAIN AST graph = true, optimize = true SELECT * FROM test_alias_skip_idx__fuzz_25 WHERE a > 100': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 19 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 20 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 WHERE a > 100 Got boring AST Fuzzing step 21 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 22 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 23 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 24 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 WHERE a > 100': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 25 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 26 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 27 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 28 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 29 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 30 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 31 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 32 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 33 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 34 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 35 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 WHERE a > 100': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 36 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 37 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 38 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WHERE a > 100': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 39 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 40 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 41 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 42 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 43 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 WHERE a > 100': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 44 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 WHERE a > 100': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_35 PREWHERE a > 100 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 45 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 46 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 47 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_37 PREWHERE a > 100 WHERE a > 100. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 48 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 49 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 50 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 51 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE greater(a2 > materialize(toLowCardinality(100)), a, 100) GROUP BY toUInt128(100), toUInt128(toNullable(toUInt128(100))), test_alias_skip_idx__fuzz_39 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE greater(a2 > materialize(toLowCardinality(100)), a, 100) GROUP BY toUInt128(100), toUInt128(toNullable(toUInt128(100))), test_alias_skip_idx__fuzz_39': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 52 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 53 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 54 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 55 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 56 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 58 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 59 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WHERE a > 100': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 60 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 61 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 62 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 63 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 64 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 65 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 66 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 67 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WHERE a > 100': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_41 PREWHERE a > 100 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 68 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 69 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_35 WHERE a > 100': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_35 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 70 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 WHERE a > 100 Got boring AST Fuzzing step 71 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 72 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 WHERE a > 100 Got boring AST Fuzzing step 73 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 WHERE a > 100 Got boring AST Fuzzing step 74 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 75 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 WHERE a > 100 Got boring AST Fuzzing step 76 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_25 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 77 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_41 WHERE a > 100': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_41 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 78 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 79 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_0 PREWHERE test_alias_skip_idx__fuzz_21 WHERE a > 100 Error on processing query 'EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_0 PREWHERE test_alias_skip_idx__fuzz_21 WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_21' in scope SELECT * FROM test_alias_skip_idx__fuzz_0 PREWHERE test_alias_skip_idx__fuzz_21 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 80 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_21 WHERE greater(a) Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_21 WHERE greater(a)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT * FROM test_alias_skip_idx__fuzz_21 WHERE greater(a). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 81 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 82 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 83 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 84 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 85 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 86 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 87 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 88 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 89 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 90 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 92 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 93 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 94 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 95 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 96 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 97 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 98 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 99 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 100 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 101 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 102 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 103 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 104 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 105 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 106 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 107 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 108 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 109 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 110 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 111 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 112 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 113 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 114 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 115 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 116 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 117 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 118 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 119 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 120 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 121 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 122 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 123 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 124 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_35 WHERE a > 100': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_35 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 125 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 126 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 127 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 128 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 129 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_35 WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_35 WHERE a > 100': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_35 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 130 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 131 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 132 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_41 WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_41 WHERE a > 100': Received from localhost:9000. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: In scope SELECT * FROM test_alias_skip_idx__fuzz_41 WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008c089b4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 133 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_0 WHERE a > 100 Got boring AST Fuzzing step 134 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 135 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 136 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 137 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 138 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_14 Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 Query succeeded, using this AST as a start Fuzzing step 140 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_4 Got boring AST Fuzzing step 141 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 142 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 Query succeeded, using this AST as a start Fuzzing step 143 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 Got boring AST Fuzzing step 144 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE test_alias_skip_idx__fuzz_1 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE test_alias_skip_idx__fuzz_1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_1' in scope SELECT * FROM test_alias_skip_idx__fuzz_37 PREWHERE test_alias_skip_idx__fuzz_1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 145 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_3 WHERE 'default_settings' Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_3 WHERE 'default_settings'': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: String. In query SELECT * FROM test_alias_skip_idx__fuzz_3 WHERE 'default_settings'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 146 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 Got boring AST Fuzzing step 147 out of 1000 SELECT toFixedString('merge_expressions=0', toUInt256(19)), * FROM test_alias_skip_idx__fuzz_35 Query succeeded, using this AST as a start Fuzzing step 148 out of 1000 SELECT 'merge_expressions=0', toUInt256(19), * FROM test_alias_skip_idx__fuzz_0 Query succeeded, using this AST as a start Fuzzing step 149 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_21 Query succeeded, using this AST as a start Fuzzing step 150 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_25 Query succeeded, using this AST as a start Fuzzing step 151 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_25 Got boring AST Fuzzing step 152 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_30 Query succeeded, using this AST as a start Fuzzing step 153 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_30 Got boring AST Fuzzing step 154 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_25 Query succeeded, using this AST as a start Fuzzing step 155 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_0 Query succeeded, using this AST as a start Fuzzing step 156 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_0 Got boring AST Fuzzing step 157 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_0 Got boring AST Fuzzing step 158 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 159 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 160 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 161 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_25 Query succeeded, using this AST as a start Fuzzing step 162 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_41 Query succeeded, using this AST as a start Fuzzing step 163 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_25 Query succeeded, using this AST as a start Fuzzing step 164 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_25 Got boring AST Fuzzing step 165 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_25 Got boring AST Fuzzing step 166 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_0 Query succeeded, using this AST as a start Fuzzing step 167 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_25 Query succeeded, using this AST as a start Fuzzing step 168 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 169 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_25 Query succeeded, using this AST as a start Fuzzing step 170 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_25 Got boring AST Fuzzing step 171 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_4 Query succeeded, using this AST as a start Fuzzing step 172 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 173 out of 1000 SELECT 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 174 out of 1000 SELECT toUInt128(22), 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 175 out of 1000 SELECT toUInt128(22), 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_30 Query succeeded, using this AST as a start Fuzzing step 176 out of 1000 SELECT 22, 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_21 Query succeeded, using this AST as a start Fuzzing step 177 out of 1000 SELECT 22, 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_21 Got boring AST Fuzzing step 178 out of 1000 SELECT 22, 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_21 Got boring AST Fuzzing step 179 out of 1000 SELECT 22, 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_14 Query succeeded, using this AST as a start Fuzzing step 180 out of 1000 EXPLAIN AST optimize = true SELECT 22, 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_30 Error on processing query 'EXPLAIN AST optimize = true SELECT 22, 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_30': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 181 out of 1000 SELECT 22, * FROM test_alias_skip_idx__fuzz_14 WHERE test_nested_alias_idx Error on processing query 'SELECT 22, * FROM test_alias_skip_idx__fuzz_14 WHERE test_nested_alias_idx': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx' in scope SELECT 22, * FROM test_alias_skip_idx__fuzz_14 WHERE test_nested_alias_idx. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 182 out of 1000 SELECT 22, 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_14 Got boring AST Fuzzing step 183 out of 1000 EXPLAIN PIPELINE header = true SELECT 22, 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_14 Error on processing query 'EXPLAIN PIPELINE header = true SELECT 22, 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_14': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 184 out of 1000 SELECT 22, 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_0 Query succeeded, using this AST as a start Fuzzing step 185 out of 1000 SELECT 22, 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_41 Query succeeded, using this AST as a start Fuzzing step 186 out of 1000 SELECT 22, 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_35 WHERE materialize('merge_expressions=0') Error on processing query 'SELECT 22, 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_35 WHERE materialize('merge_expressions=0')': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: String. In query SELECT 22, 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_35 WHERE materialize('merge_expressions=0'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 187 out of 1000 SELECT 22, 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_0 Query succeeded, using this AST as a start Fuzzing step 188 out of 1000 SELECT 22, 'merge_expressions=0', 19, * FROM test_alias_skip_idx__fuzz_21 Query succeeded, using this AST as a start Fuzzing step 189 out of 1000 SELECT 22, * FROM test_alias_skip_idx__fuzz_25 Query succeeded, using this AST as a start Fuzzing step 190 out of 1000 SELECT 22, * FROM test_alias_skip_idx__fuzz_0 Query succeeded, using this AST as a start Fuzzing step 191 out of 1000 SELECT 'default_settings', 22, * FROM test_alias_skip_idx__fuzz_25 Query succeeded, using this AST as a start Fuzzing step 192 out of 1000 SELECT 'default_settings', toUInt256(22), * FROM test_alias_skip_idx__fuzz_30 Query succeeded, using this AST as a start Fuzzing step 193 out of 1000 SELECT toLowCardinality('default_settings'), toUInt256(22), * FROM test_alias_skip_idx__fuzz_30 Query succeeded, using this AST as a start Fuzzing step 194 out of 1000 SELECT toLowCardinality('default_settings'), 22, * FROM test_alias_skip_idx__fuzz_30 Query succeeded, using this AST as a start Fuzzing step 195 out of 1000 SELECT toLowCardinality('default_settings'), 22, * FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 SELECT toLowCardinality('default_settings'), 22, * FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 197 out of 1000 SELECT toLowCardinality('default_settings'), 22, * FROM test_alias_skip_idx__fuzz_37 Query succeeded, using this AST as a start Fuzzing step 198 out of 1000 SELECT toLowCardinality('default_settings'), materialize(toLowCardinality(22)), * FROM test_alias_skip_idx__fuzz_0 GROUP BY toUInt256(16), a > materialize(100), test_alias_skip_idx__fuzz_9, greater(100, a2, 100) Error on processing query 'SELECT toLowCardinality('default_settings'), materialize(toLowCardinality(22)), * FROM test_alias_skip_idx__fuzz_0 GROUP BY toUInt256(16), a > materialize(100), test_alias_skip_idx__fuzz_9, greater(100, a2, 100)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_9' in scope SELECT toLowCardinality('default_settings'), materialize(toLowCardinality(22)), * FROM test_alias_skip_idx__fuzz_0 GROUP BY toUInt256(16), a > materialize(100), test_alias_skip_idx__fuzz_9, greater(100, a2, 100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 199 out of 1000 SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_37 Query succeeded, using this AST as a start Fuzzing step 200 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Query succeeded, using this AST as a start Fuzzing step 201 out of 1000 EXPLAIN SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Query succeeded, using this AST as a start Fuzzing step 202 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('toLowCardinality'): toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 203 out of 1000 EXPLAIN SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 204 out of 1000 EXPLAIN SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 205 out of 1000 EXPLAIN SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 206 out of 1000 EXPLAIN SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 207 out of 1000 EXPLAIN SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 208 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('toLowCardinality'): toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 209 out of 1000 EXPLAIN SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 210 out of 1000 EXPLAIN SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 211 out of 1000 EXPLAIN SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 212 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Query succeeded, using this AST as a start Fuzzing step 213 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 214 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 215 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Query succeeded, using this AST as a start Fuzzing step 216 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 217 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Query succeeded, using this AST as a start Fuzzing step 218 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality('default_settings'), materialize(22), * FROM test_alias_skip_idx__fuzz_41 Query succeeded, using this AST as a start Fuzzing step 219 out of 1000 SELECT toLowCardinality('default_settings'), 22, * FROM test_alias_skip_idx__fuzz_14 Query succeeded, using this AST as a start Fuzzing step 220 out of 1000 SELECT toLowCardinality('default_settings'), 22, * FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 221 out of 1000 SELECT toLowCardinality('default_settings'), 22, * FROM test_alias_skip_idx__fuzz_21 Query succeeded, using this AST as a start Fuzzing step 222 out of 1000 SELECT toLowCardinality('default_settings'), 22, * FROM test_alias_skip_idx__fuzz_30 Query succeeded, using this AST as a start Fuzzing step 223 out of 1000 SELECT toLowCardinality('default_settings'), 22, * FROM test_alias_skip_idx__fuzz_30 Got boring AST Fuzzing step 224 out of 1000 SELECT toLowCardinality('default_settings'), 22, * FROM test_alias_skip_idx__fuzz_0 Query succeeded, using this AST as a start Fuzzing step 225 out of 1000 SELECT toLowCardinality('default_settings'), 22, * FROM test_alias_skip_idx__fuzz_0 Got boring AST Fuzzing step 226 out of 1000 SELECT toLowCardinality('default_settings'), 22, * FROM test_alias_skip_idx__fuzz_25 Query succeeded, using this AST as a start Fuzzing step 227 out of 1000 SELECT toLowCardinality('default_settings'), 22, * FROM test_alias_skip_idx__fuzz_25 Got boring AST Fuzzing step 228 out of 1000 SELECT toLowCardinality('default_settings'), 22, * FROM test_alias_skip_idx__fuzz_21 Query succeeded, using this AST as a start Fuzzing step 229 out of 1000 SELECT 'default_settings', 22, * FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 230 out of 1000 SELECT 'default_settings', 22, * FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 231 out of 1000 SELECT 'default_settings', 22, * FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 232 out of 1000 SELECT 'default_settings', 22, * FROM test_alias_skip_idx__fuzz_14 Query succeeded, using this AST as a start Fuzzing step 233 out of 1000 SELECT 'default_settings', 22, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 234 out of 1000 SELECT 'default_settings', 22, * FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 235 out of 1000 SELECT 'default_settings', 22, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 236 out of 1000 SELECT 'default_settings', 22, * FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 237 out of 1000 SELECT 'default_settings', 22, * FROM test_alias_skip_idx__fuzz_35 Query succeeded, using this AST as a start Fuzzing step 238 out of 1000 SELECT 'default_settings', 22, * FROM test_alias_skip_idx__fuzz_35 Got boring AST Fuzzing step 239 out of 1000 SELECT 'default_settings', 22, * FROM test_alias_skip_idx__fuzz_37 Query succeeded, using this AST as a start Fuzzing step 240 out of 1000 SELECT 22, * FROM test_alias_skip_idx__fuzz_0 Query succeeded, using this AST as a start Fuzzing step 241 out of 1000 SELECT 22, * FROM test_alias_skip_idx__fuzz_0 Got boring AST Fuzzing step 242 out of 1000 SELECT 22, * FROM test_alias_skip_idx__fuzz_0 Got boring AST Fuzzing step 243 out of 1000 SELECT 22, * FROM test_alias_skip_idx__fuzz_0 Got boring AST Fuzzing step 244 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_30 WHERE toFixedString('merge_expressions=0') Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_30 WHERE toFixedString('merge_expressions=0')': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope SELECT * FROM test_alias_skip_idx__fuzz_30 WHERE toFixedString('merge_expressions=0'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 245 out of 1000 SELECT 22, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 246 out of 1000 SELECT 22, * FROM test_alias_skip_idx__fuzz_41 Query succeeded, using this AST as a start Fuzzing step 247 out of 1000 SELECT 22, * FROM test_alias_skip_idx__fuzz_35 Query succeeded, using this AST as a start Fuzzing step 248 out of 1000 SELECT 22, * FROM test_alias_skip_idx__fuzz_0 Query succeeded, using this AST as a start Fuzzing step 249 out of 1000 SELECT 22, * FROM test_alias_skip_idx__fuzz_30 Query succeeded, using this AST as a start Fuzzing step 250 out of 1000 SELECT 22, * FROM test_alias_skip_idx__fuzz_4 Query succeeded, using this AST as a start Fuzzing step 251 out of 1000 SELECT 22, * FROM test_alias_skip_idx__fuzz_4 Got boring AST Fuzzing step 252 out of 1000 SELECT materialize(22) FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 253 out of 1000 SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 254 out of 1000 EXPLAIN PIPELINE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 255 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 FROM test_alias_skip_idx__fuzz_3 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 FROM test_alias_skip_idx__fuzz_3': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('22'): 22 FROM test_alias_skip_idx__fuzz_3. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 256 out of 1000 EXPLAIN PIPELINE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 257 out of 1000 EXPLAIN PIPELINE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 258 out of 1000 EXPLAIN PIPELINE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 259 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 261 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 262 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 263 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 264 out of 1000 EXPLAIN QUERY TREE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 265 out of 1000 EXPLAIN ESTIMATE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 266 out of 1000 EXPLAIN ESTIMATE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 267 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 FROM test_alias_skip_idx__fuzz_3 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 FROM test_alias_skip_idx__fuzz_3': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('22'): 22 FROM test_alias_skip_idx__fuzz_3. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 268 out of 1000 EXPLAIN ESTIMATE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 269 out of 1000 EXPLAIN PIPELINE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 270 out of 1000 EXPLAIN PIPELINE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 271 out of 1000 EXPLAIN PIPELINE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 272 out of 1000 EXPLAIN ESTIMATE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 273 out of 1000 EXPLAIN ESTIMATE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 274 out of 1000 EXPLAIN ESTIMATE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 275 out of 1000 EXPLAIN ESTIMATE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 276 out of 1000 EXPLAIN ESTIMATE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 277 out of 1000 EXPLAIN ESTIMATE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 278 out of 1000 EXPLAIN ESTIMATE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 279 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 FROM test_alias_skip_idx__fuzz_3 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 FROM test_alias_skip_idx__fuzz_3': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('22'): 22 FROM test_alias_skip_idx__fuzz_3. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 280 out of 1000 EXPLAIN ESTIMATE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 281 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 282 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 283 out of 1000 EXPLAIN QUERY TREE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 284 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 285 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 286 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 287 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 288 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 FROM test_alias_skip_idx__fuzz_3 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 FROM test_alias_skip_idx__fuzz_3': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('22'): 22 FROM test_alias_skip_idx__fuzz_3. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 289 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 290 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 291 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 292 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 293 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 294 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 295 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 FROM test_alias_skip_idx__fuzz_3 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 FROM test_alias_skip_idx__fuzz_3': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('22'): 22 FROM test_alias_skip_idx__fuzz_3. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 296 out of 1000 EXPLAIN ESTIMATE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 298 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 299 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 FROM test_alias_skip_idx__fuzz_3 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 FROM test_alias_skip_idx__fuzz_3': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('22'): 22 FROM test_alias_skip_idx__fuzz_3. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 300 out of 1000 EXPLAIN QUERY TREE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 301 out of 1000 EXPLAIN QUERY TREE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 302 out of 1000 EXPLAIN QUERY TREE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 303 out of 1000 EXPLAIN QUERY TREE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 304 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 305 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 306 out of 1000 EXPLAIN QUERY TREE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 307 out of 1000 EXPLAIN QUERY TREE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 308 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 FROM test_alias_skip_idx__fuzz_3': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('22'): 22 FROM test_alias_skip_idx__fuzz_3. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 309 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 310 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 311 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 312 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 313 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 314 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 315 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 316 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 317 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 318 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 319 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 320 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 321 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 322 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 323 out of 1000 EXPLAIN ESTIMATE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 324 out of 1000 EXPLAIN PIPELINE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 326 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 327 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 328 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 329 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 330 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 331 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 332 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 22 FROM test_alias_skip_idx__fuzz_3 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 22 FROM test_alias_skip_idx__fuzz_3': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('22'): 22 FROM test_alias_skip_idx__fuzz_3. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 333 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 334 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 335 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 336 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 337 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 338 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 FROM test_alias_skip_idx__fuzz_3': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('22'): 22 FROM test_alias_skip_idx__fuzz_3. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 339 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 340 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 341 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 342 out of 1000 EXPLAIN PIPELINE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 343 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 344 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 345 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 346 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 347 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 348 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 349 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 350 out of 1000 EXPLAIN ESTIMATE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 351 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 352 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 353 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 354 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 355 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 356 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 357 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 358 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 359 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 360 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 361 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 362 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 FROM test_alias_skip_idx__fuzz_3': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('22'): 22 FROM test_alias_skip_idx__fuzz_3. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 363 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 FROM test_alias_skip_idx__fuzz_3': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('22'): 22 FROM test_alias_skip_idx__fuzz_3. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 364 out of 1000 EXPLAIN ESTIMATE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 365 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 22 FROM test_alias_skip_idx__fuzz_3': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('22'): 22 FROM test_alias_skip_idx__fuzz_3. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 366 out of 1000 EXPLAIN ESTIMATE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 367 out of 1000 EXPLAIN ESTIMATE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 368 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 369 out of 1000 EXPLAIN SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 370 out of 1000 EXPLAIN QUERY TREE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 EXPLAIN QUERY TREE SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 372 out of 1000 EXPLAIN AST SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 373 out of 1000 SELECT 22 FROM test_alias_skip_idx__fuzz_37 GROUP BY test_nested_alias_idx__fuzz_26, toNullable(materialize(toUInt256(19))), materialize(toNullable(19)) Error on processing query 'SELECT 22 FROM test_alias_skip_idx__fuzz_37 GROUP BY test_nested_alias_idx__fuzz_26, toNullable(materialize(toUInt256(19))), materialize(toNullable(19))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_26' in scope SELECT 22 FROM test_alias_skip_idx__fuzz_37 GROUP BY test_nested_alias_idx__fuzz_26, toNullable(materialize(toUInt256(19))), materialize(toNullable(19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 374 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 376 out of 1000 EXPLAIN SYNTAX SELECT 22 FROM test_alias_skip_idx__fuzz_3 Got boring AST Fuzzing step 377 out of 1000 SELECT 22 FROM test_alias_skip_idx__fuzz_3 Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 SELECT 22 FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 379 out of 1000 SELECT 22 FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 380 out of 1000 SELECT 22 FROM test_alias_skip_idx__fuzz_21 Query succeeded, using this AST as a start Fuzzing step 381 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_41 GROUP BY materialize(toNullable(100)), toLowCardinality(toLowCardinality(1)), toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 382 out of 1000 SELECT test_nested_alias_idx__fuzz_37, materialize(1), 22 FROM test_alias_skip_idx__fuzz_3 GROUP BY materialize(a > 100, toNullable(100)), toLowCardinality(1), toUInt128(19) Error on processing query 'SELECT test_nested_alias_idx__fuzz_37, materialize(1), 22 FROM test_alias_skip_idx__fuzz_3 GROUP BY materialize(a > 100, toNullable(100)), toLowCardinality(1), toUInt128(19)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_37' in scope SELECT test_nested_alias_idx__fuzz_37, materialize(1), 22 FROM test_alias_skip_idx__fuzz_3 GROUP BY materialize(a > 100, toNullable(100)), toLowCardinality(1), toUInt128(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 383 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY materialize(toNullable(100)), toLowCardinality(toLowCardinality(1)), toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 384 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_10 GROUP BY materialize(toNullable(100)), toLowCardinality(toLowCardinality(1)), toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 385 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_3 GROUP BY materialize(toNullable(100)), toLowCardinality(1), toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 386 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), toLowCardinality(1), toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 387 out of 1000 SELECT materialize(1) FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), toLowCardinality(1), 19 Error on processing query 'SELECT materialize(1) FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), toLowCardinality(1), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT materialize(1) FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), toLowCardinality(1), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 388 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 389 out of 1000 EXPLAIN PIPELINE SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 390 out of 1000 EXPLAIN PIPELINE SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), 1, toUInt128(19) Got boring AST Fuzzing step 391 out of 1000 EXPLAIN PIPELINE SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), 1, toUInt128(19) Got boring AST Fuzzing step 392 out of 1000 EXPLAIN PIPELINE SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), 1, toUInt128(19) Got boring AST Fuzzing step 393 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 394 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), 1, toUInt128(19) Got boring AST Fuzzing step 395 out of 1000 EXPLAIN PIPELINE SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 396 out of 1000 EXPLAIN PIPELINE SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), 1, toUInt128(19) Got boring AST Fuzzing step 397 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), 1, toUInt128(19) Got boring AST Fuzzing step 399 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), 1, toUInt128(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), 1, toUInt128(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('materialize'): materialize(1), 22 FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(toNullable(100)), 1, toUInt128(19). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 400 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_3 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 401 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_25 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 402 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_25 GROUP BY 100, 1, toUInt128(19) Error on processing query 'SELECT 1, 22 FROM test_alias_skip_idx__fuzz_25 GROUP BY 100, 1, toUInt128(19)': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, 22 FROM test_alias_skip_idx__fuzz_25 GROUP BY 100, 1, toUInt128(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 403 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_25 GROUP BY materialize(100), 1, toUInt128(19) Got boring AST Fuzzing step 404 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 405 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_41 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 406 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_41 GROUP BY materialize(100), 1, toUInt128(19) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_41 GROUP BY materialize(100), 1, toUInt128(19)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 407 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_25 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 408 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_41 GROUP BY 100, 1, toUInt128(19) Error on processing query 'SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_41 GROUP BY 100, 1, toUInt128(19)': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_41 GROUP BY 100, 1, toUInt128(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 409 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_25 GROUP BY materialize(100), 1, toUInt128(19) Got boring AST Fuzzing step 410 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_25 GROUP BY materialize(100), 1, toUInt128(19) Got boring AST Fuzzing step 411 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, 19 Error on processing query 'SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, 19': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 412 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_25 GROUP BY materialize(100), 1, toUInt128(19) Got boring AST Fuzzing step 413 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_25 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 414 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_10 GROUP BY materialize(100), 1, toUInt128(toLowCardinality(19)) Query succeeded, using this AST as a start Fuzzing step 416 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_25 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 417 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_4 GROUP BY 100, 1, toUInt128(19) Error on processing query 'SELECT 1, 22 FROM test_alias_skip_idx__fuzz_4 GROUP BY 100, 1, toUInt128(19)': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, 22 FROM test_alias_skip_idx__fuzz_4 GROUP BY 100, 1, toUInt128(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 418 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY materialize(100), 1, toUInt128(19) Got boring AST Fuzzing step 420 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY materialize(100), 1, toUInt128(19) Got boring AST Fuzzing step 421 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, toUInt128(19) Error on processing query 'SELECT 1, 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, toUInt128(19)': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, toUInt128(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 422 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, toUInt128(19) Error on processing query 'SELECT 1, 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, toUInt128(19)': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, toUInt128(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 423 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_4 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 424 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_35 GROUP BY materialize(100), 1, 19 Error on processing query 'SELECT 1, 22 FROM test_alias_skip_idx__fuzz_35 GROUP BY materialize(100), 1, 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, 22 FROM test_alias_skip_idx__fuzz_35 GROUP BY materialize(100), 1, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 425 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_4 GROUP BY materialize(100), 1, toUInt128(19) Got boring AST Fuzzing step 426 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_4 GROUP BY materialize(100), 1, toUInt128(19) Got boring AST Fuzzing step 427 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_41 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 428 out of 1000 EXPLAIN PIPELINE SELECT 1, 22 FROM test_alias_skip_idx__fuzz_35 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 429 out of 1000 EXPLAIN PIPELINE SELECT 1, 22 FROM test_alias_skip_idx__fuzz_35 GROUP BY materialize(100), 1, toUInt128(19) Got boring AST Fuzzing step 430 out of 1000 EXPLAIN PIPELINE SELECT 1, 22 FROM test_alias_skip_idx__fuzz_35 GROUP BY materialize(100), 1, toUInt128(19) Got boring AST Fuzzing step 431 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_10 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 432 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_10 GROUP BY 100, 1, toUInt128(19) Error on processing query 'SELECT 1, 22 FROM test_alias_skip_idx__fuzz_10 GROUP BY 100, 1, toUInt128(19)': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, 22 FROM test_alias_skip_idx__fuzz_10 GROUP BY 100, 1, toUInt128(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 433 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, 19 Error on processing query 'SELECT 1, 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, 19': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 434 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_30 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 435 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 436 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_25 WHERE a > materialize(100) GROUP BY 100, 1, toUInt128(19) Error on processing query 'SELECT 1, 22 FROM test_alias_skip_idx__fuzz_25 WHERE a > materialize(100) GROUP BY 100, 1, toUInt128(19)': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, 22 FROM test_alias_skip_idx__fuzz_25 WHERE a > materialize(100) GROUP BY 100, 1, toUInt128(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 437 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_41 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 438 out of 1000 EXPLAIN QUERY TREE dump_ast = true, passes = true SELECT 1, 22 FROM test_alias_skip_idx__fuzz_41 GROUP BY materialize(100), 1, toUInt128(19) Error on processing query 'EXPLAIN QUERY TREE dump_ast = true, passes = true SELECT 1, 22 FROM test_alias_skip_idx__fuzz_41 GROUP BY materialize(100), 1, toUInt128(19)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 439 out of 1000 SELECT materialize(toLowCardinality(1)), 22 FROM test_alias_skip_idx__fuzz_41 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 440 out of 1000 SELECT materialize(1), 22 FROM test_alias_skip_idx__fuzz_35 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 441 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_35 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 442 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_35 GROUP BY 100, 1, toUInt128(toLowCardinality(toNullable(19))) Error on processing query 'SELECT 1, 22 FROM test_alias_skip_idx__fuzz_35 GROUP BY 100, 1, toUInt128(toLowCardinality(toNullable(19)))': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, 22 FROM test_alias_skip_idx__fuzz_35 GROUP BY 100, 1, toUInt128(toLowCardinality(toNullable(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 443 out of 1000 SELECT 1, 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, toUInt128(19) Error on processing query 'SELECT 1, 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, toUInt128(19)': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, 22 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, toUInt128(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 444 out of 1000 SELECT 1, materialize(toLowCardinality(22)) FROM test_alias_skip_idx__fuzz_37 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 SELECT 1, materialize(22) FROM test_alias_skip_idx__fuzz_37 GROUP BY materialize(100), 1, 19 Error on processing query 'SELECT 1, materialize(22) FROM test_alias_skip_idx__fuzz_37 GROUP BY materialize(100), 1, 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, materialize(22) FROM test_alias_skip_idx__fuzz_37 GROUP BY materialize(100), 1, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 446 out of 1000 SELECT 1, materialize(toLowCardinality(22)) FROM test_alias_skip_idx__fuzz_30 GROUP BY materialize(100), 1, toUInt128(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 447 out of 1000 EXPLAIN PIPELINE compact = true SELECT 1, materialize(toLowCardinality(22)) FROM test_alias_skip_idx__fuzz_25 GROUP BY materialize(100), 1, toUInt128(toUInt128(19)) Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 1, materialize(toLowCardinality(22)) FROM test_alias_skip_idx__fuzz_25 GROUP BY materialize(100), 1, toUInt128(toUInt128(19))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 448 out of 1000 SELECT 1, materialize(toLowCardinality(22)) FROM test_alias_skip_idx__fuzz_0 GROUP BY materialize(100), 1, toUInt128(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 449 out of 1000 SELECT 1, materialize(toLowCardinality(22)) FROM test_alias_skip_idx__fuzz_25 GROUP BY materialize(100), 1, toUInt128(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 450 out of 1000 SELECT 1, test_alias_skip_idx__fuzz_9, materialize(toLowCardinality(22)) FROM test_alias_skip_idx__fuzz_4 GROUP BY 100, 1, toUInt128(toUInt128(test_nested_alias_idx__fuzz_11, 19)) Error on processing query 'SELECT 1, test_alias_skip_idx__fuzz_9, materialize(toLowCardinality(22)) FROM test_alias_skip_idx__fuzz_4 GROUP BY 100, 1, toUInt128(toUInt128(test_nested_alias_idx__fuzz_11, 19))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_9' in scope SELECT 1, test_alias_skip_idx__fuzz_9, materialize(toLowCardinality(22)) FROM test_alias_skip_idx__fuzz_4 GROUP BY 100, 1, toUInt128(toUInt128(test_nested_alias_idx__fuzz_11, 19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 451 out of 1000 SELECT 1, materialize(toLowCardinality(toNullable(toUInt128(22)))) FROM test_alias_skip_idx__fuzz_37 GROUP BY materialize(100), 1, toUInt128(toUInt128(19)) Query succeeded, using this AST as a start Fuzzing step 452 out of 1000 SELECT 1, materialize(toLowCardinality(toUInt128(22))) FROM test_alias_skip_idx__fuzz_41 GROUP BY materialize(100), toNullable(1), toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 453 out of 1000 SELECT toLowCardinality(toUInt256(1)), materialize(toLowCardinality(toUInt128(22))) FROM test_alias_skip_idx__fuzz_3 GROUP BY materialize(100), toNullable(1), toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 454 out of 1000 SELECT toLowCardinality(toUInt256(1)), materialize(toUInt128(22)) FROM test_alias_skip_idx__fuzz_3 GROUP BY 100, toNullable(1), toUInt128(19) Error on processing query 'SELECT toLowCardinality(toUInt256(1)), materialize(toUInt128(22)) FROM test_alias_skip_idx__fuzz_3 GROUP BY 100, toNullable(1), toUInt128(19)': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT toLowCardinality(toUInt256(1)), materialize(toUInt128(22)) FROM test_alias_skip_idx__fuzz_3 GROUP BY 100, toNullable(1), toUInt128(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 455 out of 1000 SELECT toLowCardinality(toUInt256(1)), materialize(toLowCardinality(toUInt128(22))) FROM test_alias_skip_idx__fuzz_3 GROUP BY 100, toNullable(1), toUInt128(19) Error on processing query 'SELECT toLowCardinality(toUInt256(1)), materialize(toLowCardinality(toUInt128(22))) FROM test_alias_skip_idx__fuzz_3 GROUP BY 100, toNullable(1), toUInt128(19)': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT toLowCardinality(toUInt256(1)), materialize(toLowCardinality(toUInt128(22))) FROM test_alias_skip_idx__fuzz_3 GROUP BY 100, toNullable(1), toUInt128(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 456 out of 1000 SELECT toLowCardinality(toUInt256(1)) FROM test_alias_skip_idx__fuzz_3 GROUP BY materialize(100), toNullable(1), toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 457 out of 1000 SELECT toLowCardinality(toUInt256(1)) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 458 out of 1000 SELECT toLowCardinality(toUInt256(1)) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) Got boring AST Fuzzing step 459 out of 1000 SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_3 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 460 out of 1000 SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_3 GROUP BY materialize(100), 1, toUInt128(19) Got boring AST Fuzzing step 461 out of 1000 SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_4 GROUP BY materialize(100), 1, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 462 out of 1000 SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, toUInt128(19) Error on processing query 'SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, toUInt128(19)': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, 1, toUInt128(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 463 out of 1000 SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 WITH TOTALS Error on processing query 'SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 464 out of 1000 SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_4 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 465 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 466 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 467 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 468 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 469 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 470 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('toUInt256'): toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 471 out of 1000 EXPLAIN SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 472 out of 1000 EXPLAIN SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 473 out of 1000 EXPLAIN SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 474 out of 1000 EXPLAIN SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 475 out of 1000 EXPLAIN SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 476 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('toUInt256'): toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 477 out of 1000 EXPLAIN SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 478 out of 1000 EXPLAIN SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 479 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 480 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 481 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 482 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 483 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 484 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 485 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 486 out of 1000 EXPLAIN AST SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 EXPLAIN SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_30 WITH TOTALS Error on processing query 'SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_30 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 489 out of 1000 EXPLAIN SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 490 out of 1000 EXPLAIN SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 491 out of 1000 EXPLAIN AST SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 492 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 493 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 494 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 495 out of 1000 EXPLAIN SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 496 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 497 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 498 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 499 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 500 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 501 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 502 out of 1000 EXPLAIN SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 503 out of 1000 SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 504 out of 1000 SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_4 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 505 out of 1000 SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_10 WHERE test_alias_skip_idx__fuzz_44 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Error on processing query 'SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_10 WHERE test_alias_skip_idx__fuzz_44 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_44' in scope SELECT toUInt256(1) FROM test_alias_skip_idx__fuzz_10 WHERE test_alias_skip_idx__fuzz_44 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 506 out of 1000 SELECT 1 FROM test_alias_skip_idx__fuzz_0 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 507 out of 1000 SELECT 1 FROM test_alias_skip_idx__fuzz_0 GROUP BY materialize(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 508 out of 1000 SELECT 1 FROM test_alias_skip_idx__fuzz_0 GROUP BY materialize(100), materialize(1), toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 509 out of 1000 SELECT 1 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, materialize(1), toUInt128(19) WITH ROLLUP Error on processing query 'SELECT 1 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, materialize(1), toUInt128(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 1 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, materialize(1), toUInt128(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 510 out of 1000 SELECT 1 FROM test_alias_skip_idx__fuzz_0 GROUP BY materialize(100), materialize(1), 19 WITH ROLLUP Error on processing query 'SELECT 1 FROM test_alias_skip_idx__fuzz_0 GROUP BY materialize(100), materialize(1), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 1 FROM test_alias_skip_idx__fuzz_0 GROUP BY materialize(100), materialize(1), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 511 out of 1000 SELECT 1 FROM test_alias_skip_idx__fuzz_0 GROUP BY materialize(100), materialize(1), toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 512 out of 1000 SELECT 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY materialize(100), materialize(1), toUInt128(materialize(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 513 out of 1000 SELECT 1 FROM test_alias_skip_idx__fuzz_10 GROUP BY materialize(100), materialize(1), toUInt128(materialize(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 514 out of 1000 SELECT 1 FROM test_alias_skip_idx__fuzz_30 WITH TOTALS Error on processing query 'SELECT 1 FROM test_alias_skip_idx__fuzz_30 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 515 out of 1000 SELECT 1 FROM test_alias_skip_idx__fuzz_30 GROUP BY materialize(100), materialize(1), materialize(19) WITH ROLLUP WITH CUBE Error on processing query 'SELECT 1 FROM test_alias_skip_idx__fuzz_30 GROUP BY materialize(100), materialize(1), materialize(19) WITH ROLLUP WITH CUBE': Received from localhost:9000. DB::Exception: Syntax error: failed at position 131 ('CUBE'): CUBE. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 516 out of 1000 SELECT 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY materialize(100), materialize(1), toUInt128(materialize(toNullable(19))) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 517 out of 1000 SELECT 1 FROM test_alias_skip_idx__fuzz_30 GROUP BY materialize(100), materialize(1), toUInt128(materialize(toNullable(19))) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 518 out of 1000 SELECT 1 FROM test_alias_skip_idx__fuzz_10 GROUP BY 100, 1, toUInt128(materialize(toNullable(19))) WITH ROLLUP Error on processing query 'SELECT 1 FROM test_alias_skip_idx__fuzz_10 GROUP BY 100, 1, toUInt128(materialize(toNullable(19))) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 1 FROM test_alias_skip_idx__fuzz_10 GROUP BY 100, 1, toUInt128(materialize(toNullable(19))) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 519 out of 1000 SELECT 1 FROM test_alias_skip_idx__fuzz_14 PREWHERE toUInt128(toUInt256(19)) GROUP BY 100, materialize(1), toUInt128(materialize(toNullable(19))) WITH ROLLUP Error on processing query 'SELECT 1 FROM test_alias_skip_idx__fuzz_14 PREWHERE toUInt128(toUInt256(19)) GROUP BY 100, materialize(1), toUInt128(materialize(toNullable(19))) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 1 FROM test_alias_skip_idx__fuzz_14 PREWHERE toUInt128(toUInt256(19)) GROUP BY 100, materialize(1), toUInt128(materialize(toNullable(19))) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 520 out of 1000 SELECT 1 FROM test_alias_skip_idx__fuzz_30 GROUP BY materialize(100), materialize(1), materialize(toNullable(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 521 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_0 GROUP BY materialize(100), 1, materialize(toNullable(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 522 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_41 GROUP BY materialize(100), 1, materialize(toNullable(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 523 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(100), 1, materialize(toNullable(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 524 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(100), 1, materialize(toNullable(19)) WITH ROLLUP Got boring AST Fuzzing step 525 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_21 GROUP BY materialize(100), 1, materialize(toNullable(19)) WITH ROLLUP Got boring AST Fuzzing step 526 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_21 WHERE toUInt128(toNullable(toUInt128(100))) GROUP BY materialize(100), 1, materialize(toNullable(19)) WITH ROLLUP Error on processing query 'SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_21 WHERE toUInt128(toNullable(toUInt128(100))) GROUP BY materialize(100), 1, materialize(toNullable(19)) WITH ROLLUP': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 527 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_21 GROUP BY 100, 1, toNullable(19) WITH ROLLUP Error on processing query 'SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_21 GROUP BY 100, 1, toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_21 GROUP BY 100, 1, toNullable(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 528 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_10 GROUP BY materialize(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 529 out of 1000 SELECT toNullable(toLowCardinality(1)) FROM test_alias_skip_idx__fuzz_41 GROUP BY materialize(100), 1, 19 WITH ROLLUP Error on processing query 'SELECT toNullable(toLowCardinality(1)) FROM test_alias_skip_idx__fuzz_41 GROUP BY materialize(100), 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(toLowCardinality(1)) FROM test_alias_skip_idx__fuzz_41 GROUP BY materialize(100), 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 530 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_10 GROUP BY materialize(100), 1, toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 531 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_10 GROUP BY materialize(100), 1, toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 532 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_10 GROUP BY materialize(100), 1, toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 533 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_37 GROUP BY materialize(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_4 GROUP BY materialize(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 535 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_37 GROUP BY materialize(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 536 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_30 GROUP BY materialize(toNullable(toLowCardinality(toLowCardinality(100))), 100), 1, 19 WITH ROLLUP Error on processing query 'SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_30 GROUP BY materialize(toNullable(toLowCardinality(toLowCardinality(100))), 100), 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_30 GROUP BY materialize(toNullable(toLowCardinality(toLowCardinality(100))), 100), 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 537 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_37 GROUP BY materialize(100), 1, 19 WITH ROLLUP Error on processing query 'SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_37 GROUP BY materialize(100), 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_37 GROUP BY materialize(100), 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 538 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_37 GROUP BY materialize(100), 1, toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 539 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_30 GROUP BY materialize(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 540 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_30 GROUP BY materialize(100), 1, toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 541 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_25 GROUP BY 100, 1, 19 WITH ROLLUP Error on processing query 'SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_25 GROUP BY 100, 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_25 GROUP BY 100, 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 542 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_30 GROUP BY 100, 1, toNullable(19) WITH ROLLUP Error on processing query 'SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_30 GROUP BY 100, 1, toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_30 GROUP BY 100, 1, toNullable(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 543 out of 1000 SELECT toNullable(test_nested_alias_idx__fuzz_13, 1) FROM test_alias_skip_idx__fuzz_25 GROUP BY materialize(100), 1, 19 WITH ROLLUP Error on processing query 'SELECT toNullable(test_nested_alias_idx__fuzz_13, 1) FROM test_alias_skip_idx__fuzz_25 GROUP BY materialize(100), 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_13' in scope SELECT toNullable(test_nested_alias_idx__fuzz_13, 1) FROM test_alias_skip_idx__fuzz_25 GROUP BY materialize(100), 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 544 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_30 WHERE test_nested_alias_idx__fuzz_13 GROUP BY materialize(100), 1, toNullable(19) WITH ROLLUP Error on processing query 'SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_30 WHERE test_nested_alias_idx__fuzz_13 GROUP BY materialize(100), 1, toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_13' in scope SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_30 WHERE test_nested_alias_idx__fuzz_13 GROUP BY materialize(100), 1, toNullable(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 545 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_0 GROUP BY GROUPING SETS ( (materialize(100)), (1), (toNullable(19))) WITH ROLLUP Error on processing query 'SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_0 GROUP BY GROUPING SETS ((materialize(100)), (1), (toNullable(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 546 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_37 GROUP BY materialize(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 547 out of 1000 SELECT toNullable(1) FROM test_alias_skip_idx__fuzz_10 GROUP BY materialize(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 548 out of 1000 SELECT materialize(materialize(toNullable(100))), toNullable(1) FROM test_alias_skip_idx__fuzz_0 GROUP BY materialize(materialize(toLowCardinality(100))), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 549 out of 1000 SELECT materialize(materialize(toNullable(100))), toNullable(1) FROM test_alias_skip_idx__fuzz_0 GROUP BY materialize(toLowCardinality(100)), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 550 out of 1000 SELECT materialize(toNullable(100)), toNullable(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY materialize(toLowCardinality(100)), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 551 out of 1000 SELECT materialize(toNullable(100)), toNullable(toLowCardinality(toUInt128(1))) FROM test_alias_skip_idx__fuzz_14 GROUP BY toLowCardinality(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 SELECT materialize(toNullable(100)), toNullable(toLowCardinality(toUInt128(1))) FROM test_alias_skip_idx__fuzz_25 GROUP BY toLowCardinality(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 553 out of 1000 SELECT materialize(100), toUInt256(toLowCardinality(19)), toNullable(toLowCardinality(toUInt128(1))) FROM test_alias_skip_idx__fuzz_25 GROUP BY toLowCardinality(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 554 out of 1000 SELECT materialize(100), toLowCardinality(19), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_25 GROUP BY toLowCardinality(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 555 out of 1000 SELECT materialize(100), toLowCardinality(19), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_25 GROUP BY toLowCardinality(100), 1, toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 556 out of 1000 SELECT materialize(100), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_10 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_0 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 558 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 559 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 560 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 561 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 562 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 563 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 564 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 565 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 566 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 567 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 568 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 569 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 570 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 571 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 572 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 573 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 574 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 575 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 576 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 577 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 578 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 579 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 580 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 581 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 582 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 584 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 585 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 586 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 588 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 589 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 590 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 591 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 592 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 593 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 594 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 595 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 596 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 597 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 598 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 599 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 600 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 601 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 602 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 603 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 604 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 605 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 606 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 607 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 608 out of 1000 SELECT 100, materialize(100), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_41 GROUP BY 100, materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'SELECT 100, materialize(100), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_41 GROUP BY 100, materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, materialize(100), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_41 GROUP BY 100, materialize(1), toNullable(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 609 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 610 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 611 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 612 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 613 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 614 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 615 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 616 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 617 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 618 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 619 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 620 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 621 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 622 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 623 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 624 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 625 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 626 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 627 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 628 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 629 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 630 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 631 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 632 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 633 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 634 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 635 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 636 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 637 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 638 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 639 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 640 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 641 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 642 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 643 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 644 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 645 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 646 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 647 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 648 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 649 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 650 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 651 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 652 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 653 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 654 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 655 out of 1000 SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, materialize(1), toNullable(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 656 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 657 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 658 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 659 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 660 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 661 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 662 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 663 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 664 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 665 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 666 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 667 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 668 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 669 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 670 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 671 out of 1000 EXPLAIN PIPELINE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 672 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 673 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 674 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 675 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 676 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 677 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 678 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 679 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 680 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 681 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 682 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 683 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 684 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 685 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 686 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 687 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 688 out of 1000 EXPLAIN SYNTAX SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 689 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 690 out of 1000 EXPLAIN ESTIMATE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 691 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 692 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 693 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 694 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 695 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 696 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 697 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 698 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 699 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 700 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 701 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 702 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 703 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 704 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('100'): 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 705 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 706 out of 1000 EXPLAIN AST SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 707 out of 1000 EXPLAIN SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 708 out of 1000 EXPLAIN QUERY TREE SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 709 out of 1000 SELECT 100, toLowCardinality(materialize(100)), toNullable(toUInt128(1)) FROM test_alias_skip_idx__fuzz_25 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 710 out of 1000 SELECT 100, materialize(100), toUInt128(1) FROM test_alias_skip_idx__fuzz_30 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 711 out of 1000 SELECT 100, materialize(100), toUInt128(1) FROM test_alias_skip_idx__fuzz_30 GROUP BY GROUPING SETS ( (toLowCardinality(100)), (materialize(1)), (toNullable(19))) WITH ROLLUP Error on processing query 'SELECT 100, materialize(100), toUInt128(1) FROM test_alias_skip_idx__fuzz_30 GROUP BY GROUPING SETS ((toLowCardinality(100)), (materialize(1)), (toNullable(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 712 out of 1000 SELECT 100, materialize(100), toUInt128(1) FROM test_alias_skip_idx__fuzz_3 WITH TOTALS Error on processing query 'SELECT 100, materialize(100), toUInt128(1) FROM test_alias_skip_idx__fuzz_3 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 713 out of 1000 SELECT 100, 100, toUInt128(1) FROM test_alias_skip_idx__fuzz_41 WHERE toUInt256(toNullable(100)) GROUP BY toLowCardinality(100), 1, toNullable(19) WITH ROLLUP Error on processing query 'SELECT 100, 100, toUInt128(1) FROM test_alias_skip_idx__fuzz_41 WHERE toUInt256(toNullable(100)) GROUP BY toLowCardinality(100), 1, toNullable(19) WITH ROLLUP': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 714 out of 1000 SELECT 100, materialize(100), toUInt128(1) FROM test_alias_skip_idx__fuzz_30 GROUP BY toLowCardinality(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 715 out of 1000 SELECT 100, materialize(100), toUInt128(1) FROM test_alias_skip_idx__fuzz_30 GROUP BY toLowCardinality(100), materialize(1), toNullable(toLowCardinality(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 716 out of 1000 SELECT 100, materialize(100), toUInt128(1) FROM test_alias_skip_idx__fuzz_37 GROUP BY toLowCardinality(100), materialize(1), toNullable(toLowCardinality(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 717 out of 1000 SELECT 100, materialize(100), toUInt128(1) FROM test_alias_skip_idx__fuzz_37 GROUP BY 100, materialize(1), toNullable(toLowCardinality(19)) WITH ROLLUP Error on processing query 'SELECT 100, materialize(100), toUInt128(1) FROM test_alias_skip_idx__fuzz_37 GROUP BY 100, materialize(1), toNullable(toLowCardinality(19)) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, materialize(100), toUInt128(1) FROM test_alias_skip_idx__fuzz_37 GROUP BY 100, materialize(1), toNullable(toLowCardinality(19)) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 718 out of 1000 SELECT 100, materialize(100), toUInt128(1) FROM test_alias_skip_idx__fuzz_41 GROUP BY toLowCardinality(100), materialize(1), toNullable(toLowCardinality(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 719 out of 1000 SELECT 100, materialize(100), toUInt128(1) FROM test_alias_skip_idx__fuzz_41 GROUP BY toLowCardinality(100), materialize(1), toNullable(toLowCardinality(19)) WITH ROLLUP Got boring AST Fuzzing step 720 out of 1000 SELECT 100, materialize(100), toUInt128(1) FROM test_alias_skip_idx__fuzz_10 GROUP BY toLowCardinality(100), materialize(1), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 721 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_10 GROUP BY toLowCardinality(100), materialize(1), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 722 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_10 GROUP BY 100, materialize(1), toLowCardinality(19) WITH ROLLUP Error on processing query 'SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_10 GROUP BY 100, materialize(1), toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_10 GROUP BY 100, materialize(1), toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 723 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_30 GROUP BY toLowCardinality(100), materialize(1), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 724 out of 1000 SELECT 100, toNullable(100), 1 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, materialize(1), toLowCardinality(19) WITH ROLLUP Error on processing query 'SELECT 100, toNullable(100), 1 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, materialize(1), toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, toNullable(100), 1 FROM test_alias_skip_idx__fuzz_0 GROUP BY 100, materialize(1), toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 725 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_14 GROUP BY toLowCardinality(100), materialize(1), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 726 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_14 GROUP BY toLowCardinality(100), materialize(1), 19 WITH ROLLUP Error on processing query 'SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_14 GROUP BY toLowCardinality(100), materialize(1), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_14 GROUP BY toLowCardinality(100), materialize(1), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 727 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_14 GROUP BY toLowCardinality(100), materialize(1), toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 728 out of 1000 SELECT toNullable(100), 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY toLowCardinality(100), 1, toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 729 out of 1000 SELECT toNullable(100), 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY toLowCardinality(100), 1, toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 730 out of 1000 SELECT toNullable(100), 100, 1 FROM test_alias_skip_idx__fuzz_3 GROUP BY toLowCardinality(materialize(1), 100), 1, toLowCardinality(19) WITH ROLLUP Error on processing query 'SELECT toNullable(100), 100, 1 FROM test_alias_skip_idx__fuzz_3 GROUP BY toLowCardinality(materialize(1), 100), 1, toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toNullable(100), 100, 1 FROM test_alias_skip_idx__fuzz_3 GROUP BY toLowCardinality(materialize(1), 100), 1, toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 731 out of 1000 SELECT toNullable(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toLowCardinality(100), 1, toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 732 out of 1000 SELECT toNullable(100), 100, 1 FROM test_alias_skip_idx__fuzz_3 GROUP BY toLowCardinality(100), 1, 19 WITH ROLLUP Error on processing query 'SELECT toNullable(100), 100, 1 FROM test_alias_skip_idx__fuzz_3 GROUP BY toLowCardinality(100), 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT toNullable(100), 100, 1 FROM test_alias_skip_idx__fuzz_3 GROUP BY toLowCardinality(100), 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 733 out of 1000 SELECT toNullable(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toLowCardinality(100), 1, toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 734 out of 1000 SELECT toNullable(100), 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY 100, 1, toLowCardinality(19) WITH ROLLUP Error on processing query 'SELECT toNullable(100), 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY 100, 1, toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT toNullable(100), 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY 100, 1, toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 735 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toLowCardinality(100), 1, toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 736 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_10 GROUP BY toLowCardinality(100), 1, 19 WITH ROLLUP Error on processing query 'SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_10 GROUP BY toLowCardinality(100), 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_10 GROUP BY toLowCardinality(100), 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 737 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY 100, 1, toLowCardinality(19) WITH ROLLUP Error on processing query 'SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY 100, 1, toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY 100, 1, toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 738 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toLowCardinality(100), 1, toLowCardinality(materialize(toLowCardinality(100)), 19) WITH ROLLUP Error on processing query 'SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toLowCardinality(100), 1, toLowCardinality(materialize(toLowCardinality(100)), 19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toLowCardinality(100), 1, toLowCardinality(materialize(toLowCardinality(100)), 19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 739 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toLowCardinality(100), 1, toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 740 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_25 GROUP BY toLowCardinality(100), 1, toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 741 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_41 GROUP BY toLowCardinality(100), 1, toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 742 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_4 GROUP BY toLowCardinality(100), 1, toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 743 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_30 GROUP BY toLowCardinality(100), 1, toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 744 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY toLowCardinality(100), 1, toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 745 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY toLowCardinality(100), 1, toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 746 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY toLowCardinality(100), 1, toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 747 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY toLowCardinality(test_alias_skip_idx__fuzz_28, 100), 1, toLowCardinality(19) WITH ROLLUP Error on processing query 'SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY toLowCardinality(test_alias_skip_idx__fuzz_28, 100), 1, toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_28' in scope SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY toLowCardinality(test_alias_skip_idx__fuzz_28, 100), 1, toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 748 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_41 GROUP BY toLowCardinality(toUInt256(100)), 1, toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 749 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_30 GROUP BY toLowCardinality(toUInt256(100)), 1, toLowCardinality(toLowCardinality(toNullable(materialize(19))), 19) WITH ROLLUP Error on processing query 'SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_30 GROUP BY toLowCardinality(toUInt256(100)), 1, toLowCardinality(toLowCardinality(toNullable(materialize(19))), 19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_30 GROUP BY toLowCardinality(toUInt256(100)), 1, toLowCardinality(toLowCardinality(toNullable(materialize(19))), 19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 750 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_41 GROUP BY toLowCardinality(toUInt256(100)), 1, toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 751 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_3 GROUP BY toLowCardinality(toUInt256(100)), 1, toLowCardinality(toNullable(toUInt256(19))) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 752 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_3 GROUP BY toLowCardinality(toUInt256(100)), 1, toLowCardinality(toNullable(toUInt256(19))) WITH ROLLUP Got boring AST Fuzzing step 753 out of 1000 SELECT 100, toNullable(100), 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toLowCardinality(toUInt256(100)), 1, toNullable(toUInt256(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 754 out of 1000 SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toLowCardinality(toUInt256(100)), 1, toNullable(toUInt256(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 755 out of 1000 SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY GROUPING SETS ( (toUInt256(100)), (1), (toNullable(toUInt256(19)))) WITH ROLLUP Error on processing query 'SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY GROUPING SETS ((toUInt256(100)), (1), (toNullable(toUInt256(19)))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 756 out of 1000 SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toLowCardinality(toUInt256(100)), 1, toNullable(toUInt256(19)) WITH ROLLUP Got boring AST Fuzzing step 757 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 758 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 759 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 760 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 761 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('toLowCardinality'): toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 762 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('toLowCardinality'): toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 763 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 764 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 765 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 766 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 767 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 768 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 769 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 770 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 771 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 772 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 773 out of 1000 EXPLAIN AST SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 774 out of 1000 EXPLAIN AST SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 775 out of 1000 EXPLAIN AST SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 776 out of 1000 EXPLAIN AST SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 777 out of 1000 EXPLAIN AST SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 778 out of 1000 EXPLAIN AST SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 779 out of 1000 EXPLAIN AST SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 780 out of 1000 EXPLAIN AST SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 781 out of 1000 EXPLAIN AST SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 782 out of 1000 EXPLAIN AST SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 783 out of 1000 EXPLAIN AST SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 784 out of 1000 EXPLAIN AST SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 785 out of 1000 EXPLAIN SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 786 out of 1000 EXPLAIN SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 787 out of 1000 EXPLAIN AST SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 788 out of 1000 EXPLAIN AST SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 789 out of 1000 SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 790 out of 1000 SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 791 out of 1000 SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_14 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 792 out of 1000 SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_14 GROUP BY toUInt256(100), 1, toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 793 out of 1000 SELECT toLowCardinality(100), toLowCardinality(100), 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY toUInt256(100), 1, 19 WITH ROLLUP Error on processing query 'SELECT toLowCardinality(100), toLowCardinality(100), 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY toUInt256(100), 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT toLowCardinality(100), toLowCardinality(100), 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY toUInt256(100), 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 794 out of 1000 SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_30 GROUP BY 100, 1, toUInt256(19) WITH ROLLUP Error on processing query 'SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_30 GROUP BY 100, 1, toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_30 GROUP BY 100, 1, toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 795 out of 1000 SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_25 GROUP BY toUInt256(100), 1, toUInt256(toUInt128(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 796 out of 1000 SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY toUInt256(100), 1, toUInt256(toUInt128(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 797 out of 1000 SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_14 GROUP BY toUInt256(100), 1, toUInt256(toUInt128(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 798 out of 1000 SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_14 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 799 out of 1000 SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_10 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_25 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 801 out of 1000 SELECT toLowCardinality(100), 100, 1 FROM test_alias_skip_idx__fuzz_25 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 802 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_25 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 803 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 804 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY GROUPING SETS ( (toUInt256(materialize(100))), (1), (19)) WITH ROLLUP Error on processing query 'SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY GROUPING SETS ((toUInt256(materialize(100))), (1), (19)) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 805 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_30 GROUP BY GROUPING SETS ( (toUInt256(100)), (1), (19)) WITH ROLLUP Error on processing query 'SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_30 GROUP BY GROUPING SETS ((toUInt256(100)), (1), (19)) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 806 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_25 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 807 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 808 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 809 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_30 GROUP BY toUInt256(materialize(toLowCardinality(materialize(100))), 100), 1, toUInt128(19) WITH ROLLUP Error on processing query 'SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_30 GROUP BY toUInt256(materialize(toLowCardinality(materialize(100))), 100), 1, toUInt128(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt256'. Expected 1 argument, got 2 arguments: In scope SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_30 GROUP BY toUInt256(materialize(toLowCardinality(materialize(100))), 100), 1, toUInt128(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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)::NameToUInt256, 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&) @ 0x00000000071719f8 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x000000000716b91b 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 810 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_4 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 811 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_0 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 812 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY 100, 1, 19 WITH ROLLUP Error on processing query 'SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY 100, 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY 100, 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 813 out of 1000 SELECT 100, 100, toLowCardinality(1) FROM test_alias_skip_idx__fuzz_14 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 814 out of 1000 SELECT 100, 100, toLowCardinality(1) FROM test_alias_skip_idx__fuzz_0 GROUP BY toUInt256(100), 1, 19 WITH ROLLUP Error on processing query 'SELECT 100, 100, toLowCardinality(1) FROM test_alias_skip_idx__fuzz_0 GROUP BY toUInt256(100), 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 100, toLowCardinality(1) FROM test_alias_skip_idx__fuzz_0 GROUP BY toUInt256(100), 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 815 out of 1000 SELECT toLowCardinality(toUInt128(100)), 100, toLowCardinality(1) FROM test_alias_skip_idx__fuzz_21 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 816 out of 1000 SELECT toLowCardinality(toUInt128(100)), 100, toLowCardinality(toLowCardinality(toNullable(1))) FROM test_alias_skip_idx__fuzz_21 GROUP BY toUInt256(100), 1, 19 WITH ROLLUP Error on processing query 'SELECT toLowCardinality(toUInt128(100)), 100, toLowCardinality(toLowCardinality(toNullable(1))) FROM test_alias_skip_idx__fuzz_21 GROUP BY toUInt256(100), 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT toLowCardinality(toUInt128(100)), 100, toLowCardinality(toLowCardinality(toNullable(1))) FROM test_alias_skip_idx__fuzz_21 GROUP BY toUInt256(100), 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 817 out of 1000 SELECT toUInt128(100), 100, toLowCardinality(1) FROM test_alias_skip_idx__fuzz_37 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 818 out of 1000 SELECT toUInt128(toUInt256(100)), 100, toLowCardinality(a2 > toNullable(100), 1) FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Error on processing query 'SELECT toUInt128(toUInt256(100)), 100, toLowCardinality(a2 > toNullable(100), 1) FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT toUInt128(toUInt256(100)), 100, toLowCardinality(a2 > toNullable(100), 1) FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 819 out of 1000 SELECT toUInt128(100), 100, 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 820 out of 1000 SELECT toLowCardinality(100), toUInt128(100), 100, 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY 100, 1, toUInt128(19) WITH ROLLUP Error on processing query 'SELECT toLowCardinality(100), toUInt128(100), 100, 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY 100, 1, toUInt128(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 4]. In scope SELECT toLowCardinality(100), toUInt128(100), 100, 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY 100, 1, toUInt128(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 821 out of 1000 SELECT toUInt128(100), 100, 1 FROM test_alias_skip_idx__fuzz_25 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 822 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_25 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 823 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_25 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 824 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 825 out of 1000 EXPLAIN QUERY TREE dump_passes = true SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_25 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Error on processing query 'EXPLAIN QUERY TREE dump_passes = true SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_25 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 826 out of 1000 EXPLAIN PIPELINE header = true SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE header = true SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_21 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 827 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 828 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_10 GROUP BY 100, 1, 19 WITH ROLLUP Error on processing query 'SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_10 GROUP BY 100, 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_10 GROUP BY 100, 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 829 out of 1000 SELECT toUInt256(100), 100, 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY toUInt256(100), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 830 out of 1000 SELECT toUInt256(100), 100, 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY toUInt256(toNullable(100)), 1, 19 WITH ROLLUP Error on processing query 'SELECT toUInt256(100), 100, 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY toUInt256(toNullable(100)), 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT toUInt256(100), 100, 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY toUInt256(toNullable(100)), 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 831 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY 100, 1, toUInt128(19) WITH ROLLUP Error on processing query 'SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY 100, 1, toUInt128(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_37 GROUP BY 100, 1, toUInt128(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 832 out of 1000 SELECT toUInt256(100), 100, 1 FROM test_alias_skip_idx__fuzz_14 GROUP BY toUInt256(toNullable(toUInt256(100))), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 833 out of 1000 SELECT toUInt256(100), 100, 1 FROM test_alias_skip_idx__fuzz_14 WITH TOTALS Error on processing query 'SELECT toUInt256(100), 100, 1 FROM test_alias_skip_idx__fuzz_14 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 834 out of 1000 SELECT toUInt256(100), 100, 1 FROM test_alias_skip_idx__fuzz_35 GROUP BY toUInt256(toNullable(toUInt256(100))), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 835 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_35 WHERE materialize(16) GROUP BY toUInt256(toNullable(toUInt256(100))), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 836 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toUInt256(toNullable(100)), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 837 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_41 WHERE materialize(16) GROUP BY toUInt256(toNullable(100)), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 838 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_41 WHERE materialize(16) GROUP BY toUInt256(toNullable(100)), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 839 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toUInt256(toNullable(100)), 1, 19 WITH ROLLUP Error on processing query 'SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toUInt256(toNullable(100)), 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toUInt256(toNullable(100)), 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 840 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_41 WHERE materialize(16) GROUP BY toUInt256(toNullable(100)), 1, toUInt128(19) WITH ROLLUP Got boring AST Fuzzing step 841 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toUInt256(toNullable(100)), 1, toUInt128(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 842 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_0 WHERE materialize(16) GROUP BY toUInt256(toNullable(100)), 1, toUInt128(materialize(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 843 out of 1000 SELECT 100, 100, materialize(1), 1 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toUInt256(toNullable(100)), 1, toUInt128(materialize(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 844 out of 1000 SELECT 100, 100, 1, 1 FROM test_alias_skip_idx__fuzz_35 WHERE materialize(16) GROUP BY toUInt256(toNullable(100)), 1, toUInt128(materialize(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 845 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_4 WHERE materialize(16) GROUP BY toNullable(100), 1, toUInt128(materialize(toNullable(19))) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 846 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toNullable(100), 1, toUInt128(materialize(toNullable(19))) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 847 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_0 WHERE materialize(16) GROUP BY toNullable(100), 1, toUInt128(materialize(toNullable(19))) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 848 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) GROUP BY 100, 1, toUInt128(materialize(toNullable(19))) WITH ROLLUP Error on processing query 'SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) GROUP BY 100, 1, toUInt128(materialize(toNullable(19))) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) GROUP BY 100, 1, toUInt128(materialize(toNullable(19))) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 849 out of 1000 SELECT 100, 100, toLowCardinality(1) FROM test_alias_skip_idx__fuzz_0 WHERE materialize(16) GROUP BY toNullable(100), 1, toUInt128(materialize(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 850 out of 1000 SELECT 100, 100, toLowCardinality(1) FROM test_alias_skip_idx__fuzz_21 WHERE materialize(16) GROUP BY toNullable(100), 1, materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 851 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_0 WHERE materialize(16) GROUP BY toNullable(toLowCardinality(100)), 1, materialize(toNullable(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 852 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY toNullable(toLowCardinality(100)), 1, materialize(toNullable(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 853 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_37 WHERE materialize(16) GROUP BY toNullable(100), 1, materialize(toNullable(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 854 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_37 WHERE materialize(16) GROUP BY toNullable(materialize(toLowCardinality(toUInt256(toLowCardinality(100)))), toLowCardinality(100)), 1, materialize(toNullable(19)) WITH ROLLUP Error on processing query 'SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_37 WHERE materialize(16) GROUP BY toNullable(materialize(toLowCardinality(toUInt256(toLowCardinality(100)))), toLowCardinality(100)), 1, materialize(toNullable(19)) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_37 WHERE materialize(16) GROUP BY toNullable(materialize(toLowCardinality(toUInt256(toLowCardinality(100)))), toLowCardinality(100)), 1, materialize(toNullable(19)) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 855 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_41 WHERE materialize(16) GROUP BY toNullable(100), 1, materialize(toNullable(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 856 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_35 WHERE materialize(16) GROUP BY toNullable(100), 1, materialize(toNullable(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 857 out of 1000 SELECT 100, 100, 1 FROM test_alias_skip_idx__fuzz_35 WHERE materialize(16) GROUP BY toNullable(100), 1, materialize(toNullable(19)) WITH ROLLUP Got boring AST Fuzzing step 858 out of 1000 SELECT 100, 1 FROM test_alias_skip_idx__fuzz_3 WHERE materialize(16) GROUP BY toNullable(100), 1, materialize(toNullable(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 859 out of 1000 SELECT toNullable(100), 1 FROM test_alias_skip_idx__fuzz_3 WHERE materialize(16) GROUP BY 100, 1, toNullable(19) WITH ROLLUP Error on processing query 'SELECT toNullable(100), 1 FROM test_alias_skip_idx__fuzz_3 WHERE materialize(16) GROUP BY 100, 1, toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(100), 1 FROM test_alias_skip_idx__fuzz_3 WHERE materialize(16) GROUP BY 100, 1, toNullable(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 860 out of 1000 SELECT 100, 1 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toNullable(100), 1, materialize(toNullable(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 861 out of 1000 SELECT 100, 1 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toNullable(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 862 out of 1000 SELECT 100, 1 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toNullable(100), 1, 19 WITH ROLLUP Error on processing query 'SELECT 100, 1 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toNullable(100), 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 1 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toNullable(100), 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 863 out of 1000 SELECT 100, 1 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 864 out of 1000 SELECT 100, 1 FROM test_alias_skip_idx__fuzz_0 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 865 out of 1000 SELECT 100, toLowCardinality(1) FROM test_alias_skip_idx__fuzz_0 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 866 out of 1000 SELECT 100, toLowCardinality(1) FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toNullable(materialize(toLowCardinality(100))), materialize(1), 19 WITH ROLLUP Error on processing query 'SELECT 100, toLowCardinality(1) FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toNullable(materialize(toLowCardinality(100))), materialize(1), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, toLowCardinality(1) FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toNullable(materialize(toLowCardinality(100))), materialize(1), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 867 out of 1000 SELECT materialize(100), toLowCardinality(1) FROM test_alias_skip_idx__fuzz_0 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 868 out of 1000 SELECT materialize(100), toLowCardinality(1) FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 869 out of 1000 SELECT materialize(100), toLowCardinality(toNullable(1)) FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) GROUP BY toNullable(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 870 out of 1000 SELECT materialize(100), toLowCardinality(toNullable(1)) FROM test_alias_skip_idx__fuzz_0 WHERE materialize(16) GROUP BY toNullable(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 871 out of 1000 SELECT 100, toLowCardinality(toNullable(test_nested_alias_idx__fuzz_39, 1)) FROM test_alias_skip_idx__fuzz_4 WHERE materialize(16) GROUP BY 100, 1, toNullable(19) WITH ROLLUP Error on processing query 'SELECT 100, toLowCardinality(toNullable(test_nested_alias_idx__fuzz_39, 1)) FROM test_alias_skip_idx__fuzz_4 WHERE materialize(16) GROUP BY 100, 1, toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_39' in scope SELECT 100, toLowCardinality(toNullable(test_nested_alias_idx__fuzz_39, 1)) FROM test_alias_skip_idx__fuzz_4 WHERE materialize(16) GROUP BY 100, 1, toNullable(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 872 out of 1000 SELECT materialize(100), toLowCardinality(toNullable(1)) FROM test_alias_skip_idx__fuzz_35 WHERE materialize(16) GROUP BY toNullable(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 873 out of 1000 SELECT materialize(100), toLowCardinality(toNullable(1)) FROM test_alias_skip_idx__fuzz_35 WHERE materialize(16) GROUP BY toNullable(100), 1, toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 874 out of 1000 SELECT materialize(100), toLowCardinality(toNullable(1)) FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toNullable(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 875 out of 1000 SELECT 100, toLowCardinality(toNullable(1)) FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY 100, 1, toNullable(19) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 100, toLowCardinality(toNullable(1)) FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY 100, 1, toNullable(19) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, toLowCardinality(toNullable(1)) FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY 100, 1, toNullable(19) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 876 out of 1000 SELECT materialize(100), toNullable(1) FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toNullable(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 877 out of 1000 SELECT materialize(100), toNullable(1) FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toNullable(100), 1, toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 878 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_4 WHERE materialize(16) GROUP BY toNullable(100), 1, 19 WITH ROLLUP Error on processing query 'SELECT materialize(100) FROM test_alias_skip_idx__fuzz_4 WHERE materialize(16) GROUP BY toNullable(100), 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT materialize(100) FROM test_alias_skip_idx__fuzz_4 WHERE materialize(16) GROUP BY toNullable(100), 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 879 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_37 WHERE materialize(16) GROUP BY toNullable(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 880 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toNullable(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 881 out of 1000 SELECT toLowCardinality(toUInt128(100)) FROM test_alias_skip_idx__fuzz_4 WHERE materialize(16) GROUP BY toNullable(100), 1, toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 882 out of 1000 SELECT toLowCardinality(toUInt128(100)) FROM test_alias_skip_idx__fuzz_4 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 883 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_35 WHERE materialize(16) GROUP BY 100, 1, toNullable(19) WITH ROLLUP Error on processing query 'SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_35 WHERE materialize(16) GROUP BY 100, 1, toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_35 WHERE materialize(16) GROUP BY 100, 1, toNullable(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 884 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_4 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 885 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), 19 WITH ROLLUP Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 886 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_21 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 887 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 888 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_21 WHERE materialize(toNullable(toUInt256(16))) GROUP BY 100, materialize(1), toNullable(19) WITH ROLLUP Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_21 WHERE materialize(toNullable(toUInt256(16))) GROUP BY 100, materialize(1), toNullable(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_21 WHERE materialize(toNullable(toUInt256(16))) GROUP BY 100, materialize(1), toNullable(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 889 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 890 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), toNullable(19) WITH ROLLUP Got boring AST Fuzzing step 891 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 892 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), 19 WITH ROLLUP Error on processing query 'SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 893 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) WITH TOTALS Error on processing query 'SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 894 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY toNullable(100), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 895 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY toNullable(toUInt256(100)), materialize(1), toNullable(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 896 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY toNullable(toUInt256(100)), 1, toNullable(toLowCardinality(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 897 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_37 WHERE materialize(16) GROUP BY toNullable(toUInt256(100)), 1, toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 898 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_3 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 899 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_3 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 900 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 901 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 902 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) WITH TOTALS Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 903 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 904 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_41 WHERE materialize(16) GROUP BY toUInt256(100), 1, 19 WITH ROLLUP Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_41 WHERE materialize(16) GROUP BY toUInt256(100), 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_41 WHERE materialize(16) GROUP BY toUInt256(100), 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 905 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_0 WHERE materialize(16) GROUP BY toUInt256(100), 1, 19 WITH ROLLUP Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_0 WHERE materialize(16) GROUP BY toUInt256(100), 1, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_0 WHERE materialize(16) GROUP BY toUInt256(100), 1, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 906 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_3 WHERE materialize(16) GROUP BY 100, 1, toLowCardinality(19) WITH ROLLUP Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_3 WHERE materialize(16) GROUP BY 100, 1, toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_3 WHERE materialize(16) GROUP BY 100, 1, toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 907 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toUInt256(toLowCardinality(toNullable(toLowCardinality(19))), 100), 1, toLowCardinality(19) WITH ROLLUP Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toUInt256(toLowCardinality(toNullable(toLowCardinality(19))), 100), 1, toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt256'. Expected 1 argument, got 2 arguments: In scope SELECT 100 FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toUInt256(toLowCardinality(toNullable(toLowCardinality(19))), 100), 1, toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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)::NameToUInt256, 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&) @ 0x00000000071719f8 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToUInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000716ba80 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 908 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_21 WHERE materialize(16) GROUP BY 100, 1, toLowCardinality(19) WITH ROLLUP Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_21 WHERE materialize(16) GROUP BY 100, 1, toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_21 WHERE materialize(16) GROUP BY 100, 1, toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 909 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT 100 FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT 100 FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) WITH ROLLUP': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 910 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_41 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 911 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_3 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 912 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_37 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 913 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_37 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 914 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_37 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 915 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_37 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 916 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 917 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 918 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_0 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 919 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_21 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 920 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_21 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 921 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_21 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 922 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 923 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 924 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toUInt256(100), 1, 19 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toUInt256(100), 1, 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toUInt256(100), 1, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 925 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_3 WHERE materialize(16) GROUP BY toUInt256(100), 1, 19 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_3 WHERE materialize(16) GROUP BY toUInt256(100), 1, 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_3 WHERE materialize(16) GROUP BY toUInt256(100), 1, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 926 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 927 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 928 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 929 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(toLowCardinality(1, toLowCardinality(19)), 19) Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(toLowCardinality(1, toLowCardinality(19)), 19)': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 100 FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(toLowCardinality(1, toLowCardinality(19)), 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 930 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 931 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_4 WHERE materialize(16) GROUP BY toUInt256(100), 1, 19 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_4 WHERE materialize(16) GROUP BY toUInt256(100), 1, 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_4 WHERE materialize(16) GROUP BY toUInt256(100), 1, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 932 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 933 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) GROUP BY toUInt256(test_nested_alias_idx__fuzz_3, 100), toLowCardinality(toNullable(1)), toLowCardinality(19) Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) GROUP BY toUInt256(test_nested_alias_idx__fuzz_3, 100), toLowCardinality(toNullable(1)), toLowCardinality(19)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_3' in scope SELECT 100 FROM test_alias_skip_idx__fuzz_14 WHERE materialize(16) GROUP BY toUInt256(test_nested_alias_idx__fuzz_3, 100), toLowCardinality(toNullable(1)), toLowCardinality(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 934 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 935 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 936 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(toLowCardinality(toUInt128(19)), 19) Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(toLowCardinality(toUInt128(19)), 19)': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 100 FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(toLowCardinality(toUInt128(19)), 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 937 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_25 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 938 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_3 WHERE materialize(16) GROUP BY 100, 1, toLowCardinality(19) Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_3 WHERE materialize(16) GROUP BY 100, 1, toLowCardinality(19)': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_3 WHERE materialize(16) GROUP BY 100, 1, toLowCardinality(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 939 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 940 out of 1000 SELECT materialize(toLowCardinality(19)), 100 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 941 out of 1000 SELECT materialize(toLowCardinality(19)), 100 FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY 100, 1, toLowCardinality(19) Error on processing query 'SELECT materialize(toLowCardinality(19)), 100 FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY 100, 1, toLowCardinality(19)': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(toLowCardinality(19)), 100 FROM test_alias_skip_idx__fuzz_10 WHERE materialize(16) GROUP BY 100, 1, toLowCardinality(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 942 out of 1000 SELECT toLowCardinality(19), 100 FROM test_alias_skip_idx__fuzz_30 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 943 out of 1000 SELECT toLowCardinality(19), 100 FROM test_alias_skip_idx__fuzz_37 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 944 out of 1000 SELECT toLowCardinality(19), 100 FROM test_alias_skip_idx__fuzz_35 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 945 out of 1000 EXPLAIN PIPELINE header = true SELECT toLowCardinality(19), 100 FROM test_alias_skip_idx__fuzz_37 WHERE materialize(toFixedString('merge_expressions=0'), 16) GROUP BY toUInt256(100), 1, 19 Error on processing query 'EXPLAIN PIPELINE header = true SELECT toLowCardinality(19), 100 FROM test_alias_skip_idx__fuzz_37 WHERE materialize(toFixedString('merge_expressions=0'), 16) GROUP BY toUInt256(100), 1, 19': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 946 out of 1000 SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_35 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 947 out of 1000 EXPLAIN PIPELINE header = true SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_35 WHERE materialize(16) GROUP BY GROUPING SETS ( (toUInt256(100)), (1), (toLowCardinality(19))) Error on processing query 'EXPLAIN PIPELINE header = true SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_35 WHERE materialize(16) GROUP BY GROUPING SETS ((toUInt256(100)), (1), (toLowCardinality(19)))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 948 out of 1000 SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_41 WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 949 out of 1000 SELECT toLowCardinality(19), materialize(100) FROM test_alias_skip_idx__fuzz_41 WHERE materialize(16) GROUP BY toUInt256(greater(toLowCardinality(100), a2, toLowCardinality(100)), 100), 1, 19 Error on processing query 'SELECT toLowCardinality(19), materialize(100) FROM test_alias_skip_idx__fuzz_41 WHERE materialize(16) GROUP BY toUInt256(greater(toLowCardinality(100), a2, toLowCardinality(100)), 100), 1, 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT toLowCardinality(19), materialize(100) FROM test_alias_skip_idx__fuzz_41 WHERE materialize(16) GROUP BY toUInt256(greater(toLowCardinality(100), a2, toLowCardinality(100)), 100), 1, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 950 out of 1000 SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_21 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 951 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 952 out of 1000 EXPLAIN SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 953 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 954 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 955 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('toLowCardinality'): toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 956 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('toLowCardinality'): toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 957 out of 1000 EXPLAIN SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 958 out of 1000 EXPLAIN SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 959 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 960 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 961 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 962 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 963 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 964 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 965 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 966 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('toLowCardinality'): toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 967 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 968 out of 1000 EXPLAIN SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 969 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 970 out of 1000 EXPLAIN AST SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 971 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('toLowCardinality'): toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 972 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('toLowCardinality'): toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 973 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 974 out of 1000 EXPLAIN AST SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 975 out of 1000 EXPLAIN AST SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 976 out of 1000 EXPLAIN AST SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 977 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 978 out of 1000 EXPLAIN SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 979 out of 1000 EXPLAIN SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 980 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 981 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 982 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 983 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('toLowCardinality'): toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 984 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 985 out of 1000 EXPLAIN SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 986 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 987 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 988 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 989 out of 1000 EXPLAIN SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 990 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 991 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 992 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 993 out of 1000 EXPLAIN AST SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 994 out of 1000 EXPLAIN AST SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 995 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 996 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 997 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 998 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) Got boring AST Fuzzing step 999 out of 1000 EXPLAIN AST SELECT toLowCardinality(19), materialize(toUInt256(100)) FROM test_alias_skip_idx__fuzz_4 PREWHERE materialize(16) WHERE materialize(16) GROUP BY toUInt256(100), 1, toLowCardinality(19) 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_alias_skip_idx__fuzz_0 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_1 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_2 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_3 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_4 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_5 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_6 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_7 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_8 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_9 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_10 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_11 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_12 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_13 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_14 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_15 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_16 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_17 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_18 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_19 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_20 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_21 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_22 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_23 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_24 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_25 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_26 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_27 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_28 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_29 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_30 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_31 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_32 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_33 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_34 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_35 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_36 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_37 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_38 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_39 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_40 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_41 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_42 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_43 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_44 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_45 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_46 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_47 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_48 Fuzzing step 0 out of 1 Query succeeded, using this AST as a start DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_0 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_1 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_2 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_3 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_4 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_5 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_6 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_7 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_8 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_9 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_10 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_11 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_12 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_13 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_14 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_15 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_16 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_17 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_18 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_19 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_20 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_21 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_22 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_23 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_24 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_25 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_26 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_27 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_28 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_29 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_30 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_31 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_32 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_33 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_34 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_35 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_36 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_37 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_38 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_39 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_40 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_41 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_42 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_43 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_44 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_45 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_46 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_47 DROP TABLE IF EXISTS test_nested_alias_idx__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 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 WITH 1091 AS id SELECT 1 Got boring AST Fuzzing step 2 out of 1000 WITH 1091 AS id SELECT 1 Got boring AST Fuzzing step 3 out of 1000 WITH 1091 AS id SELECT 1 Got boring AST Fuzzing step 4 out of 1000 WITH 1091 AS id SELECT 1 Got boring AST Fuzzing step 5 out of 1000 WITH 1091 AS id SELECT 1 Got boring AST Fuzzing step 6 out of 1000 WITH 1091 AS id SELECT 1 Got boring AST Fuzzing step 7 out of 1000 WITH 1091 AS id SELECT 1 Got boring AST Fuzzing step 8 out of 1000 WITH 1091 AS id SELECT 1 Got boring AST Fuzzing step 9 out of 1000 WITH 1091 AS id SELECT 1 PREWHERE 16 Error on processing query 'WITH 1091 AS id SELECT 1 PREWHERE 16': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 10 out of 1000 WITH 1091 AS id SELECT 1 Got boring AST Fuzzing step 11 out of 1000 WITH 1091 AS id SELECT 1 Got boring AST Fuzzing step 12 out of 1000 WITH 1091 AS id SELECT 1 Got boring AST Fuzzing step 13 out of 1000 WITH 1091 AS id SELECT 1 Got boring AST Fuzzing step 14 out of 1000 WITH 1091 AS id SELECT 1 Got boring AST Fuzzing step 15 out of 1000 WITH 1091 AS id SELECT 1 Got boring AST Fuzzing step 16 out of 1000 WITH 1091 AS id SELECT 1 Got boring AST Fuzzing step 17 out of 1000 WITH 1091 AS id SELECT toUInt256(1) Query succeeded, using this AST as a start Fuzzing step 18 out of 1000 WITH 1091 AS id SELECT toUInt256(1) Got boring AST Fuzzing step 19 out of 1000 WITH 1091 AS id SELECT toUInt256(1) Got boring AST Fuzzing step 20 out of 1000 WITH toUInt256(1091) SELECT toUInt256(1) Query succeeded, using this AST as a start Fuzzing step 21 out of 1000 WITH toUInt256(1091) SELECT toUInt256(1) Got boring AST Fuzzing step 22 out of 1000 WITH toUInt256(1091) SELECT toUInt256(1) Got boring AST Fuzzing step 23 out of 1000 WITH toUInt256(1091) SELECT toUInt256(1) Got boring AST Fuzzing step 24 out of 1000 WITH toUInt256(1091) SELECT toUInt256(materialize(toLowCardinality(100)), 1) Error on processing query 'WITH toUInt256(1091) SELECT toUInt256(materialize(toLowCardinality(100)), 1)': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt256'. Expected 1 argument, got 2 arguments: In scope WITH toUInt256(1091) SELECT toUInt256(materialize(toLowCardinality(100)), 1). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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)::NameToUInt256, 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&) @ 0x00000000071719f8 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x000000000716b91b 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 25 out of 1000 WITH toUInt256(1091) SELECT toUInt256(1) Got boring AST Fuzzing step 26 out of 1000 WITH toUInt256(1091) SELECT toUInt256(1) Got boring AST Fuzzing step 27 out of 1000 WITH toUInt256(1091) SELECT toUInt256(1) Got boring AST Fuzzing step 28 out of 1000 WITH toUInt256(1091) SELECT toUInt256(1) Got boring AST Fuzzing step 29 out of 1000 WITH toUInt256(1091) SELECT toUInt256(1) Got boring AST Fuzzing step 30 out of 1000 WITH toUInt256(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 31 out of 1000 WITH toUInt256(1091) SELECT 1 Got boring AST Fuzzing step 32 out of 1000 WITH toUInt256(1091) SELECT 1 Got boring AST Fuzzing step 33 out of 1000 WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 34 out of 1000 WITH toLowCardinality(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 35 out of 1000 WITH toLowCardinality(1091) SELECT 1 WHERE 1091 Error on processing query 'WITH toLowCardinality(1091) SELECT 1 WHERE 1091': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 36 out of 1000 WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 37 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 38 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 39 out of 1000 WITH 1091 SELECT 1 WHERE c Error on processing query 'WITH 1091 SELECT 1 WHERE c': Received from localhost:9000. DB::Exception: Unknown expression identifier 'c' in scope WITH 1091 SELECT 1 WHERE c. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 40 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 41 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 42 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 43 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 44 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 45 out of 1000 WITH materialize(toUInt256(1091)) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 46 out of 1000 WITH materialize(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 47 out of 1000 WITH materialize(1091) SELECT toLowCardinality(toUInt128(1)) Query succeeded, using this AST as a start Fuzzing step 48 out of 1000 WITH materialize(1091) SELECT toLowCardinality(toUInt128(1)) Got boring AST Fuzzing step 49 out of 1000 WITH materialize(1091) SELECT toLowCardinality(toUInt128(1)) Got boring AST Fuzzing step 50 out of 1000 WITH materialize(1091) SELECT toLowCardinality(test_alias_skip_idx, toUInt128(toLowCardinality(toNullable(1)))) Error on processing query 'WITH materialize(1091) SELECT toLowCardinality(test_alias_skip_idx, toUInt128(toLowCardinality(toNullable(1))))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx' in scope WITH materialize(1091) SELECT toLowCardinality(test_alias_skip_idx, toUInt128(toLowCardinality(toNullable(1)))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 51 out of 1000 WITH materialize(1091) SELECT toLowCardinality(toUInt128(1)) Got boring AST Fuzzing step 52 out of 1000 WITH 1091 SELECT toLowCardinality(toUInt128(1)) WHERE a2 > toLowCardinality(100) Error on processing query 'WITH 1091 SELECT toLowCardinality(toUInt128(1)) WHERE a2 > toLowCardinality(100)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope WITH 1091 SELECT toLowCardinality(toUInt128(1)) WHERE a2 > toLowCardinality(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 53 out of 1000 WITH materialize(1091) SELECT toLowCardinality(toUInt128(1)) Got boring AST Fuzzing step 54 out of 1000 WITH materialize(1091) SELECT toLowCardinality(1) WHERE test_alias_skip_idx__fuzz_12 Error on processing query 'WITH materialize(1091) SELECT toLowCardinality(1) WHERE test_alias_skip_idx__fuzz_12': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_12' in scope WITH materialize(1091) SELECT toLowCardinality(1) WHERE test_alias_skip_idx__fuzz_12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 55 out of 1000 WITH materialize(1091) SELECT toLowCardinality(toUInt128(1)) PREWHERE materialize(100) Error on processing query 'WITH materialize(1091) SELECT toLowCardinality(toUInt128(1)) PREWHERE materialize(100)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 56 out of 1000 WITH materialize(1091) SELECT toLowCardinality(1) Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 WITH 1091 SELECT toLowCardinality(1) Query succeeded, using this AST as a start Fuzzing step 58 out of 1000 WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 59 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 60 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 61 out of 1000 WITH 1091 SELECT 1 GROUP BY materialize(toUInt256(toLowCardinality(toNullable(100), 19))), toLowCardinality(toNullable(toLowCardinality('merge_expressions=0'))), test_alias_skip_idx__fuzz_39 Error on processing query 'WITH 1091 SELECT 1 GROUP BY materialize(toUInt256(toLowCardinality(toNullable(100), 19))), toLowCardinality(toNullable(toLowCardinality('merge_expressions=0'))), test_alias_skip_idx__fuzz_39': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH 1091 SELECT 1 GROUP BY materialize(toUInt256(toLowCardinality(toNullable(100), 19))), toLowCardinality(toNullable(toLowCardinality('merge_expressions=0'))), test_alias_skip_idx__fuzz_39. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 62 out of 1000 WITH 1091 SELECT test_alias_skip_idx__fuzz_33, 1 Error on processing query 'WITH 1091 SELECT test_alias_skip_idx__fuzz_33, 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_33' in scope WITH 1091 SELECT test_alias_skip_idx__fuzz_33, 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 63 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 64 out of 1000 WITH toUInt128(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 65 out of 1000 WITH toUInt128(1091) SELECT 1 Got boring AST Fuzzing step 66 out of 1000 WITH toUInt128(1091) SELECT 1 Got boring AST Fuzzing step 67 out of 1000 WITH toUInt128(toUInt128(1091)) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 68 out of 1000 WITH toUInt128(toUInt128(1091)) SELECT 1 Got boring AST Fuzzing step 69 out of 1000 WITH toUInt128(toUInt128(1091)) SELECT 1 Got boring AST Fuzzing step 70 out of 1000 WITH toUInt128(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 71 out of 1000 WITH toUInt128(1091) SELECT 1 Got boring AST Fuzzing step 72 out of 1000 WITH toUInt128(1091) SELECT 1 Got boring AST Fuzzing step 73 out of 1000 WITH toUInt128(1091) SELECT 1 Got boring AST Fuzzing step 74 out of 1000 WITH toUInt128(1091) SELECT 1 Got boring AST Fuzzing step 75 out of 1000 WITH toUInt128(1091) SELECT 1 Got boring AST Fuzzing step 76 out of 1000 WITH toUInt128(1091) SELECT 1 Got boring AST Fuzzing step 77 out of 1000 WITH toUInt128(1091) SELECT 1 Got boring AST Fuzzing step 78 out of 1000 WITH toUInt128(1091) SELECT 1 Got boring AST Fuzzing step 79 out of 1000 WITH toUInt128(1091) SELECT 1 Got boring AST Fuzzing step 80 out of 1000 WITH toUInt128(1091) SELECT materialize(1) Query succeeded, using this AST as a start Fuzzing step 81 out of 1000 WITH toUInt128(1091) SELECT materialize(materialize(toLowCardinality(1))) Query succeeded, using this AST as a start Fuzzing step 82 out of 1000 WITH toUInt128(1091) SELECT materialize(materialize(toLowCardinality(1))) Got boring AST Fuzzing step 83 out of 1000 WITH toUInt128(toNullable(1091)) SELECT materialize(toLowCardinality(1)) Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 WITH toUInt128(toNullable(1091)) SELECT materialize(toLowCardinality(1)) Got boring AST Fuzzing step 85 out of 1000 WITH toUInt128(1091) SELECT toLowCardinality(1) Query succeeded, using this AST as a start Fuzzing step 86 out of 1000 WITH toUInt128(1091) SELECT toLowCardinality(1) Got boring AST Fuzzing step 87 out of 1000 WITH toUInt128(1091) SELECT toLowCardinality(1) Got boring AST Fuzzing step 88 out of 1000 WITH toUInt128(1091) SELECT toLowCardinality(1) GROUP BY test_alias_skip_idx__fuzz_20, a Error on processing query 'WITH toUInt128(1091) SELECT toLowCardinality(1) GROUP BY test_alias_skip_idx__fuzz_20, a': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_20' in scope WITH toUInt128(1091) SELECT toLowCardinality(1) GROUP BY test_alias_skip_idx__fuzz_20, a. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 89 out of 1000 WITH toUInt128(1091) SELECT toLowCardinality(1) Got boring AST Fuzzing step 90 out of 1000 WITH toUInt128(1091) SELECT toLowCardinality(1) Got boring AST Fuzzing step 91 out of 1000 WITH toUInt128(1091) SELECT toLowCardinality(1) Got boring AST Fuzzing step 92 out of 1000 WITH toUInt128(1091) SELECT toLowCardinality(1) Got boring AST Fuzzing step 93 out of 1000 WITH toUInt128(1091) SELECT toLowCardinality(1) Got boring AST Fuzzing step 94 out of 1000 WITH 1091 SELECT toLowCardinality(1) Query succeeded, using this AST as a start Fuzzing step 95 out of 1000 WITH 1091 SELECT toLowCardinality(materialize(toLowCardinality(1))) Query succeeded, using this AST as a start Fuzzing step 96 out of 1000 WITH 1091 SELECT toLowCardinality(materialize(1)) Query succeeded, using this AST as a start Fuzzing step 97 out of 1000 WITH 1091 SELECT toLowCardinality(materialize(1)) Got boring AST Fuzzing step 98 out of 1000 WITH 1091 SELECT toLowCardinality(materialize(1)) Got boring AST Fuzzing step 99 out of 1000 WITH 1091 SELECT toLowCardinality(materialize(1)) Got boring AST Fuzzing step 100 out of 1000 WITH 1091 SELECT materialize(1) Query succeeded, using this AST as a start Fuzzing step 101 out of 1000 WITH 1091 SELECT materialize(1) Got boring AST Fuzzing step 102 out of 1000 WITH 1091 SELECT materialize(1) Got boring AST Fuzzing step 103 out of 1000 WITH 1091 SELECT materialize(1) Got boring AST Fuzzing step 104 out of 1000 WITH 1091 SELECT materialize(materialize(1)) Query succeeded, using this AST as a start Fuzzing step 105 out of 1000 WITH 1091 SELECT materialize(1) Query succeeded, using this AST as a start Fuzzing step 106 out of 1000 WITH 1091 SELECT materialize(1) Got boring AST Fuzzing step 107 out of 1000 WITH 1091 SELECT materialize(1) Got boring AST Fuzzing step 108 out of 1000 WITH 1091 SELECT materialize(1) Got boring AST Fuzzing step 109 out of 1000 WITH 1091 SELECT materialize(1) Got boring AST Fuzzing step 110 out of 1000 WITH 1091 SELECT materialize(1) Got boring AST Fuzzing step 111 out of 1000 WITH 1091 SELECT materialize(1) Got boring AST Fuzzing step 112 out of 1000 WITH 1091 SELECT materialize(1) Got boring AST Fuzzing step 113 out of 1000 WITH 1091 SELECT materialize(1) Got boring AST Fuzzing step 114 out of 1000 WITH toNullable(1091) SELECT materialize(1) Query succeeded, using this AST as a start Fuzzing step 115 out of 1000 WITH toNullable(1091) SELECT materialize(1) Got boring AST Fuzzing step 116 out of 1000 WITH toNullable(1091) SELECT materialize(1) Got boring AST Fuzzing step 117 out of 1000 WITH toNullable(1091) SELECT materialize(1) Got boring AST Fuzzing step 118 out of 1000 WITH 1091 SELECT materialize(1) Query succeeded, using this AST as a start Fuzzing step 119 out of 1000 WITH 1091 SELECT materialize(1) Got boring AST Fuzzing step 120 out of 1000 WITH 1091 SELECT materialize(1) Got boring AST Fuzzing step 121 out of 1000 EXPLAIN PIPELINE `graph=1` = true WITH 1091 SELECT materialize(1) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true WITH 1091 SELECT materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 122 out of 1000 WITH 1091 SELECT materialize(1) WHERE toNullable(toNullable(toFixedString('merge_expressions=0'))) Error on processing query 'WITH 1091 SELECT materialize(1) WHERE toNullable(toNullable(toFixedString('merge_expressions=0')))': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope WITH 1091 SELECT materialize(1) WHERE toNullable(toNullable(toFixedString('merge_expressions=0'))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 123 out of 1000 WITH 1091 SELECT materialize(1) Got boring AST Fuzzing step 124 out of 1000 WITH 1091 SELECT materialize(1) Got boring AST Fuzzing step 125 out of 1000 WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 126 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 127 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 128 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 129 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 130 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 131 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 132 out of 1000 WITH toLowCardinality(toNullable(1091)) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 133 out of 1000 EXPLAIN QUERY TREE dump_passes = true WITH toNullable(1091) SELECT 1 WHERE toLowCardinality(toNullable(materialize(19))) Error on processing query 'EXPLAIN QUERY TREE dump_passes = true WITH toNullable(1091) SELECT 1 WHERE toLowCardinality(toNullable(materialize(19)))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 134 out of 1000 WITH toLowCardinality(toNullable(1091)) SELECT 1 Got boring AST Fuzzing step 135 out of 1000 WITH toLowCardinality(toNullable(1091)) SELECT 1 Got boring AST Fuzzing step 136 out of 1000 WITH toLowCardinality(toNullable(1091)) SELECT 1 Got boring AST Fuzzing step 137 out of 1000 WITH toLowCardinality(toNullable(1091)) SELECT 1 Got boring AST Fuzzing step 138 out of 1000 WITH toLowCardinality(toNullable(1091)) SELECT 1 Got boring AST Fuzzing step 139 out of 1000 WITH toLowCardinality(toNullable(1091)) SELECT 1 Got boring AST Fuzzing step 140 out of 1000 WITH toLowCardinality(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 141 out of 1000 WITH toLowCardinality(1091) SELECT 1 Got boring AST Fuzzing step 142 out of 1000 WITH toLowCardinality(1091) SELECT 1 Got boring AST Fuzzing step 143 out of 1000 WITH toLowCardinality(1091) SELECT 1 Got boring AST Fuzzing step 144 out of 1000 WITH toLowCardinality(1091) SELECT 1 Got boring AST Fuzzing step 145 out of 1000 WITH toLowCardinality(1091) SELECT 1 Got boring AST Fuzzing step 146 out of 1000 WITH toLowCardinality(1091) SELECT 1 Got boring AST Fuzzing step 147 out of 1000 WITH 1091 SELECT 1 PREWHERE materialize(test_nested_alias_idx__fuzz_43, 1) Error on processing query 'WITH 1091 SELECT 1 PREWHERE materialize(test_nested_alias_idx__fuzz_43, 1)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_43' in scope WITH 1091 SELECT 1 PREWHERE materialize(test_nested_alias_idx__fuzz_43, 1). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 148 out of 1000 WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 149 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 150 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 151 out of 1000 EXPLAIN AST optimize = true WITH 1091 SELECT 1 Error on processing query 'EXPLAIN AST optimize = true WITH 1091 SELECT 1': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 152 out of 1000 WITH materialize(toLowCardinality(1091)) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 153 out of 1000 WITH materialize(toLowCardinality(1091)) SELECT 1 WHERE toLowCardinality(toLowCardinality('default_settings')) Error on processing query 'WITH materialize(toLowCardinality(1091)) SELECT 1 WHERE toLowCardinality(toLowCardinality('default_settings'))': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: LowCardinality(String). In query WITH materialize(toLowCardinality(1091)) SELECT 1 WHERE toLowCardinality(toLowCardinality('default_settings')). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 154 out of 1000 WITH materialize(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 155 out of 1000 WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 156 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 157 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 158 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 159 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 160 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 1 WHERE toUInt128(materialize(19)) Error on processing query 'EXPLAIN PIPELINE WITH 1091 SELECT 1 WHERE toUInt128(materialize(19))': Received from localhost:9000. DB::Exception: Illegal type UInt128 of column toUInt128(materialize(19_UInt8)) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x0000000012fcc497 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001316d043 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&) @ 0x000000001163a878 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>>&) @ 0x0000000011668f69 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662c15 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 10. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158edae 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 161 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 162 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 163 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 1 Got boring AST Fuzzing step 164 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 47 ('1091'): 1091 SELECT 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 165 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 1 Got boring AST Fuzzing step 166 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 167 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 1 Got boring AST Fuzzing step 168 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 1 Got boring AST Fuzzing step 169 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 1 Got boring AST Fuzzing step 170 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 1 Got boring AST Fuzzing step 171 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 1 Got boring AST Fuzzing step 172 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 1 Got boring AST Fuzzing step 173 out of 1000 EXPLAIN AST WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 174 out of 1000 EXPLAIN WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 175 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 176 out of 1000 EXPLAIN WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 177 out of 1000 EXPLAIN WITH 1091 SELECT 1 Got boring AST Fuzzing step 178 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 SELECT 1 Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 SELECT 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('1091'): 1091 SELECT 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 179 out of 1000 EXPLAIN AST WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 180 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 SELECT 1 Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 SELECT 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('1091'): 1091 SELECT 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 181 out of 1000 EXPLAIN WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 182 out of 1000 EXPLAIN AST WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 183 out of 1000 EXPLAIN WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 184 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 185 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 186 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 1 Got boring AST Fuzzing step 187 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 SELECT 1 Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 SELECT 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('1091'): 1091 SELECT 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 188 out of 1000 EXPLAIN WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 189 out of 1000 WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 190 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 191 out of 1000 WITH 1091 SELECT toUInt128(1) Query succeeded, using this AST as a start Fuzzing step 192 out of 1000 WITH 1091 SELECT 1 Query succeeded, using this AST as a start Fuzzing step 193 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 194 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 195 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 196 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 197 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 198 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 199 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 200 out of 1000 WITH 1091 SELECT 1 PREWHERE 18 Error on processing query 'WITH 1091 SELECT 1 PREWHERE 18': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 201 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 202 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 203 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 204 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 205 out of 1000 WITH 1091 SELECT 1 Got boring AST Fuzzing step 206 out of 1000 WITH 1091 SELECT 1091, 1 Query succeeded, using this AST as a start Fuzzing step 207 out of 1000 WITH 1091 SELECT 1091, 1 Got boring AST Fuzzing step 208 out of 1000 WITH 1091 SELECT 1091, 1 Got boring AST Fuzzing step 209 out of 1000 WITH 1091 SELECT 1091, 1 Got boring AST Fuzzing step 210 out of 1000 WITH 1091 SELECT 1091, 1 Got boring AST Fuzzing step 211 out of 1000 WITH 1091 SELECT 1091, 1 Got boring AST Fuzzing step 212 out of 1000 WITH 1091 SELECT 1091, 1 Got boring AST Fuzzing step 213 out of 1000 WITH 1091 SELECT 1091, 1 Got boring AST Fuzzing step 214 out of 1000 WITH 1091 SELECT 1091, 1 Got boring AST Fuzzing step 215 out of 1000 WITH 1091 SELECT 1091, toLowCardinality(1) Query succeeded, using this AST as a start Fuzzing step 216 out of 1000 WITH 1091 SELECT 1091, toLowCardinality(1) Got boring AST Fuzzing step 217 out of 1000 WITH 1091 SELECT 1091, toLowCardinality(1) Got boring AST Fuzzing step 218 out of 1000 WITH toUInt256(1091) SELECT 1091, 1 Query succeeded, using this AST as a start Fuzzing step 219 out of 1000 WITH 1091 SELECT 1091, 1 PREWHERE test_alias_skip_idx__fuzz_44 GROUP BY test_alias_skip_idx__fuzz_33, a > 100, a2 > materialize(100) Error on processing query 'WITH 1091 SELECT 1091, 1 PREWHERE test_alias_skip_idx__fuzz_44 GROUP BY test_alias_skip_idx__fuzz_33, a > 100, a2 > materialize(100)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_44' in scope WITH 1091 SELECT 1091, 1 PREWHERE test_alias_skip_idx__fuzz_44 GROUP BY test_alias_skip_idx__fuzz_33, a > 100, a2 > materialize(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 220 out of 1000 WITH toUInt256(toNullable(1091)) SELECT 1091, 1 Query succeeded, using this AST as a start Fuzzing step 221 out of 1000 WITH toNullable(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 222 out of 1000 WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 223 out of 1000 EXPLAIN PIPELINE WITH toNullable(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 224 out of 1000 EXPLAIN PIPELINE WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 225 out of 1000 EXPLAIN ESTIMATE WITH toNullable(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 226 out of 1000 EXPLAIN AST WITH toNullable(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 227 out of 1000 EXPLAIN AST WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 228 out of 1000 EXPLAIN WITH toNullable(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 229 out of 1000 EXPLAIN WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 230 out of 1000 EXPLAIN QUERY TREE WITH toNullable(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 231 out of 1000 EXPLAIN QUERY TREE WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 232 out of 1000 EXPLAIN QUERY TREE WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 233 out of 1000 EXPLAIN QUERY TREE WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 234 out of 1000 EXPLAIN ESTIMATE WITH toNullable(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 235 out of 1000 EXPLAIN ESTIMATE WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 236 out of 1000 EXPLAIN ESTIMATE WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 237 out of 1000 EXPLAIN QUERY TREE WITH toNullable(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 238 out of 1000 EXPLAIN CURRENT TRANSACTION WITH toNullable(1091) SELECT 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH toNullable(1091) SELECT 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('toNullable'): toNullable(1091) SELECT 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 239 out of 1000 EXPLAIN QUERY TREE WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 240 out of 1000 EXPLAIN TABLE OVERRIDE WITH toNullable(1091) SELECT 1 Error on processing query 'EXPLAIN TABLE OVERRIDE WITH toNullable(1091) SELECT 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('toNullable'): toNullable(1091) SELECT 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 241 out of 1000 EXPLAIN QUERY TREE WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 242 out of 1000 EXPLAIN WITH toNullable(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 243 out of 1000 EXPLAIN WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 244 out of 1000 EXPLAIN WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 245 out of 1000 EXPLAIN WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 246 out of 1000 EXPLAIN WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 247 out of 1000 EXPLAIN WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 248 out of 1000 EXPLAIN QUERY TREE WITH toNullable(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 249 out of 1000 EXPLAIN WITH toNullable(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 250 out of 1000 EXPLAIN TABLE OVERRIDE WITH toNullable(1091) SELECT 1 Error on processing query 'EXPLAIN TABLE OVERRIDE WITH toNullable(1091) SELECT 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('toNullable'): toNullable(1091) SELECT 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 251 out of 1000 EXPLAIN WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 252 out of 1000 EXPLAIN WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 253 out of 1000 EXPLAIN WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 254 out of 1000 WITH toNullable(1091) SELECT 1 Query succeeded, using this AST as a start Fuzzing step 255 out of 1000 WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 256 out of 1000 WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 257 out of 1000 WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 258 out of 1000 WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 259 out of 1000 WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 260 out of 1000 WITH toNullable(1091) SELECT 1 GROUP BY 'merge_expressions=0', materialize(materialize(toUInt128(19))), test_alias_skip_idx__fuzz_45 Error on processing query 'WITH toNullable(1091) SELECT 1 GROUP BY 'merge_expressions=0', materialize(materialize(toUInt128(19))), test_alias_skip_idx__fuzz_45': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_45' in scope WITH toNullable(1091) SELECT 1 GROUP BY 'merge_expressions=0', materialize(materialize(toUInt128(19))), test_alias_skip_idx__fuzz_45. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 261 out of 1000 WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 262 out of 1000 WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 263 out of 1000 WITH toNullable(1091) SELECT 1 Got boring AST Fuzzing step 264 out of 1000 WITH 1091 SELECT toNullable(19), 1 Query succeeded, using this AST as a start Fuzzing step 265 out of 1000 WITH 1091 SELECT toNullable(19), 1 PREWHERE a > 100 Error on processing query 'WITH 1091 SELECT toNullable(19), 1 PREWHERE a > 100': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope WITH 1091 SELECT toNullable(19), 1 PREWHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 266 out of 1000 WITH 1091 SELECT 19, 1 Query succeeded, using this AST as a start Fuzzing step 267 out of 1000 WITH 1091 SELECT 19, 1 Got boring AST Fuzzing step 268 out of 1000 WITH 1091 SELECT 19, 1 Got boring AST Fuzzing step 269 out of 1000 WITH 1091 SELECT 19, 1 Got boring AST Fuzzing step 270 out of 1000 WITH 1091 SELECT 19, 1 GROUP BY materialize(materialize(toLowCardinality(materialize(100))), toLowCardinality(19)), a1, materialize('merge_expressions=0') Error on processing query 'WITH 1091 SELECT 19, 1 GROUP BY materialize(materialize(toLowCardinality(materialize(100))), toLowCardinality(19)), a1, materialize('merge_expressions=0')': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope WITH 1091 SELECT 19, 1 GROUP BY materialize(materialize(toLowCardinality(materialize(100))), toLowCardinality(19)), a1, materialize('merge_expressions=0'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 271 out of 1000 WITH 1091 SELECT 19, 1 Got boring AST Fuzzing step 272 out of 1000 WITH 1091 SELECT 19, 1 Got boring AST Fuzzing step 273 out of 1000 WITH 1091 SELECT 19, 1 Got boring AST Fuzzing step 274 out of 1000 WITH 1091 SELECT 19, 1 PREWHERE test_nested_alias_idx__fuzz_16 Error on processing query 'WITH 1091 SELECT 19, 1 PREWHERE test_nested_alias_idx__fuzz_16': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_16' in scope WITH 1091 SELECT 19, 1 PREWHERE test_nested_alias_idx__fuzz_16. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 275 out of 1000 WITH 1091 SELECT 19, 1 Got boring AST Fuzzing step 276 out of 1000 WITH 1091 SELECT 19, 1 Got boring AST Fuzzing step 277 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 278 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 279 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 280 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 281 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 282 out of 1000 WITH toLowCardinality(toNullable(1091)) SELECT 19, 1 WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 283 out of 1000 WITH toLowCardinality(1091) SELECT 19, 1 WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 284 out of 1000 WITH toLowCardinality(1091) SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 285 out of 1000 WITH toLowCardinality(toUInt128(1091)) SELECT 19, 1 WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 286 out of 1000 WITH toLowCardinality(toUInt128(1091)) SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 287 out of 1000 WITH toLowCardinality(toUInt128(1091)) SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 288 out of 1000 WITH toLowCardinality(toUInt128(1091)) SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 289 out of 1000 WITH toLowCardinality(1091) SELECT 19, 1 WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 290 out of 1000 WITH toLowCardinality(1091) SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 291 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 292 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 293 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 294 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 295 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 296 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true WITH 1091 SELECT 19, 1 WHERE toNullable(19) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true WITH 1091 SELECT 19, 1 WHERE toNullable(19)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 297 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 298 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 299 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 300 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 301 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 302 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 303 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 304 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(19) Got boring AST Fuzzing step 305 out of 1000 WITH 1091 SELECT 19, 1 WHERE toNullable(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 306 out of 1000 WITH 1091 SELECT toLowCardinality(19), 1 WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 307 out of 1000 WITH 1091 SELECT toLowCardinality(19), 1 WHERE toNullable(19) Got boring AST Fuzzing step 308 out of 1000 WITH 1091 SELECT toLowCardinality(19), 1 Query succeeded, using this AST as a start Fuzzing step 309 out of 1000 WITH 1091 SELECT toLowCardinality(19), 1 Got boring AST Fuzzing step 310 out of 1000 WITH materialize(1091) SELECT toLowCardinality(19), 1 Query succeeded, using this AST as a start Fuzzing step 311 out of 1000 WITH materialize(1091) SELECT toLowCardinality(19), 1 Got boring AST Fuzzing step 312 out of 1000 WITH materialize(1091) SELECT toLowCardinality(19), 1 Got boring AST Fuzzing step 313 out of 1000 WITH materialize(1091) SELECT toLowCardinality(19), 1 Got boring AST Fuzzing step 314 out of 1000 WITH materialize(test_alias_skip_idx__fuzz_24, 1091) SELECT toLowCardinality(19), 1 Query succeeded, using this AST as a start Fuzzing step 315 out of 1000 WITH materialize(test_alias_skip_idx__fuzz_24, 1091) SELECT 19, 1 Query succeeded, using this AST as a start Fuzzing step 316 out of 1000 WITH materialize(test_alias_skip_idx__fuzz_24, 1091) SELECT 19 Query succeeded, using this AST as a start Fuzzing step 317 out of 1000 EXPLAIN QUERY TREE run_passes = true, dump_ast = true WITH materialize(test_alias_skip_idx__fuzz_24, 1091) SELECT 19 WHERE 22 Error on processing query 'EXPLAIN QUERY TREE run_passes = true, dump_ast = true WITH materialize(test_alias_skip_idx__fuzz_24, 1091) SELECT 19 WHERE 22': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 318 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 319 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 320 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 321 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 322 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 323 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 324 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 326 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, 1091 SELECT 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 327 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 328 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 329 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 330 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 331 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 332 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 333 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 334 out of 1000 EXPLAIN CURRENT TRANSACTION WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 53 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, 1091 SELECT 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 335 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 336 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 337 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 338 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 339 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 340 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 341 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 342 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 343 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 344 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 345 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 WHERE toLowCardinality(materialize(toUInt256(19))) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 WHERE toLowCardinality(materialize(toUInt256(19)))': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt256) of column toLowCardinality(materialize(_CAST('19'_UInt256, 'UInt256'_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x0000000012fcc497 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001316d043 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&) @ 0x000000001163a878 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>>&) @ 0x0000000011668f69 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662c15 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 10. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 11. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 346 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 347 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 348 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 349 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 350 out of 1000 EXPLAIN CURRENT TRANSACTION WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 53 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, 1091 SELECT 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 351 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 352 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 353 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 355 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 356 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 357 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 358 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 359 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 360 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, 1091 SELECT 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 361 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 362 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 363 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 364 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 365 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 366 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 367 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 368 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 369 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 370 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Got boring AST Fuzzing step 371 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, 1091 SELECT 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 372 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 373 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19 Query succeeded, using this AST as a start Fuzzing step 374 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT toNullable(materialize(19)), toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT toNullable(materialize(19)), toUInt128(19) Got boring AST Fuzzing step 377 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT toNullable(materialize(19)), toUInt128(19) Got boring AST Fuzzing step 378 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT toNullable(materialize(19)), toUInt128(19) Got boring AST Fuzzing step 379 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT toNullable(materialize(19)), toUInt128(19) Got boring AST Fuzzing step 380 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize(19), toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 381 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize(19), toUInt128(19) Got boring AST Fuzzing step 382 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize(19), toUInt128(19) Got boring AST Fuzzing step 383 out of 1000 EXPLAIN PIPELINE `graph=1` = true WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize(19), toUInt128(19) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize(19), toUInt128(19)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 384 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize(19), toUInt128(19) Got boring AST Fuzzing step 385 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19, toUInt128(19) Query succeeded, using this AST as a start Fuzzing step 386 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19, toUInt128(19) Got boring AST Fuzzing step 387 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19, toUInt128(19) Got boring AST Fuzzing step 388 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19, toUInt128(19) Got boring AST Fuzzing step 389 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19, toUInt128(19) Got boring AST Fuzzing step 390 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19, toUInt128(19) Got boring AST Fuzzing step 391 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19, toUInt128(19) Got boring AST Fuzzing step 392 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19, 19 Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(1091) SELECT 19, 19 Query succeeded, using this AST as a start Fuzzing step 394 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(1091) SELECT 19, 19 Got boring AST Fuzzing step 395 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19, 19 Query succeeded, using this AST as a start Fuzzing step 396 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 19, 19 Got boring AST Fuzzing step 397 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 Got boring AST Fuzzing step 399 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 Got boring AST Fuzzing step 400 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 Got boring AST Fuzzing step 401 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(1091) SELECT 'nested_alias', 19, 19 GROUP BY toLowCardinality('merge_expressions=0'), toLowCardinality(100), toLowCardinality(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 402 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(1091) SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(1091) SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(toLowCardinality(100)) Got boring AST Fuzzing step 404 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(1091) SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(toLowCardinality(100)) Got boring AST Fuzzing step 405 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(1091) SELECT 'nested_alias', materialize(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 406 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(1091) SELECT 'nested_alias', materialize(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(toLowCardinality(100)), toLowCardinality(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 407 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', materialize(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(toLowCardinality(100)), toLowCardinality(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 408 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', materialize(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 409 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', materialize(19), 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(toLowCardinality(100)) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', materialize(19), 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(toLowCardinality(100))': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', materialize(19), 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(toLowCardinality(100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 410 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', materialize(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(toLowCardinality(100)) Got boring AST Fuzzing step 411 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', materialize(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(toLowCardinality(100)) Got boring AST Fuzzing step 412 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(toLowCardinality(100)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 413 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 414 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 416 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 417 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 418 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 419 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 420 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 421 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 422 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 423 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 424 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 425 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 426 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 427 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 428 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 429 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 430 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 431 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 WHERE test_nested_alias_idx__fuzz_42 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 WHERE test_nested_alias_idx__fuzz_42 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_42' in scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 WHERE test_nested_alias_idx__fuzz_42 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 432 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 433 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 434 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 435 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 436 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 437 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 438 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 439 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 440 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 441 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 442 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 443 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 444 out of 1000 WITH test_alias_skip_idx__fuzz_24, toLowCardinality(1091) SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH ROLLUP Error on processing query 'WITH test_alias_skip_idx__fuzz_24, toLowCardinality(1091) SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, toLowCardinality(1091) SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 445 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(materialize(toLowCardinality(toUInt128(22))), 100) WITH ROLLUP Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(materialize(toLowCardinality(toUInt128(22))), 100) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(materialize(toLowCardinality(toUInt128(22))), 100) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 446 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 447 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH ROLLUP Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 448 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 449 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 450 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 451 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH ROLLUP Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 452 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 453 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) WITH ROLLUP Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 454 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 455 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 PREWHERE materialize(16) GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 PREWHERE materialize(16) GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 456 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 457 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(toUInt128(100)), 100 WITH ROLLUP Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(toUInt128(100)), 100 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(toUInt128(100)), 100 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 458 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 459 out of 1000 EXPLAIN PIPELINE `graph=1` = true WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE `graph=1` = true WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 460 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, 100 WITH ROLLUP Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, 100 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, 100 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 461 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH ROLLUP Got boring AST Fuzzing step 462 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', toLowCardinality(materialize(toLowCardinality(1091)), 100), toLowCardinality(100) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', toLowCardinality(materialize(toLowCardinality(1091)), 100), toLowCardinality(100)': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', toLowCardinality(materialize(toLowCardinality(1091)), 100), toLowCardinality(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 464 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) Got boring AST Fuzzing step 465 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) Got boring AST Fuzzing step 466 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(100)': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 467 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, 100 Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, 100': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 468 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) Got boring AST Fuzzing step 469 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) Got boring AST Fuzzing step 470 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(materialize(toNullable(100))) Query succeeded, using this AST as a start Fuzzing step 471 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(materialize(toNullable(100))) Got boring AST Fuzzing step 472 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(materialize(toFixedString('default_settings', 16)), 100), toLowCardinality(materialize(toNullable(100))) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(materialize(toFixedString('default_settings', 16)), 100), toLowCardinality(materialize(toNullable(100)))': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(materialize(toFixedString('default_settings', 16)), 100), toLowCardinality(materialize(toNullable(100))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 473 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(materialize(toNullable(100))) Got boring AST Fuzzing step 474 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(materialize(toNullable(100))) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(materialize(toNullable(100)))': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(materialize(toNullable(100))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 475 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19), 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(test_alias_skip_idx__fuzz_18, materialize(toNullable(100))) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19), 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(test_alias_skip_idx__fuzz_18, materialize(toNullable(100)))': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19), 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(test_alias_skip_idx__fuzz_18, materialize(toNullable(100))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 476 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 477 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(materialize(100)) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(materialize(100))': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(materialize(100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 478 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 479 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 PREWHERE toLowCardinality(toNullable(test_alias_skip_idx__fuzz_36, 19)) GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(100) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 PREWHERE toLowCardinality(toNullable(test_alias_skip_idx__fuzz_36, 19)) GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(100)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_36' in scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 PREWHERE toLowCardinality(toNullable(test_alias_skip_idx__fuzz_36, 19)) GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 480 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 481 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 482 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 483 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 484 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 485 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 486 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 488 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 489 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 490 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 491 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 492 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 493 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 494 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 495 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 496 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 497 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 498 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 499 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 500 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 501 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 502 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 503 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 504 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 505 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize(test_nested_alias_idx__fuzz_38, 'merge_expressions=0'), toLowCardinality(100), materialize(100) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize(test_nested_alias_idx__fuzz_38, 'merge_expressions=0'), toLowCardinality(100), materialize(100)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_38' in scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize(test_nested_alias_idx__fuzz_38, 'merge_expressions=0'), toLowCardinality(100), materialize(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 506 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 507 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 508 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 509 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 510 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 511 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 512 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 513 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 514 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 515 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 516 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 517 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), material. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 518 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 519 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 520 out of 1000 EXPLAIN CURRENT TRANSACTION WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 53 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), material. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 521 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), material. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 522 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 523 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), material. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 524 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 525 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 526 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 527 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 528 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 529 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 530 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 531 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY materialize('merge_expressions=0'), toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 532 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 533 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 534 out of 1000 WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(100) Query succeeded, using this AST as a start Fuzzing step 535 out of 1000 WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, materialize(100) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, materialize(100)': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, materialize(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 536 out of 1000 WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(100) Got boring AST Fuzzing step 537 out of 1000 WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 538 out of 1000 WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(a > materialize(100), 100) WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(a > materialize(100), 100) WITH CUBE': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(a > materialize(100), 100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 539 out of 1000 WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(100) WITH CUBE Got boring AST Fuzzing step 540 out of 1000 WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(100) WITH CUBE Got boring AST Fuzzing step 541 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, materialize(100) WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, materialize(100) WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', 100, materialize(100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 542 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 543 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), materialize(100) WITH CUBE Got boring AST Fuzzing step 544 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, materialize(toUInt256(19)) GROUP BY 'merge_expressions=0', 100, materialize(100) WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, materialize(toUInt256(19)) GROUP BY 'merge_expressions=0', 100, materialize(100) WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, materialize(toUInt256(19)) GROUP BY 'merge_expressions=0', 100, materialize(100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 545 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19, 19 GROUP BY toLowCardinality('merge_expressions=0'), toLowCardinality(100), materialize(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 546 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toUInt256(19)), 19 GROUP BY toLowCardinality('merge_expressions=0'), toLowCardinality(100), materialize(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 547 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toUInt256(19)), 19 GROUP BY toLowCardinality('merge_expressions=0'), toLowCardinality(100), 100 WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toUInt256(19)), 19 GROUP BY toLowCardinality('merge_expressions=0'), toLowCardinality(100), 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toUInt256(19)), 19 GROUP BY toLowCardinality('merge_expressions=0'), toLowCardinality(100), 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 548 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(19), 19 GROUP BY toLowCardinality('merge_expressions=0'), toLowCardinality(100), materialize(toLowCardinality(100)) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 549 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(19), 19 GROUP BY toLowCardinality('merge_expressions=0'), toLowCardinality(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 550 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toLowCardinality(toUInt256(19))), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 551 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(toUInt256(19)), 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(a2, toUInt128(100)) WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(toUInt256(19)), 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(a2, toUInt128(100)) WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(toUInt256(19)), 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(a2, toUInt128(100)) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 552 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toLowCardinality(toUInt256(19))), 19 GROUP BY 'merge_expressions=0', toLowCardinality(toLowCardinality(100)), 100 WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toLowCardinality(toUInt256(19))), 19 GROUP BY 'merge_expressions=0', toLowCardinality(toLowCardinality(100)), 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toLowCardinality(toUInt256(19))), 19 GROUP BY 'merge_expressions=0', toLowCardinality(toLowCardinality(100)), 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 553 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toLowCardinality(toUInt256(19))), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toLowCardinality(toUInt256(19))), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toLowCardinality(toUInt256(19))), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 554 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toLowCardinality(toUInt256(19))), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 555 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(1091) SELECT 'nested_alias', toNullable(toLowCardinality(19)), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 556 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toLowCardinality(toLowCardinality(19))), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toLowCardinality(toLowCardinality(19))), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 558 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toLowCardinality(toLowCardinality(19))), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 559 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toLowCardinality(toLowCardinality(19))), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 560 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toLowCardinality(toLowCardinality(19))), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 561 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toLowCardinality(toLowCardinality(19))), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 562 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toLowCardinality(toLowCardinality(19))), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toLowCardinality(19)), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 564 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 565 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toNullable(toLowCardinality(19)), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 566 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 567 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 568 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 569 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19), 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19), 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19), 19 GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 570 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(toUInt128(19)), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(toUInt128(19)), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(toUInt128(19)), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 571 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize('nested_alias'), toLowCardinality(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize('nested_alias'), toLowCardinality(19), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 573 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize('nested_alias'), toLowCardinality(19) GROUP BY 'merge_expressions=0', toLowCardinality(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 574 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize('nested_alias'), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize('nested_alias'), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize('nested_alias'), 19 GROUP BY 'merge_expressions=0', toLowCardinality(100), 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 575 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize('nested_alias'), toLowCardinality(19) GROUP BY 'merge_expressions=0', toLowCardinality(materialize(100)), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize('nested_alias'), toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 577 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize('nested_alias'), toLowCardinality(19) GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize('nested_alias'), toLowCardinality(19) GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize('nested_alias'), toLowCardinality(19) GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 578 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize('nested_alias'), toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 579 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true WITH test_alias_skip_idx__fuzz_24, toLowCardinality(1091) SELECT materialize('nested_alias'), toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true WITH test_alias_skip_idx__fuzz_24, toLowCardinality(1091) SELECT materialize('nested_alias'), toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 580 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT materialize('nested_alias'), toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 581 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 582 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 583 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 584 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), 100 WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 585 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 586 out of 1000 EXPLAIN QUERY TREE dump_ast = true WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) WITH CUBE Error on processing query 'EXPLAIN QUERY TREE dump_ast = true WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) WITH CUBE': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 587 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 588 out of 1000 WITH test_alias_skip_idx__fuzz_24, toLowCardinality(1091) SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 589 out of 1000 WITH test_alias_skip_idx__fuzz_24, toLowCardinality(1091) SELECT 'nested_alias', toLowCardinality(19) WHERE test_alias_skip_idx__fuzz_11 GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, toLowCardinality(1091) SELECT 'nested_alias', toLowCardinality(19) WHERE test_alias_skip_idx__fuzz_11 GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_11' in scope WITH test_alias_skip_idx__fuzz_24, toLowCardinality(1091) SELECT 'nested_alias', toLowCardinality(19) WHERE test_alias_skip_idx__fuzz_11 GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 590 out of 1000 WITH test_alias_skip_idx__fuzz_24, toLowCardinality(1091) SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 591 out of 1000 WITH test_alias_skip_idx__fuzz_24, toLowCardinality(1091) SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 592 out of 1000 WITH test_alias_skip_idx__fuzz_24, toLowCardinality(1091) SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, toLowCardinality(1091) SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, toLowCardinality(1091) SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', 100, toLowCardinality(100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 593 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 594 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) PREWHERE test_nested_alias_idx GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) PREWHERE test_nested_alias_idx GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx' in scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) PREWHERE test_nested_alias_idx GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 595 out of 1000 EXPLAIN PIPELINE header = true WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Error on processing query 'EXPLAIN PIPELINE header = true WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 596 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 597 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(materialize(toUInt256(100))), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 598 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(materialize(toUInt256(100))), 100 WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(materialize(toUInt256(100))), 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(materialize(toUInt256(100))), 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 599 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(materialize(toUInt256(100))), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 600 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toLowCardinality(19) GROUP BY 'merge_expressions=0', materialize(materialize(toUInt256(100))), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 601 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(toUInt256(100)), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 602 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(toUInt256(100)), toLowCardinality(100) WITH CUBE Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(toUInt256(100)), toLowCardinality(100) WITH CUBE': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 603 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT toNullable('nested_alias'), 19 GROUP BY 'merge_expressions=0', materialize(toUInt256(100)), toLowCardinality('merge_expressions=0', 100) WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT toNullable('nested_alias'), 19 GROUP BY 'merge_expressions=0', materialize(toUInt256(100)), toLowCardinality('merge_expressions=0', 100) WITH CUBE': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT toNullable('nested_alias'), 19 GROUP BY 'merge_expressions=0', materialize(toUInt256(100)), toLowCardinality('merge_expressions=0', 100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 604 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(toUInt128(toLowCardinality(19)), toUInt256(materialize(100))), 100 WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(toUInt128(toLowCardinality(19)), toUInt256(materialize(100))), 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(toUInt128(toLowCardinality(19)), toUInt256(materialize(100))), 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 605 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 WHERE test_alias_skip_idx__fuzz_14 GROUP BY 'merge_expressions=0', materialize(toUInt256(100)), toLowCardinality(100) WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 WHERE test_alias_skip_idx__fuzz_14 GROUP BY 'merge_expressions=0', materialize(toUInt256(100)), toLowCardinality(100) WITH CUBE': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_14' in scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 WHERE test_alias_skip_idx__fuzz_14 GROUP BY 'merge_expressions=0', materialize(toUInt256(100)), toLowCardinality(100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 606 out of 1000 WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(toUInt256(100)), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 607 out of 1000 WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 608 out of 1000 EXPLAIN QUERY TREE passes = true WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Error on processing query 'EXPLAIN QUERY TREE passes = true WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 609 out of 1000 WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 610 out of 1000 WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(100), 100 WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(100), 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(100), 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 611 out of 1000 WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(toNullable(22), 100) WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(toNullable(22), 100) WITH CUBE': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', 19 GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(toNullable(22), 100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 612 out of 1000 WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', test_alias_skip_idx__fuzz_3, 19 GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', test_alias_skip_idx__fuzz_3, 19 GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_3' in scope WITH test_alias_skip_idx__fuzz_24, materialize(1091) SELECT 'nested_alias', test_alias_skip_idx__fuzz_3, 19 GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 613 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19), 19 GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 614 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 616 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 617 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 618 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 619 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 620 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 621 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 622 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 623 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 624 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 625 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 626 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 627 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 628 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 629 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 630 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 631 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 632 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 633 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 634 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 635 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 636 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 637 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 638 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 639 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 640 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 641 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 642 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 643 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 644 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 645 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 646 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 647 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 648 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Got boring AST Fuzzing step 649 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) PREWHERE toLowCardinality('default_settings') WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), 100 WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) PREWHERE toLowCardinality('default_settings') WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) PREWHERE toLowCardinality('default_settings') WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 651 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 652 out of 1000 EXPLAIN CURRENT TRANSACTION WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE': Received from localhost:9000. DB::Exception: Syntax error: failed at position 53 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 653 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), toLowCardinality(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 654 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), 100 WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(100), 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 655 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(toLowCardinality(100)), 100 WITH CUBE Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(toLowCardinality(100)), 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(1) GROUP BY 'merge_expressions=0', materialize(toLowCardinality(100)), 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 656 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(toLowCardinality(toUInt128(1))) WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', toUInt256(19) WHERE toNullable(toLowCardinality(toUInt128(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 657 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 WHERE toNullable(1) GROUP BY toLowCardinality(toFixedString('merge_expressions=0', 19)), materialize(toLowCardinality(100)), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 658 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 WHERE toNullable(1) GROUP BY toLowCardinality(toFixedString('merge_expressions=0', 19)), materialize(100), 100 WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 WHERE toNullable(1) GROUP BY toLowCardinality(toFixedString('merge_expressions=0', 19)), materialize(100), 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 WHERE toNullable(1) GROUP BY toLowCardinality(toFixedString('merge_expressions=0', 19)), materialize(100), 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 659 out of 1000 EXPLAIN QUERY TREE passes = true WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 WHERE toNullable(1) GROUP BY toLowCardinality(toFixedString('merge_expressions=0', 19)), materialize(toLowCardinality(100)), toLowCardinality(materialize(100)) WITH ROLLUP WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN QUERY TREE passes = true WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 WHERE toNullable(1) GROUP BY toLowCardinality(toFixedString('merge_expressions=0', 19)), materialize(toLowCardinality(100)), toLowCardinality(materialize(100)) WITH ROLLUP WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 314 ('CUBE'): CUBE WITH TOTALS. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 660 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 WHERE toNullable(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 661 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 WHERE toNullable(1) GROUP BY toFixedString('merge_expressions=0', 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 WHERE toNullable(1) GROUP BY toFixedString('merge_expressions=0', 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 WHERE toNullable(1) GROUP BY toFixedString('merge_expressions=0', 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 662 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 WHERE toNullable(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(test_alias_skip_idx__fuzz_38, 100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 WHERE toNullable(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(test_alias_skip_idx__fuzz_38, 100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_38' in scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 WHERE toNullable(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(test_alias_skip_idx__fuzz_38, 100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 663 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 664 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY toFixedString('merge_expressions=0', 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY toFixedString('merge_expressions=0', 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY toFixedString('merge_expressions=0', 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 665 out of 1000 WITH test_alias_skip_idx__fuzz_24, toLowCardinality(toUInt256(1091)) SELECT 'nested_alias', 19 GROUP BY toFixedString('merge_expressions=0', toLowCardinality(toNullable(materialize(19))), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, toLowCardinality(toUInt256(1091)) SELECT 'nested_alias', 19 GROUP BY toFixedString('merge_expressions=0', toLowCardinality(toNullable(materialize(19))), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope WITH test_alias_skip_idx__fuzz_24, toLowCardinality(toUInt256(1091)) SELECT 'nested_alias', 19 GROUP BY toFixedString('merge_expressions=0', toLowCardinality(toNullable(materialize(19))), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 666 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091 SELECT 'nested_alias', 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 667 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toUInt128(1091)) SELECT 'nested_alias', toLowCardinality(19) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 668 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toUInt128(toLowCardinality(toNullable(1091)))) SELECT 'nested_alias', toLowCardinality(19) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 669 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toUInt128(toLowCardinality(toNullable(1091)))) SELECT 'nested_alias', toLowCardinality(19) GROUP BY toFixedString(toNullable('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(toLowCardinality(100)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 670 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toUInt128(toLowCardinality(toNullable(1091)))) SELECT 'nested_alias', toLowCardinality(19) GROUP BY toFixedString(toNullable('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 671 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toUInt128(toLowCardinality(toNullable(toLowCardinality(1), 1091)))) SELECT 'nested_alias', toLowCardinality(19) GROUP BY toFixedString(toNullable('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 672 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toUInt128(toLowCardinality(toNullable(toLowCardinality(1), 1091)))) SELECT 'nested_alias', 19 GROUP BY toFixedString(toNullable('merge_expressions=0'), 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, toNullable(toUInt128(toLowCardinality(toNullable(toLowCardinality(1), 1091)))) SELECT 'nested_alias', 19 GROUP BY toFixedString(toNullable('merge_expressions=0'), 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, toNullable(toUInt128(toLowCardinality(toNullable(toLowCardinality(1), 1091)))) SELECT 'nested_alias', 19 GROUP BY toFixedString(toNullable('merge_expressions=0'), 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 673 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toUInt128(toLowCardinality(toNullable(toLowCardinality(1), 1091)))) SELECT 'nested_alias', toLowCardinality(19) PREWHERE materialize(materialize(toLowCardinality(19))) GROUP BY toFixedString(toNullable(toNullable('merge_expressions=0')), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, toNullable(toUInt128(toLowCardinality(toNullable(toLowCardinality(1), 1091)))) SELECT 'nested_alias', toLowCardinality(19) PREWHERE materialize(materialize(toLowCardinality(19))) GROUP BY toFixedString(toNullable(toNullable('merge_expressions=0')), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 674 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toUInt128(toLowCardinality(toNullable(toLowCardinality(1), 1091)))) SELECT 'nested_alias', toLowCardinality(19) GROUP BY toFixedString(toNullable('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 675 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toUInt128(toLowCardinality(toNullable(toLowCardinality(1), 1091)))) SELECT 'nested_alias', toLowCardinality(toLowCardinality(toUInt128(19))) GROUP BY toFixedString(1091, toNullable('merge_expressions=0'), 19), toLowCardinality(test_nested_alias_idx__fuzz_27, 100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, toNullable(toUInt128(toLowCardinality(toNullable(toLowCardinality(1), 1091)))) SELECT 'nested_alias', toLowCardinality(toLowCardinality(toUInt128(19))) GROUP BY toFixedString(1091, toNullable('merge_expressions=0'), 19), toLowCardinality(test_nested_alias_idx__fuzz_27, 100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope WITH test_alias_skip_idx__fuzz_24, toNullable(toUInt128(toLowCardinality(toNullable(toLowCardinality(1), 1091)))) SELECT 'nested_alias', toLowCardinality(toLowCardinality(toUInt128(19))) GROUP BY toFixedString(1091, toNullable('merge_expressions=0'), 19), toLowCardinality(test_nested_alias_idx__fuzz_27, 100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 676 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toLowCardinality(toNullable(toLowCardinality(1), 1091))) SELECT 'nested_alias', toLowCardinality(19) GROUP BY toFixedString(toNullable('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 677 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toNullable(toLowCardinality(1), 1091)) SELECT 'nested_alias', toLowCardinality(19) GROUP BY toFixedString(toNullable(toLowCardinality('merge_expressions=0')), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toNullable(toLowCardinality(1), 1091)) SELECT 'nested_alias', toLowCardinality(19) GROUP BY toNullable(toLowCardinality('merge_expressions=0')), 19, toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, toNullable(toNullable(toLowCardinality(1), 1091)) SELECT 'nested_alias', toLowCardinality(19) GROUP BY toNullable(toLowCardinality('merge_expressions=0')), 19, toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, toNullable(toNullable(toLowCardinality(1), 1091)) SELECT 'nested_alias', toLowCardinality(19) GROUP BY toNullable(toLowCardinality('merge_expressions=0')), 19, toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 679 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toNullable(toLowCardinality(1), 1091)) SELECT toLowCardinality(toNullable(toFixedString('nested_alias', 12))), toLowCardinality(19) GROUP BY toFixedString(toNullable(toLowCardinality('merge_expressions=0')), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 680 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toNullable(toLowCardinality(1))) SELECT toLowCardinality(toNullable(toFixedString('nested_alias', 12))), toLowCardinality(19) GROUP BY toFixedString(toNullable(toLowCardinality('merge_expressions=0')), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 681 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toLowCardinality(1)) SELECT toLowCardinality(toNullable(toFixedString('nested_alias', 12))), toLowCardinality(19) GROUP BY toNullable(toLowCardinality('merge_expressions=0')), 19, 100, 100 WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, toNullable(toLowCardinality(1)) SELECT toLowCardinality(toNullable(toFixedString('nested_alias', 12))), toLowCardinality(19) GROUP BY toNullable(toLowCardinality('merge_expressions=0')), 19, 100, 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, toNullable(toLowCardinality(1)) SELECT toLowCardinality(toNullable(toFixedString('nested_alias', 12))), toLowCardinality(19) GROUP BY toNullable(toLowCardinality('merge_expressions=0')), 19, 100, 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 682 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toLowCardinality(1)) SELECT toLowCardinality(toFixedString('nested_alias', 12)), toLowCardinality(19) GROUP BY toFixedString(toNullable(toLowCardinality('merge_expressions=0')), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 683 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toLowCardinality(1)) SELECT toLowCardinality(toFixedString('nested_alias', 12)), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), 100, 100 WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, toNullable(toLowCardinality(1)) SELECT toLowCardinality(toFixedString('nested_alias', 12)), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), 100, 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, toNullable(toLowCardinality(1)) SELECT toLowCardinality(toFixedString('nested_alias', 12)), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), 100, 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 684 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toNullable(toLowCardinality('merge_expressions=0')), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 685 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, toNullable(toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 686 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 687 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 688 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, 1) SELECT toFixedString('nested_alias', 12), toNullable(1), toLowCardinality(19) GROUP BY toLowCardinality('merge_expressions=0'), 19, toLowCardinality(100), toLowCardinality(toNullable(toUInt256(100))) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, 1) SELECT toFixedString('nested_alias', 12), toNullable(1), toLowCardinality(19) GROUP BY toLowCardinality('merge_expressions=0'), 19, toLowCardinality(100), toLowCardinality(toNullable(toUInt256(100))) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, 1) SELECT toFixedString('nested_alias', 12), toNullable(1), toLowCardinality(19) GROUP BY toLowCardinality('merge_expressions=0'), 19, toLowCardinality(100), toLowCardinality(toNullable(toUInt256(100))) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 689 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 690 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 691 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 692 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 693 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 694 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 695 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 696 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 697 out of 1000 EXPLAIN CURRENT TRANSACTION WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 53 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinali. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 698 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinali. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 699 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 700 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 701 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinali. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 702 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 703 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 704 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 705 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 706 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 707 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 708 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 709 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 710 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 711 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 712 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 713 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 714 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 715 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 716 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 717 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 718 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 719 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 720 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 721 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 722 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 723 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 724 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinali. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 725 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 726 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 727 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 728 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 729 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 730 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 731 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 732 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 733 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 734 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 735 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 736 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 737 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 738 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 739 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)) SELECT toFixedString('nested_alias', 12), toLowCardinality(19) GROUP BY toFixedString(toLowCardinality('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 740 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT toFixedString('nested_alias', toUInt256(12)), toLowCardinality(19) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 741 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT toFixedString('nested_alias', toUInt256(12)), toLowCardinality(toUInt128(toNullable(toUInt128(100))), 19) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT toFixedString('nested_alias', toUInt256(12)), toLowCardinality(toUInt128(toNullable(toUInt128(100))), 19) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) 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 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT toFixedString('nested_alias', toUInt256(12)), toLowCardinality(toUInt128(toNullable(toUInt128(100))), 19) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 742 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT toFixedString('nested_alias', toUInt256(12)), toLowCardinality(19) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 743 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT toFixedString('nested_alias', toUInt256(12)), toLowCardinality(19) GROUP BY toFixedString(toNullable('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 744 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), toLowCardinality(19) GROUP BY toFixedString(toNullable('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 745 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), toLowCardinality(19) GROUP BY toFixedString(toNullable('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 746 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), toLowCardinality(19) WHERE toUInt256(1091) GROUP BY toFixedString(toNullable('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), toLowCardinality(19) WHERE toUInt256(1091) GROUP BY toFixedString(toNullable('merge_expressions=0'), 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 747 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), toLowCardinality(19) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 748 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(toLowCardinality(12)), toLowCardinality(19) WHERE materialize(16) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(toUInt128(100), 100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(toLowCardinality(12)), toLowCardinality(19) WHERE materialize(16) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(toUInt128(100), 100), toLowCardinality(100) 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 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(toLowCardinality(12)), toLowCardinality(19) WHERE materialize(16) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(toUInt128(100), 100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 749 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), toLowCardinality(19) GROUP BY 'merge_expressions=0', 19, toLowCardinality(materialize(toUInt128(100))), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), toLowCardinality(19) GROUP BY 'merge_expressions=0', 19, toLowCardinality(materialize(toUInt128(100))), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), toLowCardinality(19) GROUP BY 'merge_expressions=0', 19, toLowCardinality(materialize(toUInt128(100))), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 750 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), toLowCardinality(19) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 751 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), toLowCardinality(19) GROUP BY 'merge_expressions=0', 19, toLowCardinality(100), toLowCardinality(test_nested_alias_idx__fuzz_25, 100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), toLowCardinality(19) GROUP BY 'merge_expressions=0', 19, toLowCardinality(100), toLowCardinality(test_nested_alias_idx__fuzz_25, 100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), toLowCardinality(19) GROUP BY 'merge_expressions=0', 19, toLowCardinality(100), toLowCardinality(test_nested_alias_idx__fuzz_25, 100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 752 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 753 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), 19 GROUP BY toFixedString('merge_expressions=0', 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), 19 GROUP BY toFixedString('merge_expressions=0', 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), 19 GROUP BY toFixedString('merge_expressions=0', 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 754 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 755 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), 19 GROUP BY toFixedString('merge_expressions=0', 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), 19 GROUP BY toFixedString('merge_expressions=0', 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), 19 GROUP BY toFixedString('merge_expressions=0', 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 756 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 757 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), 100 WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 758 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 GROUP BY 'merge_expressions=0', 19, toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 GROUP BY 'merge_expressions=0', 19, toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 GROUP BY 'merge_expressions=0', 19, toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 759 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 760 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 761 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT toLowCardinality(toFixedString('nested_alias', 12)), 12, 19 PREWHERE toFixedString('merge_expressions=0', toLowCardinality(toUInt128(19))) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT toLowCardinality(toFixedString('nested_alias', 12)), 12, 19 PREWHERE toFixedString('merge_expressions=0', toLowCardinality(toUInt128(19))) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: LowCardinality(FixedString(19)). In query WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT toLowCardinality(toFixedString('nested_alias', 12)), 12, 19 PREWHERE toFixedString('merge_expressions=0', toLowCardinality(toUInt128(19))) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 762 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 GROUP BY 'merge_expressions=0', 19, toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 GROUP BY 'merge_expressions=0', 19, toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 GROUP BY 'merge_expressions=0', 19, toLowCardinality(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 763 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT toNullable(19) GROUP BY toFixedString('merge_expressions=0', 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT toNullable(19) GROUP BY toFixedString('merge_expressions=0', 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT toNullable(19) GROUP BY toFixedString('merge_expressions=0', 19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 764 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(toUInt128(100)), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 765 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toLowCardinality(toUInt128(100)), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 766 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toLowCardinality(toUInt128(100)), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 767 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19, 19), toLowCardinality(toUInt128(100)), 100 WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19, 19), toLowCardinality(toUInt128(100)), 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19, 19), toLowCardinality(toUInt128(100)), 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 768 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toLowCardinality(toUInt128(100)), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 769 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19)), toLowCardinality(toUInt128(100)), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19)), toLowCardinality(toUInt128(100)), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19)), toLowCardinality(toUInt128(100)), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 770 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 771 out of 1000 EXPLAIN AST optimize = true WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN AST optimize = true WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 772 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(materialize(1)) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), 100 WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(materialize(1)) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(materialize(1)) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 773 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19, 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19, 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19, 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 774 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 775 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toUInt128(100), 100 WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toUInt128(100), 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toUInt128(100), 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 776 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), 19)), (100), (toLowCardinality(100))) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY GROUPING SETS ((toFixedString(toFixedString('merge_expressions=0', 19), 19)), (100), (toLowCardinality(100))) WITH CUBE 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x000000001104837a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 777 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 778 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19, 19), toUInt128(100), 100 WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19, 19), toUInt128(100), 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19, 19), toUInt128(100), 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 779 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19, 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19, 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString('merge_expressions=0', 19, 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 780 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 781 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), materialize(19)), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), materialize(19)), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Second argument for function toFixedString must be constant: In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), materialize(19)), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/toFixedString.h:0: DB::FunctionToFixedString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b796de2 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 782 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 783 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 784 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 785 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 786 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toUInt128(100), 100 WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toUInt128(100), 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toUInt128(100), 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 787 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toUInt128(100), 100 WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toUInt128(100), 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', 12, 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), 19), toUInt128(100), 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 788 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', toLowCardinality(toUInt128(12)), 19 GROUP BY toFixedString(toFixedString('merge_expressions=0', 19), toLowCardinality(19)), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 789 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', toLowCardinality(toUInt128(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19, toLowCardinality(19)), toUInt128(toLowCardinality(100)), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', toLowCardinality(toUInt128(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19, toLowCardinality(19)), toUInt128(toLowCardinality(100)), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', toLowCardinality(toUInt128(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19, toLowCardinality(19)), toUInt128(toLowCardinality(100)), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 790 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT toFixedString('nested_alias', 12), toLowCardinality(toUInt128(12)), 19 PREWHERE toUInt256(19) GROUP BY toFixedString(test_nested_alias_idx__fuzz_45, 'merge_expressions=0', 19, toLowCardinality(19)), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT toFixedString('nested_alias', 12), toLowCardinality(toUInt128(12)), 19 PREWHERE toUInt256(19) GROUP BY toFixedString(test_nested_alias_idx__fuzz_45, 'merge_expressions=0', 19, toLowCardinality(19)), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_45' in scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT toFixedString('nested_alias', 12), toLowCardinality(toUInt128(12)), 19 PREWHERE toUInt256(19) GROUP BY toFixedString(test_nested_alias_idx__fuzz_45, 'merge_expressions=0', 19, toLowCardinality(19)), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 791 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', toLowCardinality(toUInt128(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), 100, 100 WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', toLowCardinality(toUInt128(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), 100, 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', toLowCardinality(toUInt128(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), 100, 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 792 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', toLowCardinality(toUInt128(12)), 19 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toUInt128(100)), (100)) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', toLowCardinality(toUInt128(12)), 19 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toUInt128(100)), (100)) WITH CUBE 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x000000001104837a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 793 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', toLowCardinality(toUInt128(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', toLowCardinality(toUInt128(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 795 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', toLowCardinality(toUInt128(materialize(12))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 796 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', toLowCardinality(toUInt128(materialize(materialize(toLowCardinality(12))))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 797 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 798 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 799 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 801 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 802 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 803 out of 1000 EXPLAIN CURRENT TRANSACTION WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 53 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 804 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 805 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 806 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 807 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 808 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 809 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 810 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 811 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 812 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 813 out of 1000 EXPLAIN CURRENT TRANSACTION WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 53 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 814 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 815 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 816 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 817 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 818 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 819 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 820 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 821 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 822 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 823 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 824 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 825 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 826 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 827 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 828 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 829 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 830 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 831 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 832 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 833 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 834 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 835 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 836 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 WHERE test_alias_skip_idx GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 WHERE test_alias_skip_idx GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx' in scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 WHERE test_alias_skip_idx GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 837 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 838 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 839 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 840 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 841 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 842 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 843 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 844 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 845 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 846 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 847 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 848 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 849 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 850 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 851 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 852 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 853 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 854 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 855 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 856 out of 1000 EXPLAIN CURRENT TRANSACTION WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 53 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 857 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 858 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 859 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 860 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 861 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 862 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 863 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 864 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 865 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 866 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 867 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 868 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 869 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 870 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 871 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 872 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 873 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 874 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toNullable(toLowCardinality(toUInt256(19))), toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toNullable(toLowCardinality(toUInt256(19))), toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) 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 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toNullable(toLowCardinality(toUInt256(19))), toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 875 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 876 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 877 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 878 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 879 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 880 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(toLowCardinality(12))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), 100 WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(toLowCardinality(12))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(toLowCardinality(12))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 881 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 882 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 883 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 884 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 885 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 886 out of 1000 EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('test_alias_skip_idx__fuzz_24'): test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 887 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 888 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 889 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 890 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 891 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 892 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 893 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 894 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 895 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 896 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 897 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(materialize(materialize(toLowCardinality(12)))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 898 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(toLowCardinality(12))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 899 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(toLowCardinality(12))), 19 GROUP BY 'merge_expressions=0', 19, toLowCardinality(materialize(toLowCardinality(19)), 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(toLowCardinality(12))), 19 GROUP BY 'merge_expressions=0', 19, toLowCardinality(materialize(toLowCardinality(19)), 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(toLowCardinality(12))), 19 GROUP BY 'merge_expressions=0', 19, toLowCardinality(materialize(toLowCardinality(19)), 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 900 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(toLowCardinality(12))), 19 GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 901 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(toLowCardinality(12))), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 902 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 903 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(toUInt128(100)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 904 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(toUInt128(100)) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 905 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(toUInt128(100)) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(toUInt128(100)) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(toUInt128(100)) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 906 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY 'merge_expressions=0', 19, 19, toUInt128(100), toUInt128(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY 'merge_expressions=0', 19, 19, toUInt128(100), toUInt128(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY 'merge_expressions=0', 19, 19, toUInt128(100), toUInt128(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 907 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(toUInt128(100)) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(toUInt128(100)) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(toUInt128(100)) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 908 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 909 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY toFixedString('merge_expressions=0', toFixedString('merge_expressions=0', 19, toLowCardinality(19)), 19), toLowCardinality(19), toUInt128(100), toLowCardinality(toUInt128(100)) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY toFixedString('merge_expressions=0', toFixedString('merge_expressions=0', 19, toLowCardinality(19)), 19), toLowCardinality(19), toUInt128(100), toLowCardinality(toUInt128(100)) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY toFixedString('merge_expressions=0', toFixedString('merge_expressions=0', 19, toLowCardinality(19)), 19), toLowCardinality(19), toUInt128(100), toLowCardinality(toUInt128(100)) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 910 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(materialize(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(toUInt128(100)) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 911 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(12), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(toUInt128(100)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 912 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(toNullable(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(toUInt128(100)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 913 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(toNullable(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(toUInt128(materialize(100))) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 914 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', materialize(toNullable(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(toUInt128(materialize(100))) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', materialize(toNullable(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(toUInt128(materialize(100))) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toNullable(1) SELECT 'nested_alias', materialize(toNullable(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(toUInt128(materialize(100))) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 915 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT toFixedString('nested_alias', 12), materialize(toNullable(12)), 19 GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100), toLowCardinality(toUInt128(100)) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT toFixedString('nested_alias', 12), materialize(toNullable(12)), 19 GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100), toLowCardinality(toUInt128(100)) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT toFixedString('nested_alias', 12), materialize(toNullable(12)), 19 GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100), toLowCardinality(toUInt128(100)) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 916 out of 1000 EXPLAIN PIPELINE header = true WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(toNullable(12)), 19 PREWHERE toLowCardinality(1) GROUP BY toFixedString(19), toLowCardinality(19), toUInt128(100), toLowCardinality(toUInt128(materialize(100))) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN PIPELINE header = true WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', materialize(toNullable(12)), 19 PREWHERE toLowCardinality(1) GROUP BY toFixedString(19), toLowCardinality(19), toUInt128(100), toLowCardinality(toUInt128(materialize(100))) WITH CUBE 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 917 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', materialize(toNullable(12)), 19 GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toUInt128(materialize(100)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 918 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', materialize(toNullable(12)), 19 GROUP BY toFixedString('merge_expressions=0'), toLowCardinality(19), toUInt128(100), toUInt128(materialize(toLowCardinality(toUInt128(100)))) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', materialize(toNullable(12)), 19 GROUP BY toFixedString('merge_expressions=0'), toLowCardinality(19), toUInt128(100), toUInt128(materialize(toLowCardinality(toUInt128(100)))) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', materialize(toNullable(12)), 19 GROUP BY toFixedString('merge_expressions=0'), toLowCardinality(19), toUInt128(100), toUInt128(materialize(toLowCardinality(toUInt128(100)))) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 919 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', toNullable(12), 19 WHERE materialize(1) GROUP BY toFixedString(materialize(toLowCardinality('merge_expressions=0')), 19), toLowCardinality(19), toUInt128(100), toUInt128(materialize(100)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 920 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY materialize(toLowCardinality('merge_expressions=0')), 19, toLowCardinality(19), toUInt128(100), toUInt128(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY materialize(toLowCardinality('merge_expressions=0')), 19, toLowCardinality(19), toUInt128(100), toUInt128(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY materialize(toLowCardinality('merge_expressions=0')), 19, toLowCardinality(19), toUInt128(100), toUInt128(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 921 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', toNullable(12), 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), toUInt128(materialize(100)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 922 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', toNullable(12), 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), toUInt128(materialize(100)) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 923 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 924 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 925 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 926 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 927 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 928 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 PREWHERE materialize(1) WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 PREWHERE materialize(1) WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 929 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT toFixedString('nested_alias', 12), 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 19, toUInt128(100), 100 WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT toFixedString('nested_alias', 12), 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 19, toUInt128(100), 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT toFixedString('nested_alias', 12), 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 19, toUInt128(100), 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 930 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 931 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 932 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 933 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), 100 WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 934 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 19 PREWHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), 100, materialize(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 19 PREWHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), 100, materialize(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 19 PREWHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), 100, materialize(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 935 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 936 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(toNullable(1)) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(toNullable(1)) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), materialize(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(toNullable(1)) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), materialize(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 937 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 938 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 939 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 940 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 941 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 942 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 943 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 944 out of 1000 EXPLAIN QUERY TREE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 945 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 946 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 947 out of 1000 EXPLAIN ESTIMATE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, materialize(1) SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 948 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 949 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 950 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(toLowCardinality(toUInt128(19))), toUInt128(100), 100 WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(toLowCardinality(toUInt128(19))), toUInt128(100), 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(toLowCardinality(toUInt128(19))), toUInt128(100), 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 951 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 952 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), 100 WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 953 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(toNullable(19)), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 954 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), 19 WHERE materialize(1) GROUP BY materialize('merge_expressions=0'), 19, toLowCardinality(toNullable(19)), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), 19 WHERE materialize(1) GROUP BY materialize('merge_expressions=0'), 19, toLowCardinality(toNullable(19)), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt256(12), 19 WHERE materialize(1) GROUP BY materialize('merge_expressions=0'), 19, toLowCardinality(toNullable(19)), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 955 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12, 19 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(toNullable(19)), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 956 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT toFixedString('nested_alias', 12), 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(toNullable(19)), 100, materialize(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT toFixedString('nested_alias', 12), 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(toNullable(19)), 100, materialize(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT toFixedString('nested_alias', 12), 12, 19 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(toNullable(19)), 100, materialize(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 957 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(toNullable(19)), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 958 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 959 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 960 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 19, toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 19, toUInt128(100), materialize(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 19, toUInt128(100), materialize(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 961 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 962 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT toNullable('nested_alias'), 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 19, toUInt128(100), materialize(toNullable(100)) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT toNullable('nested_alias'), 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 19, toUInt128(100), materialize(toNullable(100)) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT toNullable('nested_alias'), 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 19, toUInt128(100), materialize(toNullable(100)) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 963 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY GROUPING SETS ( (toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19)), (toUInt128(100)), (materialize(100))) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY GROUPING SETS ((toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19)), (toUInt128(100)), (materialize(100))) WITH CUBE 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x000000001104837a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 964 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(test_alias_skip_idx__fuzz_27, 1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 19, toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(test_alias_skip_idx__fuzz_27, 1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 19, toUInt128(100), materialize(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_27' in scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(test_alias_skip_idx__fuzz_27, 1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 19, toUInt128(100), materialize(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 965 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0'), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0'), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0'), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 966 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 967 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(12) WHERE materialize(1) GROUP BY materialize('merge_expressions=0'), 19, 19, toUInt128(100), materialize(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(12) WHERE materialize(1) GROUP BY materialize('merge_expressions=0'), 19, 19, toUInt128(100), materialize(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', toUInt128(12) WHERE materialize(1) GROUP BY materialize('merge_expressions=0'), 19, 19, toUInt128(100), materialize(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 968 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), 100, materialize(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), 100, materialize(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), 100, materialize(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 969 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize(toUInt128(100), 'merge_expressions=0'), 19), toLowCardinality(19), 100, materialize(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize(toUInt128(100), 'merge_expressions=0'), 19), toLowCardinality(19), 100, materialize(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize(toUInt128(100), 'merge_expressions=0'), 19), toLowCardinality(19), 100, materialize(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 970 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), materialize(toLowCardinality(100)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 971 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), materialize(toLowCardinality(100)) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), materialize(toLowCardinality(100)) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), materialize(toLowCardinality(100)) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 972 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), test_alias_skip_idx__fuzz_21, toLowCardinality(19)), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), test_alias_skip_idx__fuzz_21, toLowCardinality(19)), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_21' in scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), test_alias_skip_idx__fuzz_21, toLowCardinality(19)), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 973 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 974 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(toNullable('default_settings', 16), 100), materialize(materialize(materialize(toUInt256(22), 100)), toLowCardinality(100)) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(toNullable('default_settings', 16), 100), materialize(materialize(materialize(toUInt256(22), 100)), toLowCardinality(100)) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(toNullable('default_settings', 16), 100), materialize(materialize(materialize(toUInt256(22), 100)), toLowCardinality(100)) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 975 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 976 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(test_nested_alias_idx__fuzz_23, 1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 19, toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(test_nested_alias_idx__fuzz_23, 1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 19, toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_23' in scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(test_nested_alias_idx__fuzz_23, 1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), 19, toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 977 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 978 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY materialize('merge_expressions=0'), 19, toLowCardinality(19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY materialize('merge_expressions=0'), 19, toLowCardinality(19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY materialize('merge_expressions=0'), 19, toLowCardinality(19), 100, toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 979 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 980 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 981 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 982 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT test_nested_alias_idx__fuzz_5, 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT test_nested_alias_idx__fuzz_5, 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_5' in scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT test_nested_alias_idx__fuzz_5, 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 983 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(materialize(1)) GROUP BY materialize('merge_expressions=0'), 19, toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(materialize(1)) GROUP BY materialize('merge_expressions=0'), 19, toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT 'nested_alias', 12 WHERE materialize(materialize(1)) GROUP BY materialize('merge_expressions=0'), 19, toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 984 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(greater(a2, 22, 100), 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(greater(a2, 22, 100), 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString(materialize('merge_expressions=0'), 19), toLowCardinality(greater(a2, 22, 100), 19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 985 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 986 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(toUInt128(1)) SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 987 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(toUInt128(1)) SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH TOTALS Got boring AST Fuzzing step 988 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(toUInt128(1)) SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(toUInt256(100)), toLowCardinality(100) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 989 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(toUInt256(100)), toLowCardinality(100) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 990 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(toUInt256(100)), toLowCardinality(100) WITH TOTALS Got boring AST Fuzzing step 991 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(100) WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(100) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), 19, toUInt128(100), toLowCardinality(100) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 992 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT 'nested_alias', 12 WHERE materialize(1) GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 993 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT 'nested_alias', 12 WHERE materialize(toLowCardinality(toUInt256(12)), 1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(toUInt256(100)), toLowCardinality(100) WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT 'nested_alias', 12 WHERE materialize(toLowCardinality(toUInt256(12)), 1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(toUInt256(100)), toLowCardinality(100) WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT 'nested_alias', 12 WHERE materialize(toLowCardinality(toUInt256(12)), 1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(toUInt256(100)), toLowCardinality(100) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 994 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT 'nested_alias', toNullable(12) WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(toUInt256(100)), toLowCardinality(100) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 995 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT toLowCardinality('nested_alias'), 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 996 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT toLowCardinality('nested_alias'), 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH TOTALS Got boring AST Fuzzing step 997 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT toLowCardinality('nested_alias'), 12 WHERE materialize(1) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), toUInt128(100), toLowCardinality(100) WITH TOTALS Got boring AST Fuzzing step 998 out of 1000 WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT toLowCardinality('nested_alias'), 12 WHERE materialize(1) GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100), 100 WITH TOTALS Error on processing query 'WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT toLowCardinality('nested_alias'), 12 WHERE materialize(1) GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100), 100 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, toLowCardinality(1) SELECT toLowCardinality('nested_alias'), 12 WHERE materialize(1) GROUP BY 'merge_expressions=0', 19, toLowCardinality(19), toUInt128(100), 100 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 999 out of 1000 EXPLAIN AST WITH test_alias_skip_idx__fuzz_24, test_alias_skip_idx__fuzz_5, 1 SELECT toLowCardinality('nested_alias'), 12 WHERE materialize(materialize(toUInt128(1))) GROUP BY toFixedString('merge_expressions=0', 19), toLowCardinality(19), 100, toLowCardinality(100) WITH TOTALS 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 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 2 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 3 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 4 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 5 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 6 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 7 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 8 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 9 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 10 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 11 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 12 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 13 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 14 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 15 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 16 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 17 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 18 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 19 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 20 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 21 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 22 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 23 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 24 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 25 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 26 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 27 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 28 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 29 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 30 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 31 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 32 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 33 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 34 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 35 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 36 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 37 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 38 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 39 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 40 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 41 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 42 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 43 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 44 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 45 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 46 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 47 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 48 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 49 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 50 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 51 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 52 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 53 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 54 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 55 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 56 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 57 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 58 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 59 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 60 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 61 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 62 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 63 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 64 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 65 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 66 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 67 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 68 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 69 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 70 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 71 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 72 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 73 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 74 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 75 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 76 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 77 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 78 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 79 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 80 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 81 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 82 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 83 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 84 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 85 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 86 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 87 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 88 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 89 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 90 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 91 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 92 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 93 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 94 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 95 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 96 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 97 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 98 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 99 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 100 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 101 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 102 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 103 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 104 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 105 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 106 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 107 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 108 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 109 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 110 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 111 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 112 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 113 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 114 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 115 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 116 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 117 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 118 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 119 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 120 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 121 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 122 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 123 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 124 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 125 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 126 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 127 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 128 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 129 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 130 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 131 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 132 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 133 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 134 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 135 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 136 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 137 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 138 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 139 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 140 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 141 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 142 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 143 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 144 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 145 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 146 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 147 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 148 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 149 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 150 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 151 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 152 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 153 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 154 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 155 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 156 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 157 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 158 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 159 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 160 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 161 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 162 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 163 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 164 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 165 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 166 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 167 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 168 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 169 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 170 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 171 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 172 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 173 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 174 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 175 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 176 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 177 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 178 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 179 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 180 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 181 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 182 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 183 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 184 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 185 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 186 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 187 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 188 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 189 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 190 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 191 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 192 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 193 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 194 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 195 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 196 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 197 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 198 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 199 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 200 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 201 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 202 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 203 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 204 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 205 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 206 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 207 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 208 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 209 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 210 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 211 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 212 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 213 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 214 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 215 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 216 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 217 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 218 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 219 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 220 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 221 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 222 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 223 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 224 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 225 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 226 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 227 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 228 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 229 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 230 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 231 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 232 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 233 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 234 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 235 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 236 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 237 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 238 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 239 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 240 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 241 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 242 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 243 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 244 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 245 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 246 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 247 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 248 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 249 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 250 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 251 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 252 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 253 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 254 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 255 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 256 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 257 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 258 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 259 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 260 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 261 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 262 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 263 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 264 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 265 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 266 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 267 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 268 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 269 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 270 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 271 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 272 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 273 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 274 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 275 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 276 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 277 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 278 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 279 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 280 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 281 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 282 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 283 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 284 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 285 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 286 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 287 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 288 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 289 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 290 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 291 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 292 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 293 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 294 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 295 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 296 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 297 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 298 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 299 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 300 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 301 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 302 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 303 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 304 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 305 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 306 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 307 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 308 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 309 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 310 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 311 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 312 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 313 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 314 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 315 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 316 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 317 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 318 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 319 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 320 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 321 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 322 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 323 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 324 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 325 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 326 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 327 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 328 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 329 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 330 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 331 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 332 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 333 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 334 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 335 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 336 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 337 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 338 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 339 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 340 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 341 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 342 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 343 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 344 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 345 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 346 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 347 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 348 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 349 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 350 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 351 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 352 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 353 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 354 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 355 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 356 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 357 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 358 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 359 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 360 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 361 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 362 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 363 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 364 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 365 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 366 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 367 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 368 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 369 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 370 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 371 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 372 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 373 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 374 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 375 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 376 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 377 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 378 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 379 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 380 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 381 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 382 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 383 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 384 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 385 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 386 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 387 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 388 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 389 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 390 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 391 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 392 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 393 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 394 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 395 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 396 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 397 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 398 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 399 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 400 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 401 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 402 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 403 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 404 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 405 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 406 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 407 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 408 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 409 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 410 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 411 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 412 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 413 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 414 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 415 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 416 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 417 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 418 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 419 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 420 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 421 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 422 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 423 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 424 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 425 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 426 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 427 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 428 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 429 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 430 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 431 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 432 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 433 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 434 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 435 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 436 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 437 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 438 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 439 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 440 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 441 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 442 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 443 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 444 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 445 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 446 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 447 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 448 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 449 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 450 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 451 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 452 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 453 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 454 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 455 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 456 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 457 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 458 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 459 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 460 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 461 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 462 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 463 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 464 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 465 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 466 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 467 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 468 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 469 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 470 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 471 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 472 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 473 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 474 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 475 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 476 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 477 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 478 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 479 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 480 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 481 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 482 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 483 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 484 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 485 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 486 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 487 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 488 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 489 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 490 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 491 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 492 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 493 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 494 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 495 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 496 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 497 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 498 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 499 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 500 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 501 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 502 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 503 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 504 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 505 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 506 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 507 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 508 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 509 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 510 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 511 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 512 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 513 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 514 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 515 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 516 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 517 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 518 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 519 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 520 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 521 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 522 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 523 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 524 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 525 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 526 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 527 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 528 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 529 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 530 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 531 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 532 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 533 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 534 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 535 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 536 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 537 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 538 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 539 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 540 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 541 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 542 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 543 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 544 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 545 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 546 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 547 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 548 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 549 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 550 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 551 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 552 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 553 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 554 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 555 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 556 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 557 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 558 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 559 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 560 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 561 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 562 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 563 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 564 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 565 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 566 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 567 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 568 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 569 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 570 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 571 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 572 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 573 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 574 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 575 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 576 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 577 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 578 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 579 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 580 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 581 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 582 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 583 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 584 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 585 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 586 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 587 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 588 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 589 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 590 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 591 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 592 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 593 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 594 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 595 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 596 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 597 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 598 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 599 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 600 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 601 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 602 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 603 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 604 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 605 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 606 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 607 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 608 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 609 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 610 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 611 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 612 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 613 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 614 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 615 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 616 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 617 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 618 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 619 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 620 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 621 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 622 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 623 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 624 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 625 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 626 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 627 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 628 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 629 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 630 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 631 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 632 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 633 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 634 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 635 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 636 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 637 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 638 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 639 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 640 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 641 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 642 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 643 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 644 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 645 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 646 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 647 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 648 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 649 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 650 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 651 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 652 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 653 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 654 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 655 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 656 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 657 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 658 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 659 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 660 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 661 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 662 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 663 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 664 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 665 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 666 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 667 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 668 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 669 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 670 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 671 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 672 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 673 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 674 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 675 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 676 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 677 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 678 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 679 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 680 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 681 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 682 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 683 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 684 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 685 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 686 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 687 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 688 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 689 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 690 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 691 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 692 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 693 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 694 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 695 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 696 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 697 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 698 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 699 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 700 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 701 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 702 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 703 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 704 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 705 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 706 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 707 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 708 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 709 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 710 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 711 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 712 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 713 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 714 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 715 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 716 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 717 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 718 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 719 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 720 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 721 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 722 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 723 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 724 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 725 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 726 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 727 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 728 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 729 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 730 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 731 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 732 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 733 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 734 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 735 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 736 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 737 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 738 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 739 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 740 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 741 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 742 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 743 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 744 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 745 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 746 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 747 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 748 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 749 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 750 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 751 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 752 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 753 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 754 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 755 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 756 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 757 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 758 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 759 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 760 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 761 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 762 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 763 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 764 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 765 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 766 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 767 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 768 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 769 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 770 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 771 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 772 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 773 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 774 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 775 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 776 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 777 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 778 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 779 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 780 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 781 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 782 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 783 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 784 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 785 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 786 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 787 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 788 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 789 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 790 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 791 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 792 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 793 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 794 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 795 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 796 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 797 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 798 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 799 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 800 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 801 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 802 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 803 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 804 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 805 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 806 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 807 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 808 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 809 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 810 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 811 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 812 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 813 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 814 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 815 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 816 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 817 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 818 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 819 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 820 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 821 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 822 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 823 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 824 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 825 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 826 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 827 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 828 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 829 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 830 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 831 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 832 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 833 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 834 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 835 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 836 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 837 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 838 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 839 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 840 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 841 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 842 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 843 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 844 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 845 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 846 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 847 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 848 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 849 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 850 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 851 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 852 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 853 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 854 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 855 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 856 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 857 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 858 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 859 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 860 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 861 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 862 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 863 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 864 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 865 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 866 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 867 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 868 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 869 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 870 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 871 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 872 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 873 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 874 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 875 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 876 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 877 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 878 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 879 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 880 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 881 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 882 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 883 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 884 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 885 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 886 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 887 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 888 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 889 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 890 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 891 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 892 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 893 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 894 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 895 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 896 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 897 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 898 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 899 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 900 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 901 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 902 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 903 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 904 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 905 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 906 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 907 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 908 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 909 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 910 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 911 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 912 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 913 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 914 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 915 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 916 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 917 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 918 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 919 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 920 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 921 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 922 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 923 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 924 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 925 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 926 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 927 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 928 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 929 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 930 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 931 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 932 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 933 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 934 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 935 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 936 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 937 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 938 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 939 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 940 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 941 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 942 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 943 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 944 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 945 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 946 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 947 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 948 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 949 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 950 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 951 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 952 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 953 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 954 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 955 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 956 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 957 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 958 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 959 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 960 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 961 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 962 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 963 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 964 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 965 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 966 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 967 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 968 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 969 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 970 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 971 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 972 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 973 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 974 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 975 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 976 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 977 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 978 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 979 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 980 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 981 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 982 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 983 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 984 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 985 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 986 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 987 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 988 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 989 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 990 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 991 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 992 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 993 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 994 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 995 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 996 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 997 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 998 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 999 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 2 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY minmax ASC, event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY minmax ASC, event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'minmax' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY minmax ASC, event_time DESC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001106f696 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110464c6 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 9. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 3 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(materialize(toLowCardinality(100)), thread_id, master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(materialize(toLowCardinality(100)), thread_id, master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(materialize(toLowCardinality(100)), thread_id, master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 4 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 5 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND greaterOrEquals(event_date, test_nested_alias_idx__fuzz_30, today() - 1) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND greaterOrEquals(event_date, test_nested_alias_idx__fuzz_30, today() - 1) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_30' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND greaterOrEquals(event_date, test_nested_alias_idx__fuzz_30, today() - 1) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 14. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 6 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 7 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)) GROUP BY toLowCardinality(toNullable(100)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(test_nested_alias_idx__fuzz_34, thread_id, master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)) GROUP BY toLowCardinality(toNullable(100)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(test_nested_alias_idx__fuzz_34, thread_id, master_thread_id)': Received from localhost:9000. DB::Exception: Column system.query_log.event_time is not under aggregate function and not in GROUP BY keys. In query (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)) GROUP BY toLowCardinality(toNullable(100)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x000000001109825e 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x00000000110972dd 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 11. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 8 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 9 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 10 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 11 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 12 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 13 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(current_database, materialize(toLowCardinality(toUInt128(100))), currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE equals(query_id, a > toNullable(100), id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(current_database, materialize(toLowCardinality(toUInt128(100))), currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE equals(query_id, a > toNullable(100), id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log WHERE equals(current_database, materialize(toLowCardinality(toUInt128(100))), currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 14 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 15 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toUInt128(1091) WHERE (current_database = currentDatabase()) AND like(normalizeQuery(query), toUInt256(22), normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toUInt128(1091) WHERE (current_database = currentDatabase()) AND like(normalizeQuery(query), toUInt256(22), normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function like doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log PREWHERE toUInt128(1091) WHERE (current_database = currentDatabase()) AND like(normalizeQuery(query), toUInt256(22), normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 16 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 17 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) FROM system.query_thread_log PREWHERE equals(test_nested_alias_idx__fuzz_31, query_id, id) AND notEquals(thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) FROM system.query_thread_log PREWHERE equals(test_nested_alias_idx__fuzz_31, query_id, id) AND notEquals(thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_31' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) FROM system.query_thread_log PREWHERE equals(test_nested_alias_idx__fuzz_31, query_id, id) AND notEquals(thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 18 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 19 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE and(query_id = id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE and(query_id = id)': Received from localhost:9000. DB::Exception: Number of arguments for function "and" should be at least 2: passed 1: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE and(query_id = id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&, unsigned long&&) @ 0x000000000701d62b 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6318 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 20 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 21 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY test_nested_alias_idx__fuzz_35 DESC, event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY test_nested_alias_idx__fuzz_35 DESC, event_time DESC NULLS LAST LIMIT 1) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_35' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY test_nested_alias_idx__fuzz_35 DESC, event_time DESC NULLS LAST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001106f696 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110464c6 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 9. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 22 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 23 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 24 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND notEquals(thread_id, materialize(1), master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND notEquals(thread_id, materialize(1), master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND notEquals(thread_id, materialize(1), master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 25 out of 1000 WITH ( SELECT toLowCardinality(1), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT toLowCardinality(1), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned empty result of type Tuple(LowCardinality(UInt8), String) which cannot be Nullable. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110562aa 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 26 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(current_database, test_alias_skip_idx__fuzz_33, currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today(toUInt128(100)) - toLowCardinality(1))) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(current_database, test_alias_skip_idx__fuzz_33, currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today(toUInt128(100)) - toLowCardinality(1))) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT materialize('merge_expressions=0'), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_33' in scope (SELECT query_id FROM system.query_log WHERE equals(current_database, test_alias_skip_idx__fuzz_33, currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today(toUInt128(100)) - toLowCardinality(1))) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 14. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 27 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 28 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND greaterOrEquals(event_date, toLowCardinality(1, toLowCardinality(19)), today() - 1) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND greaterOrEquals(event_date, toLowCardinality(1, toLowCardinality(19)), today() - 1) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND greaterOrEquals(event_date, toLowCardinality(1, toLowCardinality(19)), today() - 1) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 29 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= minus(1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= minus(1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 30 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 31 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 32 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 65535 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 65535) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 33 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE equals(toUInt128(16), query_id, id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE equals(toUInt128(16), query_id, id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE equals(toUInt128(16), query_id, id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 34 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 35 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 36 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 37 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND notEquals(thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND notEquals(thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND notEquals(thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 38 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY test_nested_alias_idx__fuzz_14, greater(100) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY test_nested_alias_idx__fuzz_14, greater(100)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_14' in scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY test_nested_alias_idx__fuzz_14, greater(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 39 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 40 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 41 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 42 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) RESPECT NULLS FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) RESPECT NULLS FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 43 out of 1000 WITH ( SELECT materialize(19), query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT materialize(19), query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: There is no supertype for types String, Tuple(`materialize(19)` UInt8, query_id String) because some of them are Tuple and some of them are not. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&, std::basic_string_view>&) @ 0x000000000ad9952b 4. /build/src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000010cd89de 5. /build/src/DataTypes/getLeastSupertype.cpp:402: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000010cdbc80 6. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::executeGeneric(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x0000000008809932 7. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000087ef56d 8. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 9. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 10. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 11. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 12. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 13. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x0000000010fdf321 14. /build/src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block const&) const @ 0x0000000010fde334 15. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fcc150 16. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001316d043 17. /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&) @ 0x000000001163a878 18. /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>>&) @ 0x0000000011668f69 19. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662c15 20. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 21. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 22. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 44 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 45 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT NULL ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT NULL) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 46 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 47 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 48 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 49 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 50 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 51 out of 1000 WITH ( SELECT 'nested_alias', query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 52 out of 1000 WITH ( SELECT 'nested_alias', query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 53 out of 1000 WITH ( SELECT 'nested_alias', query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 54 out of 1000 WITH ( SELECT 'nested_alias', query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 55 out of 1000 WITH ( SELECT 'nested_alias', query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 56 out of 1000 WITH ( SELECT 'nested_alias', query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_25 Error on processing query 'WITH (SELECT 'nested_alias', query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT -2147483648) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_25': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_25' in scope WITH (SELECT 'nested_alias', query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT -2147483648) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_25. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 57 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 58 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 59 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 60 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 61 out of 1000 EXPLAIN PIPELINE `graph=1` = true WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN PIPELINE `graph=1` = true WITH (SELECT 'nested_alias' FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT -2147483648) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 62 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 63 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT -2147483648 ) AS id SELECT toNullable('merge_expressions=0'), uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 64 out of 1000 WITH ( SELECT toLowCardinality('nested_alias') FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT -2147483648 ) AS id SELECT toNullable('merge_expressions=0'), uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 65 out of 1000 WITH ( SELECT toLowCardinality('nested_alias') FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT toNullable('merge_expressions=0'), uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 66 out of 1000 WITH ( SELECT toLowCardinality('nested_alias') FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 67 out of 1000 WITH ( SELECT toLowCardinality('nested_alias') FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 68 out of 1000 WITH ( SELECT toLowCardinality('nested_alias') FROM system.query_log ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 69 out of 1000 WITH ( SELECT toLowCardinality('nested_alias') FROM system.query_log ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 70 out of 1000 WITH ( SELECT toLowCardinality('nested_alias') FROM system.query_log ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 71 out of 1000 WITH ( SELECT toLowCardinality('nested_alias') FROM system.query_log ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 72 out of 1000 WITH ( SELECT toLowCardinality('nested_alias') FROM system.query_log ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 73 out of 1000 WITH ( SELECT toLowCardinality('nested_alias') FROM system.query_log ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 74 out of 1000 WITH ( SELECT toNullable(toLowCardinality(1)), toLowCardinality('nested_alias') FROM system.query_log ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 75 out of 1000 WITH ( SELECT toNullable(1), toLowCardinality('nested_alias') FROM system.query_log ORDER BY c + 1 ASC, event_time ASC LIMIT 255 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 76 out of 1000 WITH ( SELECT toNullable(1), 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 77 out of 1000 WITH ( SELECT toNullable(1), 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC, event_time ASC LIMIT 255 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log PREWHERE a2 Error on processing query 'WITH (SELECT toNullable(1), 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC, event_time ASC LIMIT 255) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log PREWHERE a2': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a2' in scope WITH (SELECT toNullable(1), 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC, event_time ASC LIMIT 255) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log PREWHERE a2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 78 out of 1000 WITH ( SELECT toNullable(1), 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 79 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 80 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT toLowCardinality('merge_expressions=0'), uniqExact(thread_id) FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT 255) AS id SELECT toLowCardinality('merge_expressions=0'), uniqExact(thread_id) FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'c' in scope (SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT 255) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001106f696 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110464c6 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 12. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 13. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 19. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 81 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 82 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT toLowCardinality(toNullable('merge_expressions=0')), uniqExact(thread_id) FROM system.query_thread_log Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true WITH (SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT 255) AS id SELECT toLowCardinality(toNullable('merge_expressions=0')), uniqExact(thread_id) FROM system.query_thread_log': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 83 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 84 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time DESC NULLS FIRST LIMIT 255 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log WHERE test_nested_alias_idx__fuzz_31 Error on processing query 'WITH (SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time DESC NULLS FIRST LIMIT 255) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log WHERE test_nested_alias_idx__fuzz_31': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_31' in scope WITH (SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time DESC NULLS FIRST LIMIT 255) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log WHERE test_nested_alias_idx__fuzz_31. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 85 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 86 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT 'merge_expressions=0', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 87 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT 'merge_expressions=0', uniqExact(a > toLowCardinality(toUInt128(materialize(100))), thread_id) FROM system.query_thread_log Error on processing query 'WITH (SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 255) AS id SELECT 'merge_expressions=0', uniqExact(a > toLowCardinality(toUInt128(materialize(100))), thread_id) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope WITH (SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 255) AS id SELECT 'merge_expressions=0', uniqExact(a > toLowCardinality(toUInt128(materialize(100))), thread_id) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 88 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 89 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time DESC NULLS LAST LIMIT 255 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 90 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 DESC NULLS LAST, event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 DESC NULLS LAST, event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 92 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 DESC NULLS LAST, event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 93 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 DESC NULLS LAST, event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 94 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 DESC, event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 95 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 DESC NULLS LAST, event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 96 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 DESC NULLS LAST, event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 97 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 DESC NULLS LAST, event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 98 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 99 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 100 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 101 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log GROUP BY toUInt256(19), materialize(materialize(toLowCardinality(100))), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 102 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log GROUP BY toUInt256(19), materialize(materialize(toLowCardinality(100))), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 103 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log GROUP BY toUInt256(19), materialize(materialize(toLowCardinality(100))), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 ASC NULLS FIRST, event_time ASC LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 104 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 'nested_alias' FROM system.query_log GROUP BY toUInt256(19), materialize(toLowCardinality(100)), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 105 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 'nested_alias' FROM system.query_log GROUP BY toUInt256(19), materialize(toLowCardinality(100)), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 106 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 'nested_alias' FROM system.query_log GROUP BY toUInt256(19), materialize(toLowCardinality(100)), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 107 out of 1000 EXPLAIN SYNTAX WITH ( SELECT 'nested_alias' FROM system.query_log GROUP BY toUInt256(19), materialize(toLowCardinality(100)), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT 'nested_alias' FROM system.query_log GROUP BY toUInt256(19), materialize(toLowCardinality(100)), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT 1048576) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Missing columns: 'test_alias_skip_idx__fuzz_1' 'master_thread_id' 'thread_id' 'c' 'id' while processing query: 'SELECT 'nested_alias' FROM system.query_log GROUP BY toUInt256(19), toLowCardinality(100), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT 1048576', required columns: 'query_id' 'id' 'c' 'thread_id' 'master_thread_id' 'test_alias_skip_idx__fuzz_1' 'event_time', maybe you meant: 'query_id', 'thread_ids' or 'event_time': While processing (SELECT 'nested_alias' FROM system.query_log GROUP BY toUInt256(19), materialize(toLowCardinality(100)), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT 1048576) AS id: While processing WITH (SELECT 'nested_alias' FROM system.query_log GROUP BY toUInt256(19), materialize(toLowCardinality(100)), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT 1048576) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 108 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 'nested_alias' FROM system.query_log GROUP BY toUInt256(19), materialize(toLowCardinality(100)), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 109 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 'nested_alias' FROM system.query_log GROUP BY toUInt256(19), materialize(toLowCardinality(100)), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 ASC, event_time ASC NULLS LAST LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 110 out of 1000 WITH ( SELECT 'nested_alias' FROM system.query_log GROUP BY 19, materialize(toLowCardinality(100)), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 ASC, event_time DESC NULLS FIRST LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 111 out of 1000 WITH ( SELECT toFixedString('nested_alias', 12) FROM system.query_log GROUP BY 19, toLowCardinality(100), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 DESC, event_time DESC NULLS FIRST LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 112 out of 1000 WITH ( SELECT toFixedString('nested_alias', 12) FROM system.query_log GROUP BY 19, toLowCardinality(100), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 DESC, event_time DESC NULLS FIRST LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 113 out of 1000 WITH ( SELECT toFixedString('nested_alias', 12) FROM system.query_log GROUP BY 19, toLowCardinality(100), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 DESC, event_time DESC NULLS FIRST LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 114 out of 1000 EXPLAIN PIPELINE compact = true WITH ( SELECT 'nested_alias', 12 FROM system.query_log GROUP BY 19, toLowCardinality(100), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 DESC, event_time DESC NULLS FIRST LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Error on processing query 'EXPLAIN PIPELINE compact = true WITH (SELECT 'nested_alias', 12 FROM system.query_log GROUP BY 19, toLowCardinality(100), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 DESC, event_time DESC NULLS FIRST LIMIT 1048576) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 115 out of 1000 WITH ( SELECT toFixedString('nested_alias', 12) FROM system.query_log GROUP BY 19, toLowCardinality(100), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 DESC, event_time DESC NULLS FIRST LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 116 out of 1000 WITH ( SELECT toFixedString('nested_alias', 12) FROM system.query_log GROUP BY 19, toLowCardinality(toNullable(100)), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 DESC, event_time DESC NULLS FIRST LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 117 out of 1000 WITH ( SELECT toFixedString('nested_alias', 12) FROM system.query_log GROUP BY 19, toLowCardinality(toNullable(100)), (query_id = id) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY c + 1 DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 118 out of 1000 WITH ( SELECT toFixedString('nested_alias', 12) FROM system.query_log GROUP BY 19, toLowCardinality(toNullable(100)), and(thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY event_time DESC NULLS FIRST LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 119 out of 1000 WITH ( SELECT toFixedString(toFixedString('nested_alias', 12), 12) FROM system.query_log GROUP BY 19, toLowCardinality(toNullable(100)), and(thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY event_time ASC NULLS LAST LIMIT 65536 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 120 out of 1000 WITH ( SELECT toFixedString(toFixedString('nested_alias', 12), 12) FROM system.query_log GROUP BY 19, toLowCardinality(toNullable(100)), and(thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY event_time ASC NULLS LAST LIMIT 65536 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 121 out of 1000 WITH ( SELECT toFixedString(toFixedString('nested_alias', 12), 12) FROM system.query_log GROUP BY GROUPING SETS ( (19), (toLowCardinality(toNullable(100))), (and(thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC NULLS LAST LIMIT 65536 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 122 out of 1000 WITH ( SELECT toFixedString(toFixedString('nested_alias', 12), 12) FROM system.query_log GROUP BY GROUPING SETS ( (19), (toLowCardinality(toNullable(100))), (and(thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC NULLS LAST LIMIT 65536 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 123 out of 1000 WITH ( SELECT toFixedString(toFixedString('nested_alias', 12), 12) FROM system.query_log GROUP BY GROUPING SETS ( (19), (toLowCardinality(toNullable(100))), (and(thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC NULLS LAST LIMIT 65536 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 124 out of 1000 WITH ( SELECT toFixedString(toFixedString('nested_alias', 12), 12) FROM system.query_log GROUP BY GROUPING SETS ( (materialize(19)), (toLowCardinality(toNullable(100))), (and(thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC NULLS LAST LIMIT 65536 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 125 out of 1000 WITH ( SELECT toFixedString(toFixedString('nested_alias', 12), 12) FROM system.query_log GROUP BY GROUPING SETS ( (materialize(19)), (toLowCardinality(toNullable(100))), (and(thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC NULLS LAST LIMIT 65536 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 126 out of 1000 WITH ( SELECT toFixedString('nested_alias', 12, 12) FROM system.query_log PREWHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (materialize(19)), (toLowCardinality(toNullable(100))), (toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC NULLS LAST LIMIT 65536 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 127 out of 1000 WITH ( SELECT toFixedString('nested_alias', 12, 12) FROM system.query_log PREWHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (materialize(19)), (toLowCardinality(toNullable(100))), (toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC NULLS LAST LIMIT 65536 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 128 out of 1000 WITH ( SELECT toFixedString('nested_alias', 12, 12) FROM system.query_log PREWHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (materialize(19)), (toLowCardinality(toNullable(100))), (toLowCardinality(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC NULLS LAST LIMIT 256 ) AS id SELECT uniqExact(test_nested_alias_idx__fuzz_25, thread_id) FROM system.query_thread_log Error on processing query 'WITH (SELECT toFixedString('nested_alias', 12, 12) FROM system.query_log PREWHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((materialize(19)), (toLowCardinality(toNullable(100))), (toLowCardinality(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC NULLS LAST LIMIT 256) AS id SELECT uniqExact(test_nested_alias_idx__fuzz_25, thread_id) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_25' in scope WITH (SELECT toFixedString('nested_alias', 12, 12) FROM system.query_log PREWHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((materialize(19)), (toLowCardinality(toNullable(100))), (toLowCardinality(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC NULLS LAST LIMIT 256) AS id SELECT uniqExact(test_nested_alias_idx__fuzz_25, thread_id) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 129 out of 1000 WITH ( SELECT toFixedString('nested_alias', 12, 12) FROM system.query_log PREWHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (materialize(19)), (toLowCardinality(toNullable(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC NULLS LAST LIMIT 65536 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 130 out of 1000 WITH ( SELECT toFixedString('nested_alias', 12, 12) FROM system.query_log PREWHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (materialize(19)), (toLowCardinality(toNullable(toLowCardinality(100)))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC NULLS LAST LIMIT 65536 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 131 out of 1000 WITH ( SELECT toFixedString('nested_alias', 12, 12) FROM system.query_log PREWHERE test_alias_skip_idx__fuzz_10 GROUP BY materialize(19), toLowCardinality(toNullable(100)), toNullable(100) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY event_time ASC NULLS LAST LIMIT 65536 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS FROM system.query_thread_log Error on processing query 'WITH (SELECT toFixedString('nested_alias', 12, 12) FROM system.query_log PREWHERE test_alias_skip_idx__fuzz_10 GROUP BY materialize(19), toLowCardinality(toNullable(100)), toNullable(100) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_1 ORDER BY event_time ASC NULLS LAST LIMIT 65536) AS id SELECT uniqExact(thread_id) RESPECT NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 132 out of 1000 WITH ( SELECT toFixedString('nested_alias', 12, 12) FROM system.query_log PREWHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (materialize(19)), (toLowCardinality(toNullable(toLowCardinality(100)))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 133 out of 1000 WITH ( SELECT toFixedString(materialize(22), 'nested_alias', 12, 12) FROM system.query_log PREWHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (materialize(19)), (toLowCardinality(toNullable(toLowCardinality(100)))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 134 out of 1000 WITH ( SELECT toFixedString(22, 'nested_alias', 12, 12) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (materialize(19)), (toLowCardinality(toNullable(toLowCardinality(100)))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 135 out of 1000 WITH ( SELECT 22, 'nested_alias', 12, 12 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (materialize(19)), (toLowCardinality(toNullable(toLowCardinality(100)))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT toNullable('nested_alias'), uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 136 out of 1000 WITH ( SELECT 22, 'nested_alias', 12, materialize(12) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (materialize(19)), (toLowCardinality(toNullable(toLowCardinality(100)))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 137 out of 1000 WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (materialize(19)), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) WITH TOTALS ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 138 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 140 out of 1000 EXPLAIN WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 141 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 142 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 143 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 144 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 145 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 146 out of 1000 EXPLAIN WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 147 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 148 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 149 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 150 out of 1000 EXPLAIN SYNTAX WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Missing columns: 'master_thread_id' 'thread_id' 'test_alias_skip_idx__fuzz_1' 'test_alias_skip_idx__fuzz_10' while processing query: 'SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807', required columns: 'test_alias_skip_idx__fuzz_10' 'test_alias_skip_idx__fuzz_1' 'thread_id' 'master_thread_id' 'event_time', maybe you meant: 'thread_ids' or 'event_time': While processing (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id: While processing WITH (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 151 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 152 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 153 out of 1000 EXPLAIN WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 154 out of 1000 EXPLAIN AST WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 155 out of 1000 EXPLAIN AST WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 156 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('22'): 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (t. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 157 out of 1000 EXPLAIN AST WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 158 out of 1000 EXPLAIN AST WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 159 out of 1000 EXPLAIN WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 160 out of 1000 EXPLAIN WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 161 out of 1000 EXPLAIN WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 162 out of 1000 EXPLAIN WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 163 out of 1000 EXPLAIN WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 164 out of 1000 EXPLAIN WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 165 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 166 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 167 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 168 out of 1000 EXPLAIN SYNTAX WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Missing columns: 'master_thread_id' 'thread_id' 'test_alias_skip_idx__fuzz_1' 'test_alias_skip_idx__fuzz_10' while processing query: 'SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807', required columns: 'test_alias_skip_idx__fuzz_10' 'test_alias_skip_idx__fuzz_1' 'thread_id' 'master_thread_id' 'event_time', maybe you meant: 'thread_ids' or 'event_time': While processing (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id: While processing WITH (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 169 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 170 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 171 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('22'): 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (t. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 172 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 173 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 174 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 175 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 176 out of 1000 EXPLAIN WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 177 out of 1000 EXPLAIN AST WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 178 out of 1000 EXPLAIN SYNTAX WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Missing columns: 'master_thread_id' 'thread_id' 'test_alias_skip_idx__fuzz_1' 'test_alias_skip_idx__fuzz_10' while processing query: 'SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807', required columns: 'test_alias_skip_idx__fuzz_10' 'test_alias_skip_idx__fuzz_1' 'thread_id' 'master_thread_id' 'event_time', maybe you meant: 'thread_ids' or 'event_time': While processing (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id: While processing WITH (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 179 out of 1000 EXPLAIN AST WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 180 out of 1000 EXPLAIN AST WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 181 out of 1000 EXPLAIN SYNTAX WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Missing columns: 'master_thread_id' 'thread_id' 'test_alias_skip_idx__fuzz_1' 'test_alias_skip_idx__fuzz_10' while processing query: 'SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807', required columns: 'test_alias_skip_idx__fuzz_10' 'test_alias_skip_idx__fuzz_1' 'thread_id' 'master_thread_id' 'event_time', maybe you meant: 'thread_ids' or 'event_time': While processing (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id: While processing WITH (SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 182 out of 1000 EXPLAIN AST WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 183 out of 1000 EXPLAIN WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 184 out of 1000 EXPLAIN WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 185 out of 1000 EXPLAIN WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 186 out of 1000 EXPLAIN WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 187 out of 1000 EXPLAIN WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 188 out of 1000 EXPLAIN WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 189 out of 1000 EXPLAIN AST WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 190 out of 1000 EXPLAIN AST WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 191 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 192 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Got boring AST Fuzzing step 193 out of 1000 WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT 'nested_alias', uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 194 out of 1000 WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toNullable(toLowCardinality(100))), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time DESC LIMIT -9223372036854775807 ) AS id SELECT toNullable(toFixedString('nested_alias', 12)), uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 195 out of 1000 WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toLowCardinality(100)), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time DESC LIMIT -9223372036854775807 ) AS id SELECT toFixedString('nested_alias', 12), uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toLowCardinality(100)), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time DESC LIMIT 2147483647 ) AS id SELECT toFixedString('nested_alias', 12), uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 197 out of 1000 WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(toUInt128(12)))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toLowCardinality(100)), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time DESC LIMIT 2147483647 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 198 out of 1000 WITH ( SELECT 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(toUInt128(12)))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toLowCardinality(100)), (toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT 2147483647 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 199 out of 1000 WITH ( SELECT 2147483647, 22, 'nested_alias', 12, materialize(toLowCardinality(toNullable(toUInt128(12)))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (toLowCardinality(100)), (toUInt128(toLowCardinality(19)) AND toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT 2147483647 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 200 out of 1000 WITH ( SELECT 2147483647, 22, 'nested_alias', 12, materialize(toNullable(toUInt128(12))) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19))))) AND toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC LIMIT 2147483647 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 201 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19))))) AND toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC, event_time ASC NULLS FIRST LIMIT 2147483647 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 202 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19))))) AND toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 203 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19))))) AND toNullable(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 204 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt128(materialize(toNullable(toUInt256(19)))) AND toNullable(toUInt256(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC, event_time ASC LIMIT 2147483647 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 205 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt128(materialize(toNullable(toUInt256(19)))) AND toUInt256(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC, event_time ASC LIMIT 2147483647 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 206 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt128(toNullable(toUInt256(19))) AND toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC, event_time ASC LIMIT 2147483647 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 207 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 208 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 209 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 210 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toLowCardinality(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, toNullable(100) AND (thread_id != master_thread_id) ASC, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, test_alias_skip_idx__fuzz_11, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toLowCardinality(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, toNullable(100) AND (thread_id != master_thread_id) ASC, event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, test_alias_skip_idx__fuzz_11, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_11' in scope WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toLowCardinality(100) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, toNullable(100) AND (thread_id != master_thread_id) ASC, event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, test_alias_skip_idx__fuzz_11, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 211 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 212 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 213 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 214 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 215 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('2147483647'): 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != mas. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 216 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 217 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 218 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 219 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 220 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 221 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 222 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 223 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 224 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 225 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 226 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 227 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 228 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 229 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 230 out of 1000 EXPLAIN SYNTAX WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Missing columns: 'test_nested_alias_idx__fuzz_27' 'test_alias_skip_idx__fuzz_1' 'master_thread_id' 'thread_id' 'test_alias_skip_idx__fuzz_10' while processing query: 'SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576', required columns: 'test_alias_skip_idx__fuzz_10' 'thread_id' 'master_thread_id' 'test_alias_skip_idx__fuzz_1' 'test_nested_alias_idx__fuzz_27' 'event_time', maybe you meant: 'thread_ids' or 'event_time': While processing (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576) AS id: While processing WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 231 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 232 out of 1000 EXPLAIN SYNTAX WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Missing columns: 'test_nested_alias_idx__fuzz_27' 'test_alias_skip_idx__fuzz_1' 'master_thread_id' 'thread_id' 'test_alias_skip_idx__fuzz_10' while processing query: 'SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576', required columns: 'test_alias_skip_idx__fuzz_10' 'thread_id' 'master_thread_id' 'test_alias_skip_idx__fuzz_1' 'test_nested_alias_idx__fuzz_27' 'event_time', maybe you meant: 'thread_ids' or 'event_time': While processing (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576) AS id: While processing WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 233 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 234 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 235 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 236 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 237 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 238 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 239 out of 1000 EXPLAIN SYNTAX WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Missing columns: 'test_nested_alias_idx__fuzz_27' 'test_alias_skip_idx__fuzz_1' 'master_thread_id' 'thread_id' 'test_alias_skip_idx__fuzz_10' while processing query: 'SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576', required columns: 'test_alias_skip_idx__fuzz_10' 'thread_id' 'master_thread_id' 'test_alias_skip_idx__fuzz_1' 'test_nested_alias_idx__fuzz_27' 'event_time', maybe you meant: 'thread_ids' or 'event_time': While processing (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576) AS id: While processing WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 240 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 241 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 242 out of 1000 EXPLAIN SYNTAX WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Missing columns: 'test_nested_alias_idx__fuzz_27' 'test_alias_skip_idx__fuzz_1' 'master_thread_id' 'thread_id' 'test_alias_skip_idx__fuzz_10' while processing query: 'SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576', required columns: 'test_alias_skip_idx__fuzz_10' 'thread_id' 'master_thread_id' 'test_alias_skip_idx__fuzz_1' 'test_nested_alias_idx__fuzz_27' 'event_time', maybe you meant: 'thread_ids' or 'event_time': While processing (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576) AS id: While processing WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 243 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 244 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY test_nested_alias_idx__fuzz_27 ASC NULLS LAST, event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 245 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (19), (100), (toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id)), (test_alias_skip_idx__fuzz_1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 246 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 247 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 248 out of 1000 EXPLAIN SYNTAX WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Missing columns: 'test_alias_skip_idx__fuzz_10' while processing query: 'SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576', required columns: 'test_alias_skip_idx__fuzz_10' 'event_time', maybe you meant: 'event_time': While processing (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id: While processing WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 249 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('2147483647'): 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 250 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 251 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('2147483647'): 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 252 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 253 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('2147483647'): 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 254 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 255 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 256 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 257 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 258 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 259 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 260 out of 1000 EXPLAIN SYNTAX WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Missing columns: 'test_alias_skip_idx__fuzz_10' while processing query: 'SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576', required columns: 'test_alias_skip_idx__fuzz_10' 'event_time', maybe you meant: 'event_time': While processing (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id: While processing WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 261 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 262 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('2147483647'): 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 263 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 264 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 265 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 266 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 267 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 268 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 269 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('2147483647'): 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 270 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 271 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 272 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 273 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 274 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('2147483647'): 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 275 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 276 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 277 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 278 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 279 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 280 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 281 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 282 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 283 out of 1000 EXPLAIN SYNTAX WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Missing columns: 'test_alias_skip_idx__fuzz_10' while processing query: 'SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576', required columns: 'test_alias_skip_idx__fuzz_10' 'event_time', maybe you meant: 'event_time': While processing (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id: While processing WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 284 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 285 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 286 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 287 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 288 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 289 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 290 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 291 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 292 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 293 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 294 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 295 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 297 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 298 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 299 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 300 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 301 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 302 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 303 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 304 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 305 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 306 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 307 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 308 out of 1000 EXPLAIN SYNTAX WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Missing columns: 'test_alias_skip_idx__fuzz_10' while processing query: 'SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576', required columns: 'test_alias_skip_idx__fuzz_10' 'event_time', maybe you meant: 'event_time': While processing (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id: While processing WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 309 out of 1000 EXPLAIN SYNTAX WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Missing columns: 'test_alias_skip_idx__fuzz_10' while processing query: 'SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576', required columns: 'test_alias_skip_idx__fuzz_10' 'event_time', maybe you meant: 'event_time': While processing (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id: While processing WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 310 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 311 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 312 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 313 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 314 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 315 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 316 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 317 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 318 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 319 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 320 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 321 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 322 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 323 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 324 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 325 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 326 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 328 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 329 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 330 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 331 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 332 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 333 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 334 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('2147483647'): 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 335 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 336 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 337 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 338 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 339 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 340 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 341 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 342 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 343 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 344 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 345 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 346 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 347 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 348 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 349 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 350 out of 1000 EXPLAIN WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 351 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 352 out of 1000 EXPLAIN PIPELINE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 353 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 EXPLAIN AST WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 355 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 356 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 357 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 358 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 359 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 360 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 361 out of 1000 WITH ( SELECT toNullable(2147483647) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 362 out of 1000 WITH ( SELECT toNullable(2147483647) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 363 out of 1000 WITH ( SELECT toNullable(2147483647) FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 364 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 365 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 366 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 367 out of 1000 EXPLAIN SYNTAX WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time DESC NULLS FIRST LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time DESC NULLS FIRST LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Missing columns: 'test_alias_skip_idx__fuzz_10' while processing query: 'SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time DESC NULLS FIRST LIMIT 1048576', required columns: 'test_alias_skip_idx__fuzz_10' 'event_time', maybe you meant: 'event_time': While processing (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time DESC NULLS FIRST LIMIT 1048576) AS id: While processing WITH (SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time DESC NULLS FIRST LIMIT 1048576) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 368 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE test_alias_skip_idx__fuzz_10 WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 369 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 1048576 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 370 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 65535 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 65535 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 372 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WITH TOTALS ORDER BY event_time DESC NULLS FIRST LIMIT 65535 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 373 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WITH TOTALS ORDER BY event_time DESC NULLS FIRST LIMIT 65535 ) AS id SELECT 'nested_alias', 12 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_18 Error on processing query 'WITH (SELECT 2147483647 FROM system.query_log WITH TOTALS ORDER BY event_time DESC NULLS FIRST LIMIT 65535) AS id SELECT 'nested_alias', 12 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_18': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_18' in scope WITH (SELECT 2147483647 FROM system.query_log WITH TOTALS ORDER BY event_time DESC NULLS FIRST LIMIT 65535) AS id SELECT 'nested_alias', 12 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_18. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 374 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE toNullable(toLowCardinality(toLowCardinality(100))) WITH TOTALS ORDER BY event_time DESC NULLS FIRST LIMIT 65535 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE toNullable(toLowCardinality(100)) WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 65535 ) AS id SELECT toLowCardinality('nested_alias'), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE toNullable(toLowCardinality(100)) WITH TOTALS ORDER BY event_time ASC LIMIT 65535 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 EXPLAIN PIPELINE `graph=1` = true WITH ( SELECT 2147483647 FROM system.query_log WHERE toNullable(toLowCardinality(100)) WITH TOTALS ORDER BY event_time DESC LIMIT 65535 ) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Error on processing query 'EXPLAIN PIPELINE `graph=1` = true WITH (SELECT 2147483647 FROM system.query_log WHERE toNullable(toLowCardinality(100)) WITH TOTALS ORDER BY event_time DESC LIMIT 65535) AS id SELECT 'nested_alias', 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 378 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE toNullable(toLowCardinality(100)) WITH TOTALS ORDER BY event_time ASC LIMIT 65535 ) AS id SELECT toFixedString('nested_alias', 12), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 379 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE toNullable(toLowCardinality(100)) WITH TOTALS ORDER BY event_time ASC LIMIT 65535 ) AS id SELECT toFixedString('nested_alias', 12), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 380 out of 1000 WITH ( SELECT toLowCardinality(2147483647) FROM system.query_log WHERE toNullable(toLowCardinality(100)) WITH TOTALS ORDER BY event_time ASC LIMIT 65535 ) AS id SELECT toFixedString('nested_alias', 12), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 381 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE toNullable(toLowCardinality(100)) WITH TOTALS ORDER BY event_time ASC LIMIT 65535 ) AS id SELECT toFixedString('nested_alias', 12), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 382 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) WITH TOTALS ORDER BY event_time ASC LIMIT 65535 ) AS id SELECT toFixedString('nested_alias', 12), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 383 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT 'nested_alias', 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 384 out of 1000 WITH ( SELECT 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT 'nested_alias', 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log Got boring AST Fuzzing step 385 out of 1000 WITH ( SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT 'nested_alias', 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toLowCardinality(toNullable(toUInt128(12))), toUInt256(toLowCardinality(19)) Query succeeded, using this AST as a start Fuzzing step 386 out of 1000 WITH ( SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT 'nested_alias', 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toLowCardinality(toNullable(toUInt128(toUInt256(12)))), toUInt256(toLowCardinality(19)) Query succeeded, using this AST as a start Fuzzing step 387 out of 1000 WITH ( SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) WITH TOTALS ORDER BY event_time ASC LIMIT 255 ) AS id SELECT toFixedString('nested_alias', 12), 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toLowCardinality(toNullable(toUInt128(toUInt256(12)))), toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 388 out of 1000 WITH ( SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) GROUP BY toNullable(materialize(19)) WITH TOTALS ORDER BY event_time ASC LIMIT 255 ) AS id SELECT 'nested_alias', 12, 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toLowCardinality(toNullable(toUInt128(toUInt256(12)))), toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 389 out of 1000 WITH ( SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) GROUP BY toNullable(materialize(19)) WITH TOTALS ORDER BY event_time ASC LIMIT 255 ) AS id SELECT 'nested_alias', 12, 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toLowCardinality(toNullable(toUInt128(toUInt256(12)))), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 390 out of 1000 WITH ( SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) GROUP BY toNullable(materialize(19)) WITH TOTALS ORDER BY event_time ASC LIMIT 255 ) AS id SELECT 'nested_alias', toUInt128(12), 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toLowCardinality(toNullable(toUInt256(12))), 19 WITH ROLLUP Error on processing query 'WITH (SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) GROUP BY toNullable(materialize(19)) WITH TOTALS ORDER BY event_time ASC LIMIT 255) AS id SELECT 'nested_alias', toUInt128(12), 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toLowCardinality(toNullable(toUInt256(12))), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 5]. In scope WITH (SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) GROUP BY toNullable(materialize(19)) WITH TOTALS ORDER BY event_time ASC LIMIT 255) AS id SELECT 'nested_alias', toUInt128(12), 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toLowCardinality(toNullable(toUInt256(12))), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 391 out of 1000 WITH ( SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) GROUP BY toNullable(materialize(19)) WITH TOTALS ORDER BY event_time ASC LIMIT 255 ) AS id SELECT 'nested_alias', 12, 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toLowCardinality(toNullable(toUInt128(12))), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 392 out of 1000 WITH ( SELECT toLowCardinality('default_settings'), materialize(2147483647) FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) WITH TOTALS ORDER BY event_time DESC LIMIT -2 ) AS id SELECT 'nested_alias', 12, 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toLowCardinality(toNullable(toUInt128(12))), 19 WITH ROLLUP Error on processing query 'WITH (SELECT toLowCardinality('default_settings'), materialize(2147483647) FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) WITH TOTALS ORDER BY event_time DESC LIMIT -2) AS id SELECT 'nested_alias', 12, 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toLowCardinality(toNullable(toUInt128(12))), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 5]. In scope WITH (SELECT toLowCardinality('default_settings'), materialize(2147483647) FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) WITH TOTALS ORDER BY event_time DESC LIMIT -2) AS id SELECT 'nested_alias', 12, 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toLowCardinality(toNullable(toUInt128(12))), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 393 out of 1000 WITH ( SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) GROUP BY materialize(19) WITH TOTALS ORDER BY event_time ASC LIMIT 255 ) AS id SELECT 'nested_alias', 12, 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toLowCardinality(toNullable(materialize(toLowCardinality(19))), toNullable(12)), toLowCardinality(19) WITH ROLLUP Error on processing query 'WITH (SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) GROUP BY materialize(19) WITH TOTALS ORDER BY event_time ASC LIMIT 255) AS id SELECT 'nested_alias', 12, 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toLowCardinality(toNullable(materialize(toLowCardinality(19))), toNullable(12)), toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH (SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) GROUP BY materialize(19) WITH TOTALS ORDER BY event_time ASC LIMIT 255) AS id SELECT 'nested_alias', 12, 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toLowCardinality(toNullable(materialize(toLowCardinality(19))), toNullable(12)), toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 394 out of 1000 WITH ( SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) GROUP BY toNullable(materialize(19)) WITH TOTALS ORDER BY event_time ASC LIMIT 255 ) AS id SELECT 'nested_alias', 12, 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE test_nested_alias_idx__fuzz_15 GROUP BY toLowCardinality(toNullable(12)), toLowCardinality(19) WITH ROLLUP Error on processing query 'WITH (SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) GROUP BY toNullable(materialize(19)) WITH TOTALS ORDER BY event_time ASC LIMIT 255) AS id SELECT 'nested_alias', 12, 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE test_nested_alias_idx__fuzz_15 GROUP BY toLowCardinality(toNullable(12)), toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_15' in scope WITH (SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) GROUP BY toNullable(materialize(19)) WITH TOTALS ORDER BY event_time ASC LIMIT 255) AS id SELECT 'nested_alias', 12, 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE test_nested_alias_idx__fuzz_15 GROUP BY toLowCardinality(toNullable(12)), toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 395 out of 1000 WITH ( SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) GROUP BY toNullable(19) WITH TOTALS ORDER BY event_time DESC LIMIT 255 ) AS id SELECT 'nested_alias', 12, 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toLowCardinality(toNullable(toUInt128(12))), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 396 out of 1000 WITH ( SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(100)) GROUP BY toNullable(19) WITH TOTALS ORDER BY event_time DESC LIMIT 10 ) AS id SELECT 'nested_alias', 12, 12, 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toLowCardinality(toNullable(toUInt128(12))), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 WITH ( SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(test_alias_skip_idx__fuzz_14, 100)) GROUP BY toNullable(19) WITH TOTALS ORDER BY event_time DESC LIMIT 10 ) AS id SELECT 'nested_alias', 12, 12, toLowCardinality(toNullable(12)), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(toUInt128(12)), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 WITH ( SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(test_alias_skip_idx__fuzz_14, 100)) GROUP BY toNullable(19) WITH TOTALS ORDER BY event_time DESC LIMIT 10 ) AS id SELECT 'nested_alias', 12, 12, toLowCardinality(toNullable(12)), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 399 out of 1000 WITH ( SELECT toLowCardinality('default_settings'), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(test_alias_skip_idx__fuzz_14, toUInt128(100))) GROUP BY toNullable(19) WITH TOTALS ORDER BY event_time DESC LIMIT 10 ) AS id SELECT 'nested_alias', 12, 12, toLowCardinality(toNullable(12)), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 400 out of 1000 WITH ( SELECT toLowCardinality(toFixedString('default_settings', 16)), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)) GROUP BY toNullable(19) WITH TOTALS ORDER BY event_time DESC LIMIT 10 ) AS id SELECT 'nested_alias', 12, 12, toLowCardinality(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 401 out of 1000 WITH ( SELECT toLowCardinality('default_settings', 16), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)) GROUP BY toNullable(19) WITH TOTALS ORDER BY event_time DESC LIMIT 10 ) AS id SELECT 'nested_alias', 12, 12, toLowCardinality(toNullable(12)), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 402 out of 1000 WITH ( SELECT toLowCardinality('default_settings', 16), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)) WITH TOTALS ORDER BY event_time ASC LIMIT 10 ) AS id SELECT 'nested_alias', 12, 12, toLowCardinality(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 WITH ( SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)) WITH TOTALS ORDER BY event_time ASC LIMIT 9223372036854775807 ) AS id SELECT 'nested_alias', 12, 12, toLowCardinality(toUInt256(12)), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 404 out of 1000 WITH ( SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)) WITH TOTALS ORDER BY event_time ASC LIMIT 9223372036854775807 ) AS id SELECT 'nested_alias', 12, 12, toLowCardinality(toUInt256(12)), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 405 out of 1000 WITH ( SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)) WITH TOTALS ORDER BY event_time ASC LIMIT 2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), 19 WITH ROLLUP Error on processing query 'WITH (SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)) WITH TOTALS ORDER BY event_time ASC LIMIT 2147483648) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope WITH (SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)) WITH TOTALS ORDER BY event_time ASC LIMIT 2147483648) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 406 out of 1000 WITH ( SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)) WITH TOTALS ORDER BY event_time ASC LIMIT 9223372036854775807 ) AS id SELECT 'nested_alias', 12, 12, toLowCardinality(toUInt256(12)), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 407 out of 1000 WITH ( SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775807 ) AS id SELECT 'nested_alias', 12, 12, toLowCardinality(toUInt256(12)), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), 19 WITH ROLLUP Error on processing query 'WITH (SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775807) AS id SELECT 'nested_alias', 12, 12, toLowCardinality(toUInt256(12)), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 5]. In scope WITH (SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775807) AS id SELECT 'nested_alias', 12, 12, toLowCardinality(toUInt256(12)), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 408 out of 1000 WITH ( SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC LIMIT 9223372036854775807 ) AS id SELECT 'nested_alias', 12, 12, toUInt256(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 409 out of 1000 WITH ( SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC LIMIT 256 ) AS id SELECT 'nested_alias', 12, 12, toUInt256(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 WITH ( SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC LIMIT 256 ) AS id SELECT 'nested_alias', 12, 12, toUInt256(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 411 out of 1000 WITH ( SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time DESC LIMIT 256 ) AS id SELECT 'nested_alias', 12, 12, toUInt256(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY 12, toLowCardinality(19) WITH ROLLUP Error on processing query 'WITH (SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time DESC LIMIT 256) AS id SELECT 'nested_alias', 12, 12, toUInt256(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY 12, toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 5]. In scope WITH (SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time DESC LIMIT 256) AS id SELECT 'nested_alias', 12, 12, toUInt256(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY 12, toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 412 out of 1000 WITH ( SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 256 ) AS id SELECT 'nested_alias', 12, 12, toUInt256(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 413 out of 1000 WITH ( SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 256 ) AS id SELECT 'nested_alias', 12, 12, toUInt256(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 414 out of 1000 WITH ( SELECT toNullable('default_settings'), 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 256 ) AS id SELECT 'nested_alias', 12, 12, toUInt256(toLowCardinality(toNullable('merge_expressions=0')), 12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(toLowCardinality(19)) WITH ROLLUP Error on processing query 'WITH (SELECT toNullable('default_settings'), 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 256) AS id SELECT 'nested_alias', 12, 12, toUInt256(toLowCardinality(toNullable('merge_expressions=0')), 12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(toLowCardinality(19)) WITH ROLLUP': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt256'. Expected 1 argument, got 2 arguments: In scope WITH (SELECT toNullable('default_settings'), 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 256) AS id SELECT 'nested_alias', 12, 12, toUInt256(toLowCardinality(toNullable('merge_expressions=0')), 12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(toLowCardinality(19)) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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)::NameToUInt256, 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&) @ 0x00000000071719f8 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToUInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000716ba80 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 415 out of 1000 WITH ( SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 256 ) AS id SELECT 'nested_alias', 12, 12, toUInt256(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 416 out of 1000 WITH ( SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 256 ) AS id SELECT 'nested_alias', 12, 12, 12, uniqExact(toLowCardinality(toFixedString('merge_expressions=0', 19)), thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), 19 WITH ROLLUP Error on processing query 'WITH (SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 256) AS id SELECT 'nested_alias', 12, 12, 12, uniqExact(toLowCardinality(toFixedString('merge_expressions=0', 19)), thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 5]. In scope WITH (SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 256) AS id SELECT 'nested_alias', 12, 12, 12, uniqExact(toLowCardinality(toFixedString('merge_expressions=0', 19)), thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 417 out of 1000 WITH ( SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 256 ) AS id SELECT 'nested_alias', 12, 12, toUInt256(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 418 out of 1000 WITH ( SELECT 'default_settings', 16, toInt256(2147483647) FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 256 ) AS id SELECT 'nested_alias', 12, 12, toUInt256(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY 12, toLowCardinality(19) WITH ROLLUP Error on processing query 'WITH (SELECT 'default_settings', 16, toInt256(2147483647) FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 256) AS id SELECT 'nested_alias', 12, 12, toUInt256(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY 12, toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 5]. In scope WITH (SELECT 'default_settings', 16, toInt256(2147483647) FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 256) AS id SELECT 'nested_alias', 12, 12, toUInt256(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY 12, toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 419 out of 1000 WITH ( SELECT 'default_settings', 16, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 256 ) AS id SELECT 'nested_alias', 12, 12, toUInt256(toLowCardinality(12)), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 420 out of 1000 WITH ( SELECT 'default_settings', 16, a > 100, 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 256 ) AS id SELECT toNullable('nested_alias'), toUInt256(12), 12, toUInt256(toLowCardinality(materialize(toNullable(12)))), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 421 out of 1000 WITH ( SELECT 'default_settings', 16, greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, toLowCardinality(100)) WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 256 ) AS id SELECT toNullable('nested_alias'), toUInt256(12), toNullable(12), toUInt256(materialize(toNullable(12))), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 422 out of 1000 EXPLAIN PIPELINE compact = true WITH ( SELECT 'default_settings', toLowCardinality(16), greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, toLowCardinality(toNullable(100))) WITH TOTALS ORDER BY event_time DESC NULLS LAST LIMIT 256 ) AS id SELECT toNullable('nested_alias'), toUInt256(12), toNullable(12), toUInt256(toNullable(12)), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE compact = true WITH (SELECT 'default_settings', toLowCardinality(16), greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, toLowCardinality(toNullable(100))) WITH TOTALS ORDER BY event_time DESC NULLS LAST LIMIT 256) AS id SELECT toNullable('nested_alias'), toUInt256(12), toNullable(12), toUInt256(toNullable(12)), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 423 out of 1000 WITH ( SELECT materialize(toFixedString('default_settings', 16)), 16, greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, toLowCardinality(toLowCardinality('default_settings'), 100)) WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 256 ) AS id SELECT toNullable('nested_alias'), toUInt256(12), toNullable(12), toUInt256(materialize(toNullable(12))), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY 12, toLowCardinality(19) WITH ROLLUP Error on processing query 'WITH (SELECT materialize(toFixedString('default_settings', 16)), 16, greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, toLowCardinality(toLowCardinality('default_settings'), 100)) WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 256) AS id SELECT toNullable('nested_alias'), toUInt256(12), toNullable(12), toUInt256(materialize(toNullable(12))), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY 12, toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 5]. In scope WITH (SELECT materialize(toFixedString('default_settings', 16)), 16, greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, toLowCardinality(toLowCardinality('default_settings'), 100)) WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 256) AS id SELECT toNullable('nested_alias'), toUInt256(12), toNullable(12), toUInt256(materialize(toNullable(12))), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY 12, toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 424 out of 1000 WITH ( SELECT 'default_settings', 16, greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, toLowCardinality(100)) WITH TOTALS ORDER BY event_time DESC NULLS LAST LIMIT 256 ) AS id SELECT toNullable('nested_alias'), toUInt256(12), toNullable(12), toUInt256(toNullable(12)), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 425 out of 1000 WITH ( SELECT toNullable('default_settings'), 16, greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, toLowCardinality(100)) WITH TOTALS ORDER BY event_time DESC NULLS LAST LIMIT 256 ) AS id SELECT toNullable('nested_alias'), toUInt256(12), toNullable(12), toUInt256(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 426 out of 1000 WITH ( SELECT toNullable('default_settings'), 16, greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time DESC LIMIT 256 ) AS id SELECT toNullable('nested_alias'), toUInt256(12), toNullable(12), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 427 out of 1000 WITH ( SELECT toNullable('default_settings'), 16, greater(100), 2147483647 FROM system.query_log WITH TOTALS ORDER BY event_time DESC NULLS LAST LIMIT 2147483647 ) AS id SELECT 'nested_alias', toUInt256(12), toNullable(a > materialize(toUInt256(100)), 12), toNullable(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY 12, toLowCardinality(19) WITH ROLLUP Error on processing query 'WITH (SELECT toNullable('default_settings'), 16, greater(100), 2147483647 FROM system.query_log WITH TOTALS ORDER BY event_time DESC NULLS LAST LIMIT 2147483647) AS id SELECT 'nested_alias', toUInt256(12), toNullable(a > materialize(toUInt256(100)), 12), toNullable(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY 12, toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope WITH (SELECT toNullable('default_settings'), 16, greater(100), 2147483647 FROM system.query_log WITH TOTALS ORDER BY event_time DESC NULLS LAST LIMIT 2147483647) AS id SELECT 'nested_alias', toUInt256(12), toNullable(a > materialize(toUInt256(100)), 12), toNullable(12), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY 12, toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 428 out of 1000 WITH ( SELECT toNullable('default_settings'), 16, greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time DESC LIMIT 256 ) AS id SELECT toNullable('nested_alias'), toUInt256(12), toNullable(12), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 429 out of 1000 WITH ( SELECT toNullable('default_settings'), 16, greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time DESC NULLS LAST LIMIT 256 ) AS id SELECT toNullable('nested_alias'), toUInt256(12), toNullable(12), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY 12, toLowCardinality(19) WITH ROLLUP WITH TOTALS Error on processing query 'WITH (SELECT toNullable('default_settings'), 16, greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time DESC NULLS LAST LIMIT 256) AS id SELECT toNullable('nested_alias'), toUInt256(12), toNullable(12), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY 12, toLowCardinality(19) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 5]. In scope WITH (SELECT toNullable('default_settings'), 16, greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time DESC NULLS LAST LIMIT 256) AS id SELECT toNullable('nested_alias'), toUInt256(12), toNullable(12), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY 12, toLowCardinality(19) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 430 out of 1000 WITH ( SELECT toNullable('default_settings'), 16, greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time DESC LIMIT 256 ) AS id SELECT toNullable('nested_alias'), toUInt256(12), toNullable(12), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 431 out of 1000 WITH ( SELECT toNullable('default_settings'), 16, greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time DESC LIMIT 256 ) AS id SELECT toNullable('nested_alias'), toUInt256(12), toNullable(12), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(master_thread_id, 12), 19 WITH ROLLUP Error on processing query 'WITH (SELECT toNullable('default_settings'), 16, greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time DESC LIMIT 256) AS id SELECT toNullable('nested_alias'), toUInt256(12), toNullable(12), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(master_thread_id, 12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 5]. In scope WITH (SELECT toNullable('default_settings'), 16, greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time DESC LIMIT 256) AS id SELECT toNullable('nested_alias'), toUInt256(12), toNullable(12), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(master_thread_id, 12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 432 out of 1000 WITH ( SELECT toNullable('default_settings'), 16, greater(100), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time DESC NULLS FIRST LIMIT 256 ) AS id SELECT toNullable('nested_alias'), 12, toNullable(12), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 WITH ( SELECT toNullable('default_settings'), 16, greater(materialize(100)), 2147483647 FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time DESC NULLS FIRST LIMIT 256 ) AS id SELECT toNullable('nested_alias'), 12, toNullable(12), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(materialize(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 434 out of 1000 WITH ( SELECT toNullable('default_settings'), materialize(toLowCardinality(16)), 'default_settings' > materialize(100), toNullable(toInt128(2147483647)) FROM system.query_log WHERE toNullable(test_alias_skip_idx__fuzz_14, 100) WITH TOTALS ORDER BY event_time DESC NULLS FIRST LIMIT 256 ) AS id SELECT toNullable('nested_alias'), 12, toNullable(12), 12, uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log GROUP BY toNullable(12), toLowCardinality(materialize(19)) WITH ROLLUP Current AST is too long, discarding it and using the original AST as a start Fuzzing step 435 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 436 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) GROUP BY test_nested_alias_idx__fuzz_37, test_nested_alias_idx__fuzz_2 ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) GROUP BY test_nested_alias_idx__fuzz_37, test_nested_alias_idx__fuzz_2 ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_37' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) GROUP BY test_nested_alias_idx__fuzz_37, test_nested_alias_idx__fuzz_2 ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 10. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 437 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1048576) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1048576) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 438 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= minus(today())) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= minus(today())) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= minus(today())) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 439 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_47 WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_47 WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_47' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_47 WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 440 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND like(normalizeQuery(query)) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND like(normalizeQuery(query)) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function like doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND like(normalizeQuery(query)) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 441 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Current AST is too long, discarding it and using the original AST as a start Fuzzing step 442 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(current_database, test_nested_alias_idx__fuzz_30, currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(current_database, test_nested_alias_idx__fuzz_30, currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_30' in scope (SELECT query_id FROM system.query_log WHERE equals(current_database, test_nested_alias_idx__fuzz_30, currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 14. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 443 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toUInt256(toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND toNullable(-9223372036854775807) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toUInt256(toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND toNullable(-9223372036854775807) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toUInt256(toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 444 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 445 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;'))) AND greaterOrEquals(event_date, toLowCardinality(toNullable(1)), minus(today(), materialize(toUInt256(1)), 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;'))) AND greaterOrEquals(event_date, toLowCardinality(toNullable(1)), minus(today(), materialize(toUInt256(1)), 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;'))) AND greaterOrEquals(event_date, toLowCardinality(toNullable(1)), minus(today(), materialize(toUInt256(1)), 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 446 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 447 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(19)) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY toFixedString('enable_optimizations=0', 22) ASC, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(19)) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY toFixedString('enable_optimizations=0', 22) ASC, event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(19)) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY toFixedString('enable_optimizations=0', 22) ASC, event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 448 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND materialize(toUInt256(19)) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND materialize(toUInt256(19)) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Illegal type (UInt256) of 3 argument of function and: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND materialize(toUInt256(19)) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&, String&&) @ 0x000000000702fdab 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6262 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 14. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 449 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 450 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND like(normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND like(normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function like doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND like(normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 451 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 452 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 453 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 454 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 455 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 456 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 457 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (e. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 458 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 459 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (e. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 460 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 461 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 462 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 464 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toUInt128(materialize(toNullable(19))) ORDER BY event_time DESC NULLS FIRST LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE toUInt128(materialize(toNullable(19))) ORDER BY event_time DESC NULLS FIRST LIMIT -2147483649) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x0000000011057aee 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 465 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 466 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE greaterOrEquals(event_date, toNullable(100), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE greaterOrEquals(event_date, toNullable(100), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE greaterOrEquals(event_date, toNullable(100), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 467 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 468 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toLowCardinality(toNullable(toUInt128(12))) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toLowCardinality(toNullable(toUInt128(12))) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt128) of column 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a563d 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:537: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105449c 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 469 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 470 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 471 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 472 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 473 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 474 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 475 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 476 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 477 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 478 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 479 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 480 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 481 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 482 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 483 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 484 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 485 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 486 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 487 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 488 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 489 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 490 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 491 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 492 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) RESPECT NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 493 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 494 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 495 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 496 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 497 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 498 out of 1000 WITH ( SELECT 100, query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT -2 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT 100, query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT -2) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x0000000011057aee 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 499 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1023 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1023) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 22. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 23. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 500 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 501 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 502 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) RESPECT NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 503 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 504 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 2 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 2) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 505 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Query succeeded, using this AST as a start Fuzzing step 506 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 507 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 508 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 509 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 510 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 511 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 512 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 513 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 514 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 515 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 516 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 517 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 518 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 519 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 520 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 521 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 522 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 523 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 524 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 525 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 526 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 527 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 528 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 529 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 530 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 531 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 532 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 533 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 534 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 535 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 536 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 537 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 538 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 539 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 540 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 541 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 542 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 543 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE id ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE id ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'id' in scope (SELECT query_id FROM system.query_log PREWHERE id ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Maybe you meant: ['id']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 544 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 545 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 546 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 547 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 548 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 549 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 550 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 551 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 552 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 553 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 554 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 555 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 556 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 557 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 558 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 559 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 560 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 561 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 562 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 563 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 564 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 565 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 566 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 567 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 568 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 569 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 570 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 571 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 572 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 573 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 574 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 575 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 576 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 577 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 578 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 579 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 580 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 581 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 582 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 583 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 584 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 585 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 586 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 587 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 588 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 589 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 590 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 591 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 592 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 593 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 594 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 595 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 596 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 597 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 598 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 599 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 600 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 601 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 602 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 603 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 604 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 605 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 606 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 607 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 608 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 609 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 610 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 611 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 612 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 613 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 614 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 615 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) RESPECT NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) RESPECT NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 616 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 617 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 618 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 619 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 620 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 621 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 622 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 623 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 624 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 625 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 626 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 627 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 628 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 629 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 630 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 631 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 632 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 633 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 634 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 635 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 636 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 637 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 638 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 639 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 640 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 641 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 642 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 643 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 644 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 645 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 646 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 647 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 648 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 649 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 650 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 651 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 652 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 653 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 654 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 655 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 656 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 657 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 658 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 659 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 660 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 661 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 662 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 663 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 664 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 665 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 666 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 667 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 668 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 669 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 670 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 671 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 672 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 673 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 674 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 675 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 676 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 677 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 678 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 679 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 680 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 681 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 682 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 683 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 684 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 685 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 686 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 687 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 688 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 689 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 690 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 691 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 692 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 693 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 694 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 695 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 696 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 697 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 698 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 699 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 700 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 701 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 702 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 703 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 704 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 705 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 706 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 707 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 708 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 709 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 710 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 711 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 712 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 713 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 714 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 715 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 716 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 717 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 718 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 719 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 720 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 721 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 722 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 723 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 724 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 725 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 726 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 727 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 728 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 729 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 730 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 731 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 732 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 733 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 734 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 735 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 736 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 737 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 738 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 739 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 740 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 741 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 742 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 743 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 744 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 745 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 746 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 747 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 748 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 749 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 750 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 751 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 752 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 753 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 754 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 755 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 756 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(100, thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(100, thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 757 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 758 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 759 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 760 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 761 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 762 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 763 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 764 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 765 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 766 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 767 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 768 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 769 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 770 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 771 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 772 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 773 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 774 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 775 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 776 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 777 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 778 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 779 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 780 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 781 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 782 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 783 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 784 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 785 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 786 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 787 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE test_alias_skip_idx__fuzz_7 ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND test_nested_alias_idx__fuzz_32 AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE test_alias_skip_idx__fuzz_7 ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND test_nested_alias_idx__fuzz_32 AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_32' in scope WITH (SELECT query_id FROM system.query_log WHERE test_alias_skip_idx__fuzz_7 ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND test_nested_alias_idx__fuzz_32 AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 788 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 789 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 790 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 791 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 792 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 793 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 794 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 795 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 796 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 797 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 798 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 799 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 800 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 801 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT toNullable(toLowCardinality(toLowCardinality(100))), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT toNullable(toLowCardinality(toLowCardinality(100))), uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 802 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 803 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 804 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 805 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 806 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 807 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 808 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 809 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 810 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 811 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 812 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 813 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 814 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 815 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(toUInt256(1)))) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(toUInt256(1)))) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(toUInt256(1)))) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:195: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a91b 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 816 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 817 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 818 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 819 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 820 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 821 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 822 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 823 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 824 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 825 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 826 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 827 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 828 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 829 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 830 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 831 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 832 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 833 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 834 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 835 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 836 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 837 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 838 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22), materialize(materialize(toUInt256(100))), test_alias_skip_idx__fuzz_11, -9223372036854775807 ORDER BY event_time ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22), materialize(materialize(toUInt256(100))), test_alias_skip_idx__fuzz_11, -9223372036854775807 ORDER BY event_time ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Negative positional argument number -9223372036854775807 is out of bounds. Expected in range [-1, -1]. In scope (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22), materialize(materialize(toUInt256(100))), test_alias_skip_idx__fuzz_11, -9223372036854775807 ORDER BY event_time ASC LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, long&, unsigned long&&, String&&) @ 0x0000000011077d2b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011057631 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 9. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 839 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 840 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 841 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 842 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 843 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 844 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 845 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 846 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 847 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 848 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 849 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 850 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 851 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 852 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 853 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 854 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 855 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 856 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 857 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 858 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY test_alias_skip_idx__fuzz_13 ASC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY test_alias_skip_idx__fuzz_13 ASC, event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_13' in scope (SELECT query_id FROM system.query_log ORDER BY test_alias_skip_idx__fuzz_13 ASC, event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001106f696 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110464c6 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 9. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 859 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 860 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 861 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 862 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 863 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 864 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 865 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 866 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 867 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 868 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 869 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 870 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 871 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 872 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 873 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 874 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 875 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 876 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 877 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 878 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 879 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 880 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 881 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 882 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 883 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 884 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 885 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 886 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 887 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 888 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 889 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 890 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 891 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 892 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 893 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 894 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 895 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 896 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 897 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 898 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 899 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 900 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 901 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 902 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 903 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 904 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 905 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 906 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 907 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 908 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 909 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 910 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 911 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 912 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 913 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 914 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 915 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 916 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 917 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND notEquals(master_thread_id) GROUP BY toUInt256(12), 1, 256, a Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND notEquals(master_thread_id) GROUP BY toUInt256(12), 1, 256, a': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND notEquals(master_thread_id) GROUP BY toUInt256(12), 1, 256, a. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 918 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 919 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 920 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 921 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 922 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 923 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 924 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 925 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 926 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toLowCardinality(1) ORDER BY event_time ASC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE toUInt256(12) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toLowCardinality(1) ORDER BY event_time ASC NULLS LAST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE toUInt256(12) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log PREWHERE toLowCardinality(1) ORDER BY event_time ASC NULLS LAST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 927 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 928 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 929 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 930 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 931 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 932 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 933 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 934 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 935 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 936 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 937 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE toUInt128(toNullable(100)) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log PREWHERE toUInt128(toNullable(100)) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 938 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 939 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 940 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 941 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 942 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 943 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 944 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 945 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 946 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 947 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 948 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 949 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 950 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 951 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 952 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 953 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 954 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toLowCardinality(materialize(toNullable(12))) ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE toLowCardinality(materialize(toNullable(12))) ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log WHERE toLowCardinality(materialize(toNullable(12))) ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 955 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 956 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 957 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 958 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 959 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 960 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 961 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 962 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 963 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 964 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 965 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 966 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 967 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 968 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 969 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 970 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 971 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 972 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 973 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 974 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 975 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 976 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 977 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 978 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing (event_date >= (today() - 1)) AND (query_id = (__scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id)) AND notEquals(master_thread_id): While processing WITH __scalarSubqueryResult(_CAST('', 'Nullable(String)')) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c6d2d 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&) @ 0x00000000111cc963 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 979 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 980 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 981 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 982 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 983 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 984 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 985 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 986 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 987 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 988 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 989 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 990 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 991 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 992 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 993 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 994 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 995 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 996 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 997 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 998 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 999 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 WITH 1091 AS id SELECT sum(number) RESPECT NULLS FROM numbers(1000000) Error on processing query 'WITH 1091 AS id SELECT sum(number) RESPECT NULLS FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Function sum does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 2 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 3 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 4 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 5 out of 1000 EXPLAIN PIPELINE compact = true WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Error on processing query 'EXPLAIN PIPELINE compact = true WITH 1091 AS id SELECT sum(number) FROM numbers(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 6 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 7 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 8 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 9 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 10 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 11 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 12 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 13 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('1091'): 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 14 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 15 out of 1000 EXPLAIN PIPELINE compact = true WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) GROUP BY toLowCardinality(toNullable(toLowCardinality('merge_expressions=0'))) Error on processing query 'EXPLAIN PIPELINE compact = true WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) GROUP BY toLowCardinality(toNullable(toLowCardinality('merge_expressions=0')))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 16 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 17 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) WHERE 65535 Error on processing query 'WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) WHERE 65535': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 18 out of 1000 WITH 1091 AS id SELECT toNullable(toUInt128(toNullable(1091))), sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 19 out of 1000 WITH 1091 AS id SELECT toNullable(toUInt128(1091)), sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 20 out of 1000 WITH 1091 AS id SELECT toNullable(toUInt128(1091)), sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 21 out of 1000 EXPLAIN PIPELINE compact = true WITH 1091 AS id SELECT toNullable(toUInt128(1091)), sum(number) IGNORE NULLS FROM numbers(1000000) Error on processing query 'EXPLAIN PIPELINE compact = true WITH 1091 AS id SELECT toNullable(toUInt128(1091)), sum(number) IGNORE NULLS FROM numbers(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 22 out of 1000 WITH 1091 AS id SELECT toUInt256(100), toNullable(toUInt128(1091)), sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 23 out of 1000 WITH 1091 AS id SELECT toUInt256(100), toNullable(toUInt128(1091)), sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 24 out of 1000 WITH 1091 AS id SELECT toUInt256(100), toNullable(toUInt128(materialize(1091))), sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 25 out of 1000 WITH 1091 AS id SELECT toUInt256(toUInt256(toNullable(100)), 100), toNullable(toUInt128(materialize(1091))), sum(number) IGNORE NULLS FROM numbers(1000000) Error on processing query 'WITH 1091 AS id SELECT toUInt256(toUInt256(toNullable(100)), 100), toNullable(toUInt128(materialize(1091))), sum(number) IGNORE NULLS FROM numbers(1000000)': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt256'. Expected 1 argument, got 2 arguments: In scope WITH 1091 AS id SELECT toUInt256(toUInt256(toNullable(100)), 100), toNullable(toUInt128(materialize(1091))), sum(number) IGNORE NULLS FROM numbers(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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)::NameToUInt256, 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&) @ 0x00000000071719f8 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToUInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000716ba80 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 26 out of 1000 WITH 1091 AS id SELECT toUInt256(100), toNullable(toUInt128(1091)), sum(number) IGNORE NULLS FROM numbers(1000000) WHERE toUInt256(1091) Error on processing query 'WITH 1091 AS id SELECT toUInt256(100), toNullable(toUInt128(1091)), sum(number) IGNORE NULLS FROM numbers(1000000) WHERE toUInt256(1091)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 27 out of 1000 WITH 1091 AS id SELECT toUInt256(100), toNullable(toUInt128(materialize(1091))), sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 28 out of 1000 WITH 1091 AS id SELECT 100, toNullable(materialize(1091)), sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 29 out of 1000 WITH 1091 AS id SELECT 100, toNullable(materialize(materialize(1091))), sum(number) IGNORE NULLS FROM numbers(1000000) WHERE test_nested_alias_idx__fuzz_47 Error on processing query 'WITH 1091 AS id SELECT 100, toNullable(materialize(materialize(1091))), sum(number) IGNORE NULLS FROM numbers(1000000) WHERE test_nested_alias_idx__fuzz_47': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_47' in scope WITH 1091 AS id SELECT 100, toNullable(materialize(materialize(1091))), sum(number) IGNORE NULLS FROM numbers(1000000) WHERE test_nested_alias_idx__fuzz_47. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 30 out of 1000 WITH 1091 AS id SELECT 100, toNullable(materialize(1091)), sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 31 out of 1000 WITH 1091 AS id SELECT 100, toNullable(materialize(1091)), sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 32 out of 1000 WITH 1091 AS id SELECT 100, toNullable(materialize(1091)), sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 33 out of 1000 WITH 1091 AS id SELECT 100, toNullable(1091), sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 34 out of 1000 WITH 1091 AS id SELECT 100, 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 35 out of 1000 EXPLAIN AST graph = true, optimize = true WITH 1091 AS id SELECT 100, 1091, sum(number) IGNORE NULLS FROM numbers(materialize(1000000)) Error on processing query 'EXPLAIN AST graph = true, optimize = true WITH 1091 AS id SELECT 100, 1091, sum(number) IGNORE NULLS FROM numbers(materialize(1000000))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 36 out of 1000 WITH 1091 AS id SELECT 100, 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 37 out of 1000 WITH 1091 AS id SELECT 100, 1091, sum(test_nested_alias_idx__fuzz_12, number) IGNORE NULLS FROM numbers(1000000) Error on processing query 'WITH 1091 AS id SELECT 100, 1091, sum(test_nested_alias_idx__fuzz_12, number) IGNORE NULLS FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_12' in scope WITH 1091 AS id SELECT 100, 1091, sum(test_nested_alias_idx__fuzz_12, number) IGNORE NULLS FROM numbers(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 38 out of 1000 WITH 1091 AS id SELECT 100, 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 39 out of 1000 WITH 1091 AS id SELECT 100, 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 40 out of 1000 WITH 1091 AS id SELECT 100, 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 41 out of 1000 WITH 1091 AS id SELECT 100, 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 42 out of 1000 WITH 1091 AS id SELECT 100, 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 43 out of 1000 WITH 1091 AS id SELECT 100, 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 44 out of 1000 WITH 1091 AS id SELECT 100, 1091, sum(number) IGNORE NULLS FROM numbers(1000000) WHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH 1091 AS id SELECT 100, 1091, sum(number) IGNORE NULLS FROM numbers(1000000) WHERE (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query_id' in scope WITH 1091 AS id SELECT 100, 1091, sum(number) IGNORE NULLS FROM numbers(1000000) WHERE (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 45 out of 1000 WITH 1091 AS id SELECT 100, 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 46 out of 1000 WITH 1091 AS id SELECT 100, 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 47 out of 1000 WITH 1091 AS id SELECT 100, 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 48 out of 1000 WITH 1091 AS id SELECT 100, 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 49 out of 1000 WITH 1091 AS id SELECT 100, toLowCardinality('WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 50 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 51 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 52 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) RESPECT NULLS FROM numbers(1000000) Error on processing query 'WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) RESPECT NULLS FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Function sum does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 53 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 54 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 55 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 56 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 57 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) FROM numbers(1000000) GROUP BY toNullable(materialize(toLowCardinality(19))), uniqExact(thread_id) IGNORE NULLS, toUInt128(12), event_date >= (today() - 1) Error on processing query 'WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) FROM numbers(1000000) GROUP BY toNullable(materialize(toLowCardinality(19))), uniqExact(thread_id) IGNORE NULLS, toUInt128(12), event_date >= (today() - 1)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) FROM numbers(1000000) GROUP BY toNullable(materialize(toLowCardinality(19))), uniqExact(thread_id) IGNORE NULLS, toUInt128(12), event_date >= (today() - 1). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 58 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 59 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 60 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 61 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 62 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 63 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 64 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 65 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 66 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 67 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 68 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 69 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 70 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 71 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 72 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 73 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 74 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 75 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 76 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 77 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 78 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 79 out of 1000 WITH 1091 AS id SELECT toNullable(100), toNullable('WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 80 out of 1000 WITH 1091 AS id SELECT toNullable(100), toNullable('WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 81 out of 1000 WITH 1091 AS id SELECT toNullable(100), toNullable('WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 82 out of 1000 WITH 1091 AS id SELECT toNullable(100), toNullable('WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 83 out of 1000 WITH 1091 AS id SELECT toNullable(100), toNullable('WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 84 out of 1000 WITH 1091 AS id SELECT toNullable(100), toNullable('WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 85 out of 1000 WITH 1091 AS id SELECT 100, toNullable('WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 86 out of 1000 WITH 1091 AS id SELECT 100, toNullable(toLowCardinality(16), 'WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Error on processing query 'WITH 1091 AS id SELECT 100, toNullable(toLowCardinality(16), 'WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH 1091 AS id SELECT 100, toNullable(toLowCardinality(16), 'WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 87 out of 1000 WITH materialize(1091 AS id) SELECT 100, toNullable(materialize('WITH 01091 AS id SELECT 1;')), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 88 out of 1000 WITH materialize(1091 AS id) SELECT 100, materialize('WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 89 out of 1000 WITH materialize(1091 AS id) SELECT 100, materialize('WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 90 out of 1000 WITH materialize(1091 AS id) SELECT 100, materialize('WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 91 out of 1000 WITH materialize(1091 AS id) SELECT 100, materialize('WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 92 out of 1000 WITH materialize(1091 AS id) SELECT 100, materialize('WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 93 out of 1000 EXPLAIN QUERY TREE dump_passes = true, dump_ast = true, passes = true WITH 1091 AS id SELECT 100, materialize('WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Error on processing query 'EXPLAIN QUERY TREE dump_passes = true, dump_ast = true, passes = true WITH 1091 AS id SELECT 100, materialize('WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 94 out of 1000 WITH 1091 AS id SELECT 100, materialize('WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 95 out of 1000 WITH 1091 AS id SELECT 100, materialize('WITH 01091 AS id SELECT 1;'), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 96 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 97 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(toUInt256(1000000)) Error on processing query 'WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(toUInt256(1000000))': Received from localhost:9000. DB::Exception: Illegal type UInt256 expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027afa1 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 98 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 99 out of 1000 WITH toUInt256(1091) SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(toNullable(1000000)) PREWHERE toUInt128(100) Error on processing query 'WITH toUInt256(1091) SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(toNullable(1000000)) PREWHERE toUInt128(100)': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027afa1 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 100 out of 1000 EXPLAIN `header, description` = true, indexes = true WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Error on processing query 'EXPLAIN `header, description` = true, indexes = true WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 101 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true, compact = true WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true, compact = true WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 102 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 103 out of 1000 WITH 1091 AS id SELECT 100, materialize('WITH 01091 AS id SELECT 1;'), 1091, sum(number) RESPECT NULLS FROM numbers(1000000) Error on processing query 'WITH 1091 AS id SELECT 100, materialize('WITH 01091 AS id SELECT 1;'), 1091, sum(number) RESPECT NULLS FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Function sum does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 104 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 105 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 106 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 107 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 1091, sum(test_alias_skip_idx__fuzz_44, number) IGNORE NULLS FROM numbers(1000000) Error on processing query 'WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 1091, sum(test_alias_skip_idx__fuzz_44, number) IGNORE NULLS FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_44' in scope WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 1091, sum(test_alias_skip_idx__fuzz_44, number) IGNORE NULLS FROM numbers(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 108 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 109 out of 1000 EXPLAIN PIPELINE compact = true WITH 1091 AS id SELECT toLowCardinality(100), toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Error on processing query 'EXPLAIN PIPELINE compact = true WITH 1091 AS id SELECT toLowCardinality(100), toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 1091, sum(number) IGNORE NULLS FROM numbers(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 110 out of 1000 WITH 1091 AS id SELECT 100, toFixedString('WITH 01091 AS id SELECT 1;', 26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 111 out of 1000 WITH 1091 AS id SELECT 100, toFixedString('WITH 01091 AS id SELECT 1;', 26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 112 out of 1000 WITH 1091 AS id SELECT 100, toFixedString('WITH 01091 AS id SELECT 1;', 26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 113 out of 1000 WITH 1091 AS id SELECT 100, toFixedString('WITH 01091 AS id SELECT 1;', 26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 114 out of 1000 WITH 1091 AS id SELECT 100, toFixedString('WITH 01091 AS id SELECT 1;', 26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 115 out of 1000 WITH 1091 AS id SELECT 100, toFixedString('WITH 01091 AS id SELECT 1;', 26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 116 out of 1000 WITH 1091 AS id SELECT 100, toFixedString('WITH 01091 AS id SELECT 1;', 26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 117 out of 1000 WITH 1091 AS id SELECT 100, toFixedString('WITH 01091 AS id SELECT 1;', 26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 118 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 119 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091, sum(number) RESPECT NULLS FROM numbers(1000000) Error on processing query 'WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091, sum(number) RESPECT NULLS FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Function sum does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 120 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 121 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 122 out of 1000 WITH 1091 AS id SELECT materialize(100), 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 123 out of 1000 WITH 1091 AS id SELECT materialize(100), 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 124 out of 1000 WITH 1091 AS id SELECT materialize(100), 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 125 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 126 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 127 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 128 out of 1000 WITH toLowCardinality(1091 AS id) SELECT 100, 'WITH 01091 AS id SELECT 1;', toNullable(26), toLowCardinality(1091), sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 129 out of 1000 WITH toLowCardinality(1091 AS id) SELECT 100, 'WITH 01091 AS id SELECT 1;', toNullable(26), toLowCardinality(1091), sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 130 out of 1000 WITH 1091 AS id SELECT toUInt256(100), 'WITH 01091 AS id SELECT 1;', toNullable(26), toLowCardinality(toNullable(toNullable(toLowCardinality(1), 1091)), 1091), sum(number) IGNORE NULLS FROM numbers(1000000) Error on processing query 'WITH 1091 AS id SELECT toUInt256(100), 'WITH 01091 AS id SELECT 1;', toNullable(26), toLowCardinality(toNullable(toNullable(toLowCardinality(1), 1091)), 1091), sum(number) IGNORE NULLS FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH 1091 AS id SELECT toUInt256(100), 'WITH 01091 AS id SELECT 1;', toNullable(26), toLowCardinality(toNullable(toNullable(toLowCardinality(1), 1091)), 1091), sum(number) IGNORE NULLS FROM numbers(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 131 out of 1000 WITH toLowCardinality(1091 AS id) SELECT 100, 'WITH 01091 AS id SELECT 1;', toNullable(26), toLowCardinality(1091), sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 132 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 133 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toNullable(materialize(26)), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 134 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toNullable(materialize(26)), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 135 out of 1000 WITH 1091 AS id SELECT toNullable(toUInt256(100)), 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 136 out of 1000 WITH 1091 AS id SELECT toNullable(toUInt256(100)), 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091, sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 137 out of 1000 WITH 1091 AS id SELECT toUInt256(100), 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 138 out of 1000 WITH 1091 AS id SELECT toUInt256(100), 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091 FROM numbers(1000000) Got boring AST Fuzzing step 139 out of 1000 WITH 1091 AS id SELECT toUInt256(100), 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091 FROM numbers(1000000) Got boring AST Fuzzing step 140 out of 1000 WITH 1091 AS id SELECT toUInt256(100), 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091 FROM numbers(1000000) Got boring AST Fuzzing step 141 out of 1000 WITH 1091 AS id SELECT toUInt256(100), 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091 FROM numbers(1000000) Got boring AST Fuzzing step 142 out of 1000 WITH 1091 AS id SELECT toUInt256(100), 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091 FROM numbers(1000000) Got boring AST Fuzzing step 143 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091 FROM numbers(1000000) GROUP BY toLowCardinality(materialize(materialize(toLowCardinality(12)))), 9223372036854775807 Error on processing query 'WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091 FROM numbers(1000000) GROUP BY toLowCardinality(materialize(materialize(toLowCardinality(12)))), 9223372036854775807': Received from localhost:9000. DB::Exception: Positional argument number 9223372036854775807 is out of bounds. Expected in range [1, 4]. In scope WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091 FROM numbers(1000000) GROUP BY toLowCardinality(materialize(materialize(toLowCardinality(12)))), 9223372036854775807. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 144 out of 1000 WITH 1091 AS id SELECT toUInt256(100), 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091 FROM numbers(materialize(toUInt256(1000000))) Error on processing query 'WITH 1091 AS id SELECT toUInt256(100), 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091 FROM numbers(materialize(toUInt256(1000000)))': Received from localhost:9000. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): materialize(_CAST('1000000', 'UInt256')). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000703ad2b 4. /build/src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903a10 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 6. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027ad2d 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 8. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 9. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 145 out of 1000 WITH 1091 AS id SELECT toUInt256(100), 'WITH 01091 AS id SELECT 1;', toNullable(26), 1091 FROM numbers(1000000) Got boring AST Fuzzing step 146 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 147 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 148 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 149 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 150 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 151 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 152 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 153 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 154 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 155 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 156 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091 FROM numbers(toNullable(1000000)) Error on processing query 'WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091 FROM numbers(toNullable(1000000))': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027afa1 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 157 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 158 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 159 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 160 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 161 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 162 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', materialize(toLowCardinality(26)), 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 163 out of 1000 EXPLAIN PIPELINE header = true WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', materialize(toLowCardinality(26)), 1091 FROM numbers(1000000) Error on processing query 'EXPLAIN PIPELINE header = true WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', materialize(toLowCardinality(26)), 1091 FROM numbers(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 164 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', materialize(toLowCardinality(26)), 1091 FROM numbers(1000000) Got boring AST Fuzzing step 165 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', materialize(toLowCardinality(26)), 1091 FROM numbers(1000000) Got boring AST Fuzzing step 166 out of 1000 WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), materialize(toLowCardinality(26)), 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 167 out of 1000 WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 168 out of 1000 WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000) Got boring AST Fuzzing step 169 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 170 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('1091'): 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 171 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000) Got boring AST Fuzzing step 172 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000) Got boring AST Fuzzing step 173 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('1091'): 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 174 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('1091'): 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 175 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('1091'): 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 176 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 177 out of 1000 WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 178 out of 1000 WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 1091 FROM numbers(1000000) Got boring AST Fuzzing step 179 out of 1000 WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', toUInt256(26))), 26, 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 180 out of 1000 WITH 1091 AS id SELECT 100, toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)), 26, 1091 FROM numbers(1000000) Error on processing query 'WITH 1091 AS id SELECT 100, toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)), 26, 1091 FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH 1091 AS id SELECT 100, toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)), 26, 1091 FROM numbers(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 181 out of 1000 WITH 1091 AS id SELECT 100, toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)), 26, 1091 FROM numbers(test_alias_skip_idx__fuzz_22, 1000000) Error on processing query 'WITH 1091 AS id SELECT 100, toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)), 26, 1091 FROM numbers(test_alias_skip_idx__fuzz_22, 1000000)': Received from localhost:9000. DB::Exception: Missing columns: 'test_alias_skip_idx__fuzz_22' while processing query: 'test_alias_skip_idx__fuzz_22', required columns: 'test_alias_skip_idx__fuzz_22' 'test_alias_skip_idx__fuzz_22'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 4. /build/src/Interpreters/TreeRewriter.cpp:1544: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x0000000011899335 5. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903331 6. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 7. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027ad2d 8. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a76f 9. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 10. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 182 out of 1000 WITH 1091 AS id SELECT 100, toFixedString('WITH 01091 AS id SELECT 1;', toUInt256(26)), 26, 1091 FROM numbers(1000000) PREWHERE toUInt256(19) Error on processing query 'WITH 1091 AS id SELECT 100, toFixedString('WITH 01091 AS id SELECT 1;', toUInt256(26)), 26, 1091 FROM numbers(1000000) PREWHERE toUInt256(19)': Received from localhost:9000. DB::Exception: Table function storage SystemNumbers (table _table_function.numbers) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b1dc0 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 183 out of 1000 WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', toUInt256(26))), 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 184 out of 1000 WITH 1091 AS id SELECT 100, toNullable(toFixedString('WITH 01091 AS id SELECT 1;', toUInt256(26))), 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 185 out of 1000 WITH 1091 AS id SELECT toNullable(100), toNullable(toFixedString('WITH 01091 AS id SELECT 1;', toUInt256(26))), 26, 1091 FROM numbers(1000000) WHERE test_nested_alias_idx__fuzz_7 Error on processing query 'WITH 1091 AS id SELECT toNullable(100), toNullable(toFixedString('WITH 01091 AS id SELECT 1;', toUInt256(26))), 26, 1091 FROM numbers(1000000) WHERE test_nested_alias_idx__fuzz_7': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_7' in scope WITH 1091 AS id SELECT toNullable(100), toNullable(toFixedString('WITH 01091 AS id SELECT 1;', toUInt256(26))), 26, 1091 FROM numbers(1000000) WHERE test_nested_alias_idx__fuzz_7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 186 out of 1000 WITH 1091 AS id SELECT 100, toFixedString('WITH 01091 AS id SELECT 1;', toUInt256(26)), 26, 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 187 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toUInt256(26), 26, 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 188 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toUInt256(26), 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 189 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toUInt256(26), 26, 1091 FROM numbers(1000000) WHERE number AND (thread_id != master_thread_id) Error on processing query 'WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toUInt256(26), 26, 1091 FROM numbers(1000000) WHERE number AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toUInt256(26), 26, 1091 FROM numbers(1000000) WHERE number AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 190 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toUInt256(26), 26, 1091 FROM numbers(toLowCardinality(1000000)) Error on processing query 'WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toUInt256(26), 26, 1091 FROM numbers(toLowCardinality(1000000))': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt32) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027afa1 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 191 out of 1000 WITH 1091 AS id SELECT 100, 'WITH 01091 AS id SELECT 1;', toUInt256(26), 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 192 out of 1000 WITH 1091 AS id SELECT toUInt256(100), 'WITH 01091 AS id SELECT 1;', toUInt256(26), 26, 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 193 out of 1000 WITH 1091 AS id SELECT toUInt256(100), 'WITH 01091 AS id SELECT 1;', toUInt256(26), 26, toUInt256(1091) FROM numbers(1000000) GROUP BY materialize(22), master_thread_id, toLowCardinality(toLowCardinality(toNullable(100))) Error on processing query 'WITH 1091 AS id SELECT toUInt256(100), 'WITH 01091 AS id SELECT 1;', toUInt256(26), 26, toUInt256(1091) FROM numbers(1000000) GROUP BY materialize(22), master_thread_id, toLowCardinality(toLowCardinality(toNullable(100)))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'master_thread_id' in scope WITH 1091 AS id SELECT toUInt256(100), 'WITH 01091 AS id SELECT 1;', toUInt256(26), 26, toUInt256(1091) FROM numbers(1000000) GROUP BY materialize(22), master_thread_id, toLowCardinality(toLowCardinality(toNullable(100))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 194 out of 1000 WITH 1091 AS id SELECT toUInt256(100), 'WITH 01091 AS id SELECT 1;', toUInt256(26), 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 195 out of 1000 WITH 1091 AS id SELECT 100, toLowCardinality('WITH 01091 AS id SELECT 1;'), toUInt256(26), 26, 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 WITH 1091 AS id SELECT 100, toLowCardinality('WITH 01091 AS id SELECT 1;'), toUInt256(26), 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 197 out of 1000 WITH 1091 AS id SELECT 100, toLowCardinality('WITH 01091 AS id SELECT 1;'), toUInt256(toNullable(26)), 26, 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 198 out of 1000 WITH 1091 AS id SELECT 100, toLowCardinality('WITH 01091 AS id SELECT 1;'), toUInt256(toNullable(26)), 26, 1091 FROM numbers(1000000) PREWHERE toNullable(toLowCardinality(toNullable(1091))) Error on processing query 'WITH 1091 AS id SELECT 100, toLowCardinality('WITH 01091 AS id SELECT 1;'), toUInt256(toNullable(26)), 26, 1091 FROM numbers(1000000) PREWHERE toNullable(toLowCardinality(toNullable(1091)))': Received from localhost:9000. DB::Exception: Table function storage SystemNumbers (table _table_function.numbers) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b1dc0 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 199 out of 1000 WITH 1091 AS id SELECT 100, toLowCardinality(id, 'WITH 01091 AS id SELECT 1;'), toUInt256(toNullable(26)), 26, 1091 FROM numbers(1000000) Error on processing query 'WITH 1091 AS id SELECT 100, toLowCardinality(id, 'WITH 01091 AS id SELECT 1;'), toUInt256(toNullable(26)), 26, 1091 FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH 1091 AS id SELECT 100, toLowCardinality(id, 'WITH 01091 AS id SELECT 1;'), toUInt256(toNullable(26)), 26, 1091 FROM numbers(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 200 out of 1000 WITH toNullable(1091 AS id) SELECT 100, toLowCardinality('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 201 out of 1000 EXPLAIN optimize = true, json = true WITH 1091 AS id SELECT 100, toLowCardinality('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 1091 FROM numbers(1000000) Error on processing query 'EXPLAIN optimize = true, json = true WITH 1091 AS id SELECT 100, toLowCardinality('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 1091 FROM numbers(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 202 out of 1000 WITH toNullable(1091 AS id) SELECT 100, toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 203 out of 1000 WITH toNullable(1091 AS id) SELECT 100, toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 204 out of 1000 WITH toNullable(1091 AS id) SELECT 100, toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 205 out of 1000 WITH toNullable(1091 AS id) SELECT 100, toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 206 out of 1000 WITH toNullable(1091 AS id) SELECT 100, toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 207 out of 1000 WITH toNullable(1091 AS id) SELECT 100, toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 208 out of 1000 WITH toNullable(1091 AS id) SELECT 100, 'WITH 01091 AS id SELECT 1;', 26, 26, 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 209 out of 1000 WITH toNullable(1091 AS id) SELECT 100, toNullable('WITH 01091 AS id SELECT 1;'), 26, 26, 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 210 out of 1000 WITH toNullable(1091 AS id) SELECT 100, toNullable('WITH 01091 AS id SELECT 1;'), 26, 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 211 out of 1000 WITH 1091 AS id SELECT 100, toNullable('WITH 01091 AS id SELECT 1;'), 26, 26, 1091 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 212 out of 1000 WITH 1091 AS id SELECT 100, toNullable('WITH 01091 AS id SELECT 1;'), 26, 26, 1091 FROM numbers(1000000) Got boring AST Fuzzing step 213 out of 1000 WITH 1091 AS id SELECT 100, toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 214 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 215 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 216 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 217 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 218 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 219 out of 1000 EXPLAIN WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 220 out of 1000 EXPLAIN WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 221 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 222 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 223 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('1091'): 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 224 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 225 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 226 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 227 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 228 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('1091'): 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 229 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 230 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 231 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 232 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 233 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(materialize(1000000)) Error on processing query 'WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(materialize(1000000))': Received from localhost:9000. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): materialize(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000703ad2b 4. /build/src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903a10 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 6. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027ad2d 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 8. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 9. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 234 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 235 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 236 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 237 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), toNullable(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26 FROM numbers(materialize(toNullable(1000000))) Error on processing query 'WITH 1091 AS id SELECT toLowCardinality(100), toNullable(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26 FROM numbers(materialize(toNullable(1000000)))': Received from localhost:9000. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): materialize(_CAST(1000000, 'Nullable(UInt32)')). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000703ad2b 4. /build/src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903a10 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 6. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027ad2d 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 8. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 9. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 238 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 239 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 240 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) GROUP BY c, test_nested_alias_idx__fuzz_7, currentDatabase(), event_time Error on processing query 'WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) GROUP BY c, test_nested_alias_idx__fuzz_7, currentDatabase(), event_time': Received from localhost:9000. DB::Exception: Unknown expression identifier 'c' in scope WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) GROUP BY c, test_nested_alias_idx__fuzz_7, currentDatabase(), event_time. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 241 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 242 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), toNullable('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 243 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 244 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 245 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 246 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 247 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 248 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 249 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 250 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 251 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 252 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 253 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 254 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 255 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 256 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 257 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 258 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 259 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 261 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('1091'): 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 262 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 263 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 264 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 265 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 266 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 267 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 268 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 269 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 270 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 271 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 272 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('1091'): 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 273 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('1091'): 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 274 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 275 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 276 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('1091'): 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 277 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 278 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 279 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 280 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 281 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 282 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('1091'): 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 283 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 284 out of 1000 EXPLAIN WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 285 out of 1000 EXPLAIN WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 286 out of 1000 EXPLAIN WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 287 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 288 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('1091'): 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 289 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 290 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 291 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 292 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 293 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 294 out of 1000 WITH toLowCardinality(1091 AS id) SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 295 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 WITH 1091 AS id SELECT toLowCardinality(materialize(100)), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 WITH 1091 AS id SELECT toLowCardinality(materialize(100)), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 298 out of 1000 WITH 1091 AS id SELECT toLowCardinality(materialize(100)), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 299 out of 1000 WITH 1091 AS id SELECT toLowCardinality(materialize(100)), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 300 out of 1000 WITH 1091 AS id SELECT toLowCardinality(materialize(100)), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 301 out of 1000 WITH 1091 AS id SELECT toLowCardinality(materialize(100)), 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 302 out of 1000 WITH 1091 AS id SELECT toLowCardinality(materialize(100)), toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, toLowCardinality(26) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 303 out of 1000 WITH 1091 AS id SELECT toLowCardinality(materialize(100)), toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, toLowCardinality(26) FROM numbers(1000000) Got boring AST Fuzzing step 304 out of 1000 WITH 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 305 out of 1000 WITH 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 306 out of 1000 WITH 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(22) Query succeeded, using this AST as a start Fuzzing step 307 out of 1000 WITH 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, toLowCardinality(26) FROM numbers(toLowCardinality(toNullable(1000000))) WHERE toLowCardinality(22) Error on processing query 'WITH 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, toLowCardinality(26) FROM numbers(toLowCardinality(toNullable(1000000))) WHERE toLowCardinality(22)': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(Nullable(UInt32)) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027afa1 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 308 out of 1000 WITH 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) WHERE toLowCardinality(22) Query succeeded, using this AST as a start Fuzzing step 309 out of 1000 WITH 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 310 out of 1000 WITH 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 311 out of 1000 WITH 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 312 out of 1000 WITH 1091 AS id SELECT toLowCardinality(a > materialize(100), 'WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Error on processing query 'WITH 1091 AS id SELECT toLowCardinality(a > materialize(100), 'WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope WITH 1091 AS id SELECT toLowCardinality(a > materialize(100), 'WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 313 out of 1000 WITH 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 314 out of 1000 WITH 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 315 out of 1000 WITH 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 316 out of 1000 WITH 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 317 out of 1000 WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 318 out of 1000 WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 319 out of 1000 WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 320 out of 1000 WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 321 out of 1000 EXPLAIN json = true WITH materialize(toNullable(toUInt128(1091))) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Error on processing query 'EXPLAIN json = true WITH materialize(toNullable(toUInt128(1091))) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 322 out of 1000 WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 323 out of 1000 WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 324 out of 1000 WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) Got boring AST Fuzzing step 325 out of 1000 WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 326 out of 1000 WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 327 out of 1000 WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 328 out of 1000 EXPLAIN PIPELINE compact = true WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'EXPLAIN PIPELINE compact = true WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 329 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 330 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 331 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 332 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 333 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 334 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 335 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 336 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 337 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 338 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('1091'): 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 339 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 340 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 341 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 342 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 343 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 344 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 345 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 346 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 347 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 348 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 349 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 350 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 351 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 352 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 353 out of 1000 EXPLAIN WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 355 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 356 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 357 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 358 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 359 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('1091'): 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 360 out of 1000 EXPLAIN WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 361 out of 1000 EXPLAIN WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 362 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 363 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 364 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('1091'): 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 365 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 366 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 367 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('1091'): 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 368 out of 1000 EXPLAIN WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 369 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('1091'): 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 370 out of 1000 EXPLAIN WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 371 out of 1000 EXPLAIN WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 372 out of 1000 EXPLAIN WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 373 out of 1000 EXPLAIN WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 374 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('1091'): 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 377 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 379 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 380 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 381 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 382 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('1091'): 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 383 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('1091'): 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 384 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 385 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 386 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 387 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 388 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 389 out of 1000 EXPLAIN WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 390 out of 1000 EXPLAIN WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 391 out of 1000 EXPLAIN WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 392 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 394 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 395 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 396 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 399 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 400 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 401 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 402 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 403 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 404 out of 1000 WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 405 out of 1000 WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 406 out of 1000 WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(toNullable(toUInt128(toLowCardinality(toNullable(1091)))), 22) Error on processing query 'WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(toNullable(toUInt128(toLowCardinality(toNullable(1091)))), 22)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(toNullable(toUInt128(toLowCardinality(toNullable(1091)))), 22). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 407 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 408 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 409 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 410 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 411 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 412 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('1091'): 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 413 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 414 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 415 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 416 out of 1000 WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 417 out of 1000 WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 418 out of 1000 WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 419 out of 1000 WITH toLowCardinality(1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 420 out of 1000 WITH toLowCardinality(1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 421 out of 1000 WITH toLowCardinality(1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 422 out of 1000 WITH toLowCardinality(1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 423 out of 1000 WITH toLowCardinality(1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) PREWHERE toNullable(22) WHERE toNullable(22) Error on processing query 'WITH toLowCardinality(1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) PREWHERE toNullable(22) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Table function storage SystemNumbers (table _table_function.numbers) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b1dc0 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 424 out of 1000 WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(uniqExact(thread_id) IGNORE NULLS, 22) Error on processing query 'WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(uniqExact(thread_id) IGNORE NULLS, 22)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope WITH 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(uniqExact(thread_id) IGNORE NULLS, 22). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 425 out of 1000 WITH toLowCardinality(1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 426 out of 1000 WITH toLowCardinality(toNullable(materialize(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 427 out of 1000 WITH toLowCardinality(toNullable(materialize(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 428 out of 1000 WITH toLowCardinality(toNullable(materialize(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 429 out of 1000 WITH toLowCardinality(toNullable(materialize(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(toNullable(1000000)) WHERE toNullable(toLowCardinality(toNullable(toLowCardinality(1), 1091)), 22) Error on processing query 'WITH toLowCardinality(toNullable(materialize(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(toNullable(1000000)) WHERE toNullable(toLowCardinality(toNullable(toLowCardinality(1), 1091)), 22)': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027afa1 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 430 out of 1000 WITH toLowCardinality(materialize(19), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 431 out of 1000 WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 432 out of 1000 EXPLAIN PIPELINE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 EXPLAIN AST WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 434 out of 1000 EXPLAIN AST WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 435 out of 1000 EXPLAIN AST WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 436 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 437 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 438 out of 1000 EXPLAIN QUERY TREE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 439 out of 1000 EXPLAIN WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 440 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 441 out of 1000 EXPLAIN WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 442 out of 1000 EXPLAIN WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 443 out of 1000 EXPLAIN WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 444 out of 1000 EXPLAIN WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 445 out of 1000 EXPLAIN WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 446 out of 1000 EXPLAIN WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 447 out of 1000 EXPLAIN WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 448 out of 1000 EXPLAIN CURRENT TRANSACTION WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('toLowCardinality'): toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 449 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 450 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 451 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 452 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 453 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 454 out of 1000 EXPLAIN WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 455 out of 1000 EXPLAIN WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 456 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 457 out of 1000 EXPLAIN AST WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 458 out of 1000 EXPLAIN CURRENT TRANSACTION WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('toLowCardinality'): toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 459 out of 1000 EXPLAIN QUERY TREE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 460 out of 1000 EXPLAIN QUERY TREE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 461 out of 1000 EXPLAIN TABLE OVERRIDE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('toLowCardinality'): toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 462 out of 1000 WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26 FROM numbers(1000000) WHERE toNullable(test_alias_skip_idx__fuzz_11, 22) Error on processing query 'WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26 FROM numbers(1000000) WHERE toNullable(test_alias_skip_idx__fuzz_11, 22)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_11' in scope WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26 FROM numbers(1000000) WHERE toNullable(test_alias_skip_idx__fuzz_11, 22). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 463 out of 1000 EXPLAIN QUERY TREE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 464 out of 1000 EXPLAIN QUERY TREE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 465 out of 1000 EXPLAIN QUERY TREE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 466 out of 1000 EXPLAIN PIPELINE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 467 out of 1000 EXPLAIN AST WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 468 out of 1000 EXPLAIN AST WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 469 out of 1000 EXPLAIN AST WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 470 out of 1000 EXPLAIN AST WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 471 out of 1000 EXPLAIN AST WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 472 out of 1000 EXPLAIN AST WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 473 out of 1000 EXPLAIN AST WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 474 out of 1000 EXPLAIN QUERY TREE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 475 out of 1000 EXPLAIN TABLE OVERRIDE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('toLowCardinality'): toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 476 out of 1000 EXPLAIN WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 477 out of 1000 EXPLAIN PIPELINE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 478 out of 1000 EXPLAIN PIPELINE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 479 out of 1000 EXPLAIN PIPELINE WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 480 out of 1000 WITH toLowCardinality(materialize(toNullable(19)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 481 out of 1000 WITH materialize(toNullable(19)), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 482 out of 1000 WITH materialize(toNullable(19)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 483 out of 1000 WITH materialize(toNullable(19)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26), 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 484 out of 1000 WITH materialize(toNullable(19)), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 485 out of 1000 WITH materialize(toNullable(19)), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 486 out of 1000 WITH toNullable(19), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 WITH toNullable(toUInt256(19)), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 WITH toUInt256(19), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 489 out of 1000 WITH toUInt256(19), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 490 out of 1000 WITH toUInt256(19), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 491 out of 1000 WITH toUInt256(19), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 492 out of 1000 WITH 19, toLowCardinality(toNullable(1091 AS id)) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 493 out of 1000 WITH 19, toLowCardinality(toNullable(1091 AS id)) SELECT toFixedString('WITH 01091 AS id SELECT 1;', 26), 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 494 out of 1000 WITH 19, toLowCardinality(toNullable(1091 AS id)) SELECT toFixedString('WITH 01091 AS id SELECT 1;', 26), 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 495 out of 1000 WITH 19, toLowCardinality(toNullable(1091 AS id)) SELECT toFixedString(materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26), 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 496 out of 1000 WITH 19, toNullable(1091 AS id) SELECT toFixedString(materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26), 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 497 out of 1000 EXPLAIN PIPELINE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 498 out of 1000 EXPLAIN WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 499 out of 1000 EXPLAIN WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 500 out of 1000 EXPLAIN WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 501 out of 1000 EXPLAIN AST WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 502 out of 1000 EXPLAIN AST WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 503 out of 1000 EXPLAIN AST WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 504 out of 1000 EXPLAIN SYNTAX WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 505 out of 1000 EXPLAIN ESTIMATE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 506 out of 1000 EXPLAIN ESTIMATE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 507 out of 1000 EXPLAIN ESTIMATE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 508 out of 1000 EXPLAIN ESTIMATE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 509 out of 1000 EXPLAIN AST WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 510 out of 1000 EXPLAIN ESTIMATE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 511 out of 1000 EXPLAIN ESTIMATE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 512 out of 1000 EXPLAIN ESTIMATE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 513 out of 1000 EXPLAIN ESTIMATE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 514 out of 1000 EXPLAIN QUERY TREE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 515 out of 1000 EXPLAIN QUERY TREE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 516 out of 1000 EXPLAIN WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 517 out of 1000 EXPLAIN SYNTAX WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 518 out of 1000 EXPLAIN SYNTAX WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 519 out of 1000 EXPLAIN SYNTAX WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 520 out of 1000 EXPLAIN TABLE OVERRIDE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('19'): 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 521 out of 1000 EXPLAIN WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 522 out of 1000 EXPLAIN WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 523 out of 1000 EXPLAIN WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 524 out of 1000 EXPLAIN WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 525 out of 1000 EXPLAIN WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 526 out of 1000 EXPLAIN WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 527 out of 1000 EXPLAIN WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 528 out of 1000 EXPLAIN WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 529 out of 1000 EXPLAIN SYNTAX WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 530 out of 1000 EXPLAIN WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 531 out of 1000 EXPLAIN TABLE OVERRIDE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('19'): 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 532 out of 1000 EXPLAIN ESTIMATE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 533 out of 1000 EXPLAIN AST WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 EXPLAIN WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 535 out of 1000 EXPLAIN PIPELINE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 536 out of 1000 EXPLAIN PIPELINE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 537 out of 1000 EXPLAIN QUERY TREE WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 538 out of 1000 EXPLAIN SYNTAX WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 539 out of 1000 EXPLAIN SYNTAX WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 540 out of 1000 EXPLAIN SYNTAX WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 541 out of 1000 EXPLAIN SYNTAX WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 542 out of 1000 WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 543 out of 1000 WITH 19, toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 544 out of 1000 WITH toUInt128(19), toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 545 out of 1000 WITH toUInt128(19), toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 546 out of 1000 WITH toUInt128(19), toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, toLowCardinality(26) FROM numbers(1000000) PREWHERE greaterOrEquals(event_date) WHERE toNullable(22) Error on processing query 'WITH toUInt128(19), toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, toLowCardinality(26) FROM numbers(1000000) PREWHERE greaterOrEquals(event_date) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'event_date' in scope WITH toUInt128(19), toNullable(1091 AS id) SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26, 26, toLowCardinality(26) FROM numbers(1000000) PREWHERE greaterOrEquals(event_date) WHERE toNullable(22). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 547 out of 1000 WITH toUInt128(19), toNullable(1091 AS id) SELECT materialize('WITH 01091 AS id SELECT 1;'), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 548 out of 1000 WITH toUInt128(19), toNullable(1091 AS id) SELECT materialize('WITH 01091 AS id SELECT 1;'), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 549 out of 1000 WITH toUInt128(19), toNullable(1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', toLowCardinality(26), 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 550 out of 1000 WITH toUInt128(19), toNullable(toNullable(toLowCardinality(toUInt256(100))), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', toLowCardinality(26), 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 551 out of 1000 WITH toUInt128(19), toNullable(toNullable(toLowCardinality(100)), 1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', toLowCardinality(26), 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 WITH toUInt128(19), toNullable(toNullable(100), 1091 AS id) SELECT materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(26), 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 553 out of 1000 WITH toUInt128(19), toNullable(toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id) SELECT materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 554 out of 1000 WITH toUInt128(19), toNullable(toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id) SELECT materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 555 out of 1000 WITH toUInt128(toUInt128(19)), toNullable(toNullable(toNullable(19), 100), 1091 AS id) SELECT materialize('WITH 01091 AS id SELECT 1;', 26), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'WITH toUInt128(toUInt128(19)), toNullable(toNullable(toNullable(19), 100), 1091 AS id) SELECT materialize('WITH 01091 AS id SELECT 1;', 26), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope WITH toUInt128(toUInt128(19)), toNullable(toNullable(toNullable(19), 100), 1091 AS id) SELECT materialize('WITH 01091 AS id SELECT 1;', 26), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 556 out of 1000 WITH toUInt128(materialize(toLowCardinality(toNullable(toUInt256(19))))), toNullable(toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id) SELECT materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 WITH materialize(toLowCardinality(toNullable(toUInt256(19)))), toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id SELECT materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 26, 26, materialize(26) FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 558 out of 1000 WITH toLowCardinality(toNullable(toUInt256(19))), toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id SELECT materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 26, 26, materialize(26) FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 559 out of 1000 WITH toLowCardinality(toNullable(toUInt256(19))), toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id SELECT materialize('WITH 01091 AS id SELECT 1;', 26), 26, 26, materialize(26) FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'WITH toLowCardinality(toNullable(toUInt256(19))), toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id SELECT materialize('WITH 01091 AS id SELECT 1;', 26), 26, 26, materialize(26) FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope WITH toLowCardinality(toNullable(toUInt256(19))), toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id SELECT materialize('WITH 01091 AS id SELECT 1;', 26), 26, 26, materialize(26) FROM numbers(1000000) WHERE toNullable(22). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 560 out of 1000 WITH toLowCardinality(toNullable(toUInt256(19))), toNullable(toNullable(19), 100), 1091 AS id SELECT toFixedString('WITH 01091 AS id SELECT 1;', 26), 26, 26, materialize(26) FROM numbers(1000000) PREWHERE test_nested_alias_idx__fuzz_16 WHERE toNullable(normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;')), 22) Error on processing query 'WITH toLowCardinality(toNullable(toUInt256(19))), toNullable(toNullable(19), 100), 1091 AS id SELECT toFixedString('WITH 01091 AS id SELECT 1;', 26), 26, 26, materialize(26) FROM numbers(1000000) PREWHERE test_nested_alias_idx__fuzz_16 WHERE toNullable(normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;')), 22)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_16' in scope WITH toLowCardinality(toNullable(toUInt256(19))), toNullable(toNullable(19), 100), 1091 AS id SELECT toFixedString('WITH 01091 AS id SELECT 1;', 26), 26, 26, materialize(26) FROM numbers(1000000) PREWHERE test_nested_alias_idx__fuzz_16 WHERE toNullable(normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;')), 22). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 561 out of 1000 WITH toLowCardinality(toNullable(toUInt256(19))), toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id SELECT materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 26, 26, materialize(26) FROM numbers(1000000) WHERE toNullable(toLowCardinality(toUInt128(22))) Error on processing query 'WITH toLowCardinality(toNullable(toUInt256(19))), toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id SELECT materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 26, 26, materialize(26) FROM numbers(1000000) WHERE toNullable(toLowCardinality(toUInt128(22)))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 562 out of 1000 WITH toNullable(toUInt256(19)), toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id SELECT materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 26, 26, materialize(26) FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 WITH toNullable(toUInt256(19)), toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id SELECT materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), materialize(26), 26, materialize(26) FROM numbers(1000000) WHERE toNullable(22) GROUP BY c + 1 Error on processing query 'WITH toNullable(toUInt256(19)), toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id SELECT materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), materialize(26), 26, materialize(26) FROM numbers(1000000) WHERE toNullable(22) GROUP BY c + 1': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'c' in scope WITH toNullable(toUInt256(19)), toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id SELECT materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), materialize(26), 26, materialize(26) FROM numbers(1000000) WHERE toNullable(22) GROUP BY c + 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 564 out of 1000 WITH toUInt256(19), toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id SELECT materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 565 out of 1000 WITH toUInt256(19), toNullable(toLowCardinality(toNullable(19)), 100), toNullable(1091 AS id) SELECT materialize('WITH 01091 AS id SELECT 1;', 26), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'WITH toUInt256(19), toNullable(toLowCardinality(toNullable(19)), 100), toNullable(1091 AS id) SELECT materialize('WITH 01091 AS id SELECT 1;', 26), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope WITH toUInt256(19), toNullable(toLowCardinality(toNullable(19)), 100), toNullable(1091 AS id) SELECT materialize('WITH 01091 AS id SELECT 1;', 26), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 566 out of 1000 WITH toUInt256(19), toLowCardinality(toNullable(19)), 100, 1091 AS id SELECT materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 567 out of 1000 WITH toUInt256(19), toLowCardinality(toNullable(19)), 100, 1091 AS id SELECT materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 568 out of 1000 WITH toUInt256(19), toNullable(19), 100, 1091 AS id SELECT materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 569 out of 1000 WITH toUInt256(19), toNullable(19), 100, 1091 AS id SELECT toFixedString('WITH 01091 AS id SELECT 1;', 26), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 570 out of 1000 WITH toUInt256(19), 19, 100, 1091 AS id SELECT toFixedString('WITH 01091 AS id SELECT 1;', 26), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 571 out of 1000 WITH toUInt256(materialize(toLowCardinality(19))), 19, 100, 1091 AS id SELECT toFixedString('WITH 01091 AS id SELECT 1;', 26), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 WITH toUInt256(materialize(toLowCardinality(19))), 19, 100, 1091 AS id SELECT toFixedString(26), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22) Error on processing query 'WITH toUInt256(materialize(toLowCardinality(19))), 19, 100, 1091 AS id SELECT toFixedString(26), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope WITH toUInt256(materialize(toLowCardinality(19))), 19, 100, 1091 AS id SELECT toFixedString(26), 26, 26, 26 FROM numbers(1000000) WHERE toNullable(22). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 573 out of 1000 WITH toUInt256(materialize(toLowCardinality(19))), 19, 100, 1091 AS id SELECT toFixedString('WITH 01091 AS id SELECT 1;', 26), materialize(toNullable(26)), toLowCardinality(toUInt256(26)), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 574 out of 1000 WITH materialize(toLowCardinality(19)), 19, 100, 1091 AS id SELECT toFixedString('WITH 01091 AS id SELECT 1;', 26), materialize(toNullable(26)), toLowCardinality(toUInt256(26)), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 575 out of 1000 WITH materialize(toLowCardinality(19)), 19, 100, 1091 AS id SELECT toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)), materialize(toNullable(26)), toLowCardinality(toUInt256(26)), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 WITH materialize(toLowCardinality(toNullable(toLowCardinality(1), 1091), 19)), 19, 100, 1091 AS id SELECT toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)), materialize(toNullable(materialize(26))), toLowCardinality(toUInt256(26)), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 577 out of 1000 WITH toLowCardinality(toNullable(toLowCardinality(1), 1091), 19), 19, 100, 1091 AS id SELECT toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)), materialize(toNullable(materialize(26))), toLowCardinality(toUInt256(26)), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 578 out of 1000 WITH toLowCardinality(toNullable(toLowCardinality(1), 1091), 19), toLowCardinality(19), 100, 1091 AS id SELECT toFixedString('WITH 01091 AS id SELECT 1;', 26), materialize(toNullable(26)), toUInt256(26), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 579 out of 1000 WITH toLowCardinality(toNullable(toLowCardinality(toLowCardinality(toUInt128(19)), 1), 1091), 19), toLowCardinality(19), 100, 1091 AS id SELECT toFixedString('WITH 01091 AS id SELECT 1;', 26), materialize(toNullable(26)), toUInt256(26), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 580 out of 1000 WITH toLowCardinality(toLowCardinality(toLowCardinality(toUInt128(19)), 1), 1091, 19), toLowCardinality(19), 100, 1091 AS id SELECT toFixedString('WITH 01091 AS id SELECT 1;', 26), materialize(toNullable(26)), toUInt256(26), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 581 out of 1000 WITH toLowCardinality(toLowCardinality(toLowCardinality(toUInt128(19)), 1), 1091, 19), toLowCardinality(toLowCardinality(19)), 100, 1091 AS id SELECT toFixedString('WITH 01091 AS id SELECT 1;', 26), toNullable(26), toUInt256(26), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 582 out of 1000 WITH toLowCardinality(toLowCardinality(toLowCardinality(toUInt128(19)), 1), 1091, 19), toLowCardinality(toLowCardinality(19)), 100, 1091 AS id SELECT toFixedString('WITH 01091 AS id SELECT 1;', 26), 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 WITH toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, 19), toLowCardinality(toLowCardinality(19)), 100, 1091 AS id SELECT toFixedString('WITH 01091 AS id SELECT 1;', 26), 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 584 out of 1000 WITH toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, materialize(19)), toLowCardinality(19), 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 585 out of 1000 WITH toLowCardinality(toUInt128(19), 1), 1091, materialize(19), 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 586 out of 1000 WITH toLowCardinality(toUInt128(toNullable(toUInt256(19))), 1), 1091, materialize(19), 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 WITH toLowCardinality(toUInt128(toNullable(toUInt256(19))), 1), 1091, materialize(19), materialize(19), 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) PREWHERE toUInt256(16) WHERE toNullable(22) Error on processing query 'WITH toLowCardinality(toUInt128(toNullable(toUInt256(19))), 1), 1091, materialize(19), materialize(19), 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) PREWHERE toUInt256(16) WHERE toNullable(22)': Received from localhost:9000. DB::Exception: Table function storage SystemNumbers (table _table_function.numbers) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b1dc0 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 588 out of 1000 WITH toLowCardinality(toUInt128(toNullable(toUInt256(19))), 1), 1091, materialize(19), 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toNullable(toUInt128(materialize(toNullable(19))), 22) Error on processing query 'WITH toLowCardinality(toUInt128(toNullable(toUInt256(19))), 1), 1091, materialize(19), 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toNullable(toUInt128(materialize(toNullable(19))), 22)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH toLowCardinality(toUInt128(toNullable(toUInt256(19))), 1), 1091, materialize(19), 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toNullable(toUInt128(materialize(toNullable(19))), 22). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 589 out of 1000 WITH toLowCardinality(toUInt128(toNullable(toUInt256(19))), 1), 1091, materialize(19), 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toNullable(22) Got boring AST Fuzzing step 590 out of 1000 WITH toUInt128(toNullable(toUInt256(19))), 1, 1091, materialize(19), 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 591 out of 1000 WITH toUInt128(toNullable(toUInt256(toLowCardinality(toUInt256(19)), 19))), 1, 1091, materialize(19), 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toNullable(22) Query succeeded, using this AST as a start Fuzzing step 592 out of 1000 WITH toUInt128(toNullable(toLowCardinality(toUInt256(19)), 19)), 1, 1091, materialize(19), 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 593 out of 1000 WITH toUInt128(toNullable(toUInt256(19), 19)), 1, 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 594 out of 1000 WITH toUInt128(materialize(toLowCardinality(toNullable(toUInt256(19)))), toNullable(toUInt256(19), 19)), 1, 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 595 out of 1000 WITH toUInt128(materialize(toLowCardinality(toNullable(toUInt256(19)))), toNullable(toUInt256(19), 19)), 1, 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) Got boring AST Fuzzing step 596 out of 1000 WITH toUInt128(materialize(toNullable(toUInt256(19))), toNullable(toUInt256(19), 19)), 1, 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 597 out of 1000 EXPLAIN PIPELINE compact = true WITH toUInt128(materialize(toNullable(toUInt256(19))), toUInt256(19), 19), 1, 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) Error on processing query 'EXPLAIN PIPELINE compact = true WITH toUInt128(materialize(toNullable(toUInt256(19))), toUInt256(19), 19), 1, 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 598 out of 1000 WITH toUInt128(materialize(toUInt256(19)), toNullable(toUInt256(19), 19)), 1, 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 599 out of 1000 WITH toUInt128(materialize(toUInt256(19)), toUInt256(19), 19), 1, 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 600 out of 1000 WITH toUInt128(toUInt256(19), toUInt256(19), 19), 1, 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 601 out of 1000 WITH toUInt256(19), toUInt256(19), 19, 1, 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', toLowCardinality(toUInt128(26)), 26, toUInt256(26), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 602 out of 1000 WITH toUInt256(19), toUInt256(19), 19, 1, 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', toLowCardinality(toUInt128(26)), 26, toUInt256(materialize(toNullable(26))), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 603 out of 1000 WITH toUInt256(19), toUInt256(19), 19, 1, 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', toLowCardinality(toUInt128(26)), 26, toUInt256(materialize(26)), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 WITH toUInt256(19), toUInt256(19), 19, 1, 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', toLowCardinality(toUInt128(26)), 26, toUInt256(materialize(26)), 26 FROM numbers(1000000) Got boring AST Fuzzing step 605 out of 1000 WITH toUInt256(19), toUInt256(19), 19, 1, 1091, 19, 19, 100, 1091 AS id SELECT toNullable('WITH 01091 AS id SELECT 1;'), toLowCardinality(toUInt128(26)), 26, materialize(26), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 606 out of 1000 WITH 19, toUInt256(19), 19, 1, materialize(toNullable(1091)), 19, 19, 100, 1091 AS id SELECT toNullable('WITH 01091 AS id SELECT 1;'), toLowCardinality(toUInt128(26)), 26, materialize(26), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 607 out of 1000 WITH 19, toUInt256(19), 19, 1, materialize(1091), 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', toLowCardinality(26), 26, materialize(26), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 608 out of 1000 WITH 19, 19, 19, 1, materialize(1091), 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', toLowCardinality(26), 26, materialize(26), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 609 out of 1000 WITH 19, 19, 19, 1, materialize(1091), 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, materialize(26), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 610 out of 1000 WITH 19, 19, 19, materialize(1), 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, materialize(26), 26 FROM numbers(1000000) GROUP BY sum(number) IGNORE NULLS, test_nested_alias_idx__fuzz_18, toLowCardinality(materialize(toNullable(toUInt256(19)))) Error on processing query 'WITH 19, 19, 19, materialize(1), 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, materialize(26), 26 FROM numbers(1000000) GROUP BY sum(number) IGNORE NULLS, test_nested_alias_idx__fuzz_18, toLowCardinality(materialize(toNullable(toUInt256(19))))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_18' in scope WITH 19, 19, 19, materialize(1), 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, materialize(26), 26 FROM numbers(1000000) GROUP BY sum(number) IGNORE NULLS, test_nested_alias_idx__fuzz_18, toLowCardinality(materialize(toNullable(toUInt256(19)))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 611 out of 1000 WITH 19, 19, 19, 1, materialize(toUInt256(1091)), 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, materialize(26), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 612 out of 1000 WITH 19, 19, 19, 1, materialize(toUInt256(1091)), 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, materialize(26), 26 FROM numbers(1000000) Got boring AST Fuzzing step 613 out of 1000 EXPLAIN PIPELINE compact = true WITH 19, 19, 19, 1, materialize(toUInt256(1091)), 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, materialize(26), 26 FROM numbers(1000000) Error on processing query 'EXPLAIN PIPELINE compact = true WITH 19, 19, 19, 1, materialize(toUInt256(1091)), 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, materialize(26), 26 FROM numbers(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 614 out of 1000 WITH 19, 19, 19, 1, toUInt256(1091), 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, materialize(26), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 EXPLAIN QUERY TREE passes = true WITH 19, 19, 19, 1, toUInt256(1091), 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, materialize(26), 26 FROM numbers(1000000) Error on processing query 'EXPLAIN QUERY TREE passes = true WITH 19, 19, 19, 1, toUInt256(1091), 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, materialize(26), 26 FROM numbers(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 616 out of 1000 WITH 19, 19, 19, 1, 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, materialize(26), 26 FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 WITH 19, 19, 19, 1, 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, materialize(26), 26 FROM numbers(1000000) WHERE toLowCardinality(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 618 out of 1000 WITH 19, 19, 19, 1, toLowCardinality(1091), 19, 19, 100, materialize(1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26, materialize(26), 26 FROM numbers(1000000) WHERE toLowCardinality(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 619 out of 1000 WITH materialize(19), 19, 19, 1, toLowCardinality(1091), 19, 19, 100, materialize(1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26, materialize(26), 26 FROM numbers(1000000) WHERE toLowCardinality(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 620 out of 1000 WITH materialize(19), 19, 19, 1, toLowCardinality(1091), 19, 19, 100, materialize(1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', materialize(toUInt128(100), 26), 26, materialize(26), 26 FROM numbers(1000000) WHERE toLowCardinality(toLowCardinality(100)) Error on processing query 'WITH materialize(19), 19, 19, 1, toLowCardinality(1091), 19, 19, 100, materialize(1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', materialize(toUInt128(100), 26), 26, materialize(26), 26 FROM numbers(1000000) WHERE toLowCardinality(toLowCardinality(100))': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope WITH materialize(19), 19, 19, 1, toLowCardinality(1091), 19, 19, 100, materialize(1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', materialize(toUInt128(100), 26), 26, materialize(26), 26 FROM numbers(1000000) WHERE toLowCardinality(toLowCardinality(100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 621 out of 1000 WITH materialize(19), 19, 19, 1, toLowCardinality(1091), 19, 19, 100, materialize(1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, materialize(26), 26 FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 622 out of 1000 WITH materialize(19), 19, 19, 1, toLowCardinality(1091), 19, 19, 100, materialize(1091 AS id) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, materialize(toUInt256(26)), 26 FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 623 out of 1000 WITH materialize(toLowCardinality(19)), 19, 19, 1, toLowCardinality(1091), 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 624 out of 1000 WITH toLowCardinality(19), 19, toUInt256(19), 1, toLowCardinality(1091), 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(test_alias_skip_idx__fuzz_14, 100)), 1000000) WHERE toLowCardinality(toNullable(100)) Error on processing query 'WITH toLowCardinality(19), 19, toUInt256(19), 1, toLowCardinality(1091), 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(test_alias_skip_idx__fuzz_14, 100)), 1000000) WHERE toLowCardinality(toNullable(100))': Received from localhost:9000. DB::Exception: Missing columns: 'test_alias_skip_idx__fuzz_14' 'test_alias_skip_idx__fuzz_18' while processing query: 'toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(test_alias_skip_idx__fuzz_14, 100))', required columns: 'test_alias_skip_idx__fuzz_18' 'test_alias_skip_idx__fuzz_14' 'test_alias_skip_idx__fuzz_18' 'test_alias_skip_idx__fuzz_14'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 4. /build/src/Interpreters/TreeRewriter.cpp:1544: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x0000000011899335 5. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903331 6. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 7. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027ad2d 8. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a76f 9. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 10. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 625 out of 1000 WITH materialize(19), 19, 19, 1, toLowCardinality(1091), 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(test_nested_alias_idx__fuzz_20, 1000000) WHERE toLowCardinality(100) Error on processing query 'WITH materialize(19), 19, 19, 1, toLowCardinality(1091), 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(test_nested_alias_idx__fuzz_20, 1000000) WHERE toLowCardinality(100)': Received from localhost:9000. DB::Exception: Missing columns: 'test_nested_alias_idx__fuzz_20' while processing query: 'test_nested_alias_idx__fuzz_20', required columns: 'test_nested_alias_idx__fuzz_20' 'test_nested_alias_idx__fuzz_20'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 4. /build/src/Interpreters/TreeRewriter.cpp:1544: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x0000000011899335 5. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903331 6. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 7. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027ad2d 8. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a76f 9. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 10. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 626 out of 1000 WITH toLowCardinality(19), 19, 19, 1, toLowCardinality(1091), 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 627 out of 1000 WITH toLowCardinality(19), 19, 19, 1, 1091, 19, 19, 100, 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 628 out of 1000 WITH toLowCardinality(19), 19, 19, 1, 1091, 19, 19, toNullable(100), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', toLowCardinality(26), 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 629 out of 1000 WITH 19, 19, 19, 1, 1091, 19, 19, toNullable(100), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', toLowCardinality(26), 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 630 out of 1000 WITH 19, 19, 19, 1, 1091, 19, 19, toNullable(toNullable(100)), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', toLowCardinality(26), 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 631 out of 1000 WITH 19, 19, 19, 1, 1091, 19, 19, toNullable(toNullable(100)), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', toLowCardinality(26), 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(100) Got boring AST Fuzzing step 632 out of 1000 WITH 19, 19, 19, 1, 1091, 19, 19, toNullable(toNullable(100)), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', toLowCardinality(26), 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(100) Got boring AST Fuzzing step 633 out of 1000 WITH toNullable(toUInt128(19)), 19, 19, 1, 1091, 19, 19, toNullable(toNullable(100)), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', toLowCardinality(26), 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 634 out of 1000 WITH toNullable(toUInt128(19)), 19, 19, 1, 1091, 19, 19, toNullable(toUInt128(materialize(toNullable(toUInt256(19))), toUInt256(19), 19), toNullable(100)), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', toLowCardinality(26), 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 635 out of 1000 WITH toNullable(toUInt128(19)), 19, 19, 1, 1091, 19, 19, toUInt128(materialize(toNullable(toUInt256(19))), toUInt256(19), 19), toNullable(100), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 636 out of 1000 WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toUInt128(toNullable(toUInt256(19)), 19, 19), toNullable(100), 1091 AS id SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 637 out of 1000 WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 638 out of 1000 EXPLAIN SYNTAX WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 639 out of 1000 EXPLAIN SYNTAX WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Got boring AST Fuzzing step 640 out of 1000 EXPLAIN SYNTAX WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Got boring AST Fuzzing step 641 out of 1000 EXPLAIN CURRENT TRANSACTION WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 66 ('toUInt128'): toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 642 out of 1000 EXPLAIN SYNTAX WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Got boring AST Fuzzing step 643 out of 1000 EXPLAIN QUERY TREE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 644 out of 1000 EXPLAIN ESTIMATE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 645 out of 1000 EXPLAIN ESTIMATE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Got boring AST Fuzzing step 646 out of 1000 EXPLAIN ESTIMATE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Got boring AST Fuzzing step 647 out of 1000 EXPLAIN WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 648 out of 1000 EXPLAIN AST WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 649 out of 1000 EXPLAIN QUERY TREE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 EXPLAIN WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 651 out of 1000 EXPLAIN WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Got boring AST Fuzzing step 652 out of 1000 EXPLAIN ESTIMATE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 653 out of 1000 EXPLAIN ESTIMATE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Got boring AST Fuzzing step 654 out of 1000 EXPLAIN CURRENT TRANSACTION WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 66 ('toUInt128'): toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 655 out of 1000 EXPLAIN TABLE OVERRIDE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 61 ('toUInt128'): toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 656 out of 1000 EXPLAIN TABLE OVERRIDE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 61 ('toUInt128'): toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 657 out of 1000 EXPLAIN ESTIMATE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Got boring AST Fuzzing step 658 out of 1000 EXPLAIN ESTIMATE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Got boring AST Fuzzing step 659 out of 1000 EXPLAIN TABLE OVERRIDE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 61 ('toUInt128'): toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 660 out of 1000 EXPLAIN ESTIMATE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Got boring AST Fuzzing step 661 out of 1000 EXPLAIN WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 662 out of 1000 EXPLAIN TABLE OVERRIDE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 61 ('toUInt128'): toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 663 out of 1000 EXPLAIN SYNTAX WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 664 out of 1000 EXPLAIN SYNTAX WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Got boring AST Fuzzing step 665 out of 1000 EXPLAIN SYNTAX WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Got boring AST Fuzzing step 666 out of 1000 EXPLAIN TABLE OVERRIDE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 61 ('toUInt128'): toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 667 out of 1000 EXPLAIN AST WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 668 out of 1000 EXPLAIN AST WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Got boring AST Fuzzing step 669 out of 1000 EXPLAIN AST WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Got boring AST Fuzzing step 670 out of 1000 EXPLAIN SYNTAX WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 671 out of 1000 EXPLAIN SYNTAX WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Got boring AST Fuzzing step 672 out of 1000 EXPLAIN SYNTAX WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Got boring AST Fuzzing step 673 out of 1000 EXPLAIN QUERY TREE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 674 out of 1000 EXPLAIN PIPELINE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 675 out of 1000 EXPLAIN PIPELINE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Got boring AST Fuzzing step 676 out of 1000 WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(toLowCardinality(materialize(toNullable(toUInt256(19)))) AND 100 AND (thread_id != master_thread_id), 1000000) WHERE toLowCardinality(materialize(100)) Error on processing query 'WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(toLowCardinality(materialize(toNullable(toUInt256(19)))) AND 100 AND (thread_id != master_thread_id), 1000000) WHERE toLowCardinality(materialize(100))': Received from localhost:9000. DB::Exception: Missing columns: 'master_thread_id' 'thread_id' while processing query: 'toLowCardinality(materialize(_CAST('19', 'Nullable(UInt256)'))) AND 100 AND (thread_id != master_thread_id)', required columns: 'thread_id' 'master_thread_id' 'thread_id' 'master_thread_id'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 4. /build/src/Interpreters/TreeRewriter.cpp:1544: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x0000000011899335 5. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903331 6. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 7. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027ad2d 8. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a76f 9. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 10. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 677 out of 1000 EXPLAIN WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 EXPLAIN ESTIMATE WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(toUInt256(19)), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, toUInt256(26), 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 679 out of 1000 WITH toUInt128(19), 19, 19, 1, 1091, 19, 19, toNullable(19), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 680 out of 1000 EXPLAIN PIPELINE compact = true WITH 19, 19, 19, 1, 1091, 19, 19, 19, 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(100) Error on processing query 'EXPLAIN PIPELINE compact = true WITH 19, 19, 19, 1, 1091, 19, 19, 19, 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(100)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 681 out of 1000 WITH toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), 19), toLowCardinality(19), 19, 1, 1091, 19, 19, toNullable(19), 19, 19, toNullable(materialize(100)), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 682 out of 1000 EXPLAIN PIPELINE WITH toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), materialize(toNullable(26)), 19), toLowCardinality(19), 19, 1, 1091, 19, 19, toNullable(19), 19, 19, toNullable(100), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(test_nested_alias_idx__fuzz_23, 100)) Error on processing query 'EXPLAIN PIPELINE WITH toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), materialize(toNullable(26)), 19), toLowCardinality(19), 19, 1, 1091, 19, 19, toNullable(19), 19, 19, toNullable(100), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(test_nested_alias_idx__fuzz_23, 100))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_23' in scope WITH toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), materialize(toNullable(26)), 19), toLowCardinality(19), 19, 1, 1091, 19, 19, toNullable(19), 19, 19, toNullable(100), 1091 AS id SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(test_nested_alias_idx__fuzz_23, 100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 18. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 19. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 683 out of 1000 WITH toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), 19), toLowCardinality(19), 19, 1, 1091, 19, 19, toNullable(19), 19, 19, toNullable(100), toLowCardinality(1091 AS id) SELECT toLowCardinality('WITH 01091 AS id SELECT 1;'), 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 684 out of 1000 WITH toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), 19), toLowCardinality(19), toNullable(19), 1, 1091, 19, 19, toNullable(toLowCardinality(toNullable(19))), 19, 19, toNullable(100), toLowCardinality(toUInt256(1091)) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 685 out of 1000 WITH toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), 19), toLowCardinality(19), toNullable(19), 1, 1091, 19, 19, toNullable(toLowCardinality(19)), 19, 19, toNullable(100), toLowCardinality(1091) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 686 out of 1000 WITH toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), 19), toLowCardinality(19), toNullable(19), 1, 1091, 19, 19, toNullable(toLowCardinality(19)), 19, 19, toNullable(100), toLowCardinality(1091) SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(100)) Query succeeded, using this AST as a start Fuzzing step 687 out of 1000 WITH toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), 19), toLowCardinality(19), toNullable(19), 1, 1091, 19, 19, toLowCardinality(19), 19, 19, 100, toLowCardinality(1091) SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26, 26, 26 FROM numbers(materialize(1000000)) WHERE toLowCardinality(100) Error on processing query 'WITH toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), 19), toLowCardinality(19), toNullable(19), 1, 1091, 19, 19, toLowCardinality(19), 19, 19, 100, toLowCardinality(1091) SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26, 26, 26 FROM numbers(materialize(1000000)) WHERE toLowCardinality(100)': Received from localhost:9000. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): materialize(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000703ad2b 4. /build/src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903a10 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 6. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027ad2d 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 8. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 9. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 688 out of 1000 WITH toUInt128(test_alias_skip_idx__fuzz_24, 1091, 19), toLowCardinality(19), toNullable(19), 1, 1091, 19, 19, toNullable(toLowCardinality(19)), 19, 19, toNullable(materialize(100)), toLowCardinality(1091) SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 689 out of 1000 WITH toUInt128(test_alias_skip_idx__fuzz_24, 1091, 19), toLowCardinality(19), toNullable(19), materialize(toLowCardinality(toUInt256(1))), 1091, 19, 19, toLowCardinality(19), 19, 19, toNullable(materialize(100)), 1091 SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 690 out of 1000 WITH toUInt128(test_alias_skip_idx__fuzz_24, 1091, 19), toLowCardinality(19), 19, materialize(toLowCardinality(toUInt256(1))), 1091, 19, 19, toLowCardinality(19), 19, 19, toNullable(100), 1091 SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(toNullable(100))) Query succeeded, using this AST as a start Fuzzing step 691 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(19), 19, materialize(toLowCardinality(1)), 1091, 19, 19, toLowCardinality(19), 19, 19, toNullable(100), 1091 SELECT 'WITH 01091 AS id SELECT 1;', materialize(26), 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(toNullable(100))) Query succeeded, using this AST as a start Fuzzing step 692 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, materialize(toLowCardinality(1)), 1091, 19, 19, toLowCardinality(19), 19, materialize(19), toNullable(toLowCardinality(100)), 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(toNullable(100))) Query succeeded, using this AST as a start Fuzzing step 693 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, materialize(1), 1091, 19, 19, toLowCardinality(19), 19, materialize(19), toNullable(toLowCardinality(100)), 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) PREWHERE 'enable_optimizations=0' WHERE toLowCardinality(materialize(toNullable(100))) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, materialize(1), 1091, 19, 19, toLowCardinality(19), 19, materialize(19), toNullable(toLowCardinality(100)), 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) PREWHERE 'enable_optimizations=0' WHERE toLowCardinality(materialize(toNullable(100)))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: String. In query WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, materialize(1), 1091, 19, 19, toLowCardinality(19), 19, materialize(19), toNullable(toLowCardinality(100)), 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) PREWHERE 'enable_optimizations=0' WHERE toLowCardinality(materialize(toNullable(100))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 694 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, toLowCardinality(1), 1091, 19, 19, toLowCardinality(19), 19, materialize(19), toNullable(toLowCardinality(100)), 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(toNullable(100))) Query succeeded, using this AST as a start Fuzzing step 695 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, toLowCardinality(1), 1091, 19, 19, toLowCardinality(19), 19, materialize(19), toNullable(100), 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(toNullable(100))) Query succeeded, using this AST as a start Fuzzing step 696 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, toLowCardinality(1), 1091, 19, 19, toLowCardinality(19), 19, materialize(19), toNullable(100), 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toLowCardinality(materialize(1)), materialize(100)) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, toLowCardinality(1), 1091, 19, 19, toLowCardinality(19), 19, materialize(19), toNullable(100), 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toLowCardinality(materialize(1)), materialize(100))': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, toLowCardinality(1), 1091, 19, 19, toLowCardinality(19), 19, materialize(19), toNullable(100), 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toLowCardinality(materialize(1)), materialize(100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 697 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, toLowCardinality(1), 1091, 19, 19, toLowCardinality(19), 19, materialize(19), toNullable(100), 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(toNullable(100))) Got boring AST Fuzzing step 698 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, toLowCardinality(1), 1091, 19, 19, toLowCardinality(19), 19, materialize(19), toNullable(100), 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(toNullable(100))) Got boring AST Fuzzing step 699 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, toLowCardinality(1), 1091, 19, 19, toLowCardinality(19), 19, materialize(19), toNullable(100), 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(toNullable(100))) Got boring AST Fuzzing step 700 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, toLowCardinality(1), 1091, 19, 19, toLowCardinality(19), 19, 19, toNullable(100), materialize(1091) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(toNullable(100))) Query succeeded, using this AST as a start Fuzzing step 701 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, toLowCardinality(1), 1091, 19, 19, toLowCardinality(19), 19, 19, toNullable(100), 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(toNullable(100))) Query succeeded, using this AST as a start Fuzzing step 702 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, toLowCardinality(1), 1091, 19, 19, toLowCardinality(19), 19, 19, toNullable(100), 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(toNullable(100))) Got boring AST Fuzzing step 703 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, 1, 1091, 19, 19, 19, 19, 19, toNullable(100), 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(toNullable(100))) Query succeeded, using this AST as a start Fuzzing step 704 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, 1, 1091, 19, 19, 19, 19, 19, toNullable(100), 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(materialize(toNullable(100))) Got boring AST Fuzzing step 705 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, 1, 1091, 19, 19, 19, 19, 19, toNullable(100), 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) Query succeeded, using this AST as a start Fuzzing step 706 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, 1, 1091, 19, 19, 19, 19, 19, 100, 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) Query succeeded, using this AST as a start Fuzzing step 707 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, 1, toLowCardinality(1091), 19, 19, 19, 19, 19, 100, 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) Query succeeded, using this AST as a start Fuzzing step 708 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, 1, toLowCardinality(1091), 19, 19, 19, 19, 19, 100, 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) Got boring AST Fuzzing step 709 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(19)), 19, 19, 1, toLowCardinality(1091), 19, 19, 19, toLowCardinality(19), 19, 100, 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) Query succeeded, using this AST as a start Fuzzing step 710 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(19)), 19, 19, 1, toLowCardinality(1091), 19, 19, 19, toLowCardinality(19), 19, 100, 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) Got boring AST Fuzzing step 711 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(19)), 19, 19, 1, 1091, 19, 19, 19, toLowCardinality(19), 19, 100, 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) Query succeeded, using this AST as a start Fuzzing step 712 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(19)), materialize(toNullable(19)), 19, 1, 1091, 19, 19, 19, toLowCardinality(19), 19, 100, 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(materialize(1000000)) WHERE toLowCardinality(toNullable(100)) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(19)), materialize(toNullable(19)), 19, 1, 1091, 19, 19, 19, toLowCardinality(19), 19, 100, 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(materialize(1000000)) WHERE toLowCardinality(toNullable(100))': Received from localhost:9000. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): materialize(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000703ad2b 4. /build/src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903a10 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 6. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027ad2d 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 8. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 9. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 713 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(materialize(toNullable(19)))), 19, 19, 1, 1091, 19, 19, 19, toLowCardinality(19), 19, 100, 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(toLowCardinality(toNullable(12)), 1000000) WHERE toLowCardinality(toNullable(100)) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(materialize(toNullable(19)))), 19, 19, 1, 1091, 19, 19, 19, toLowCardinality(19), 19, 100, 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(toLowCardinality(toNullable(12)), 1000000) WHERE toLowCardinality(toNullable(100))': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(Nullable(UInt8)) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027afa1 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a76f 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 714 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(19)), 19, 19, 1, 1091, 19, toLowCardinality(19), 19, toLowCardinality(19), 19, 100, 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) Query succeeded, using this AST as a start Fuzzing step 715 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(19)), 19, 19, 1, 1091, 19, toLowCardinality(19), 19, toLowCardinality(19), 19, 100, 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) Got boring AST Fuzzing step 716 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(19)), 19, 19, 1, 1091, 19, toLowCardinality(19), 19, toLowCardinality(19), 19, 100, 1091 SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) Got boring AST Fuzzing step 717 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(toNullable(19))), 19, 19, 1, 1091, 19, 19, 19, 19, 19, 100, toUInt256(1091) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) Query succeeded, using this AST as a start Fuzzing step 718 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(toNullable(19))), 19, 19, 1, 1091, 19, 19, 19, 19, 19, 100, toUInt256(1091) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) GROUP BY toNullable(100), toUInt128(100), materialize(toLowCardinality(toNullable(100))), test_nested_alias_idx__fuzz_3, materialize(22) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(toNullable(19))), 19, 19, 1, 1091, 19, 19, 19, 19, 19, 100, toUInt256(1091) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) GROUP BY toNullable(100), toUInt128(100), materialize(toLowCardinality(toNullable(100))), test_nested_alias_idx__fuzz_3, materialize(22)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_3' in scope WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(toNullable(19))), 19, 19, 1, 1091, 19, 19, 19, 19, 19, 100, toUInt256(1091) SELECT 'WITH 01091 AS id SELECT 1;', 26, 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) GROUP BY toNullable(100), toUInt128(100), materialize(toLowCardinality(toNullable(100))), test_nested_alias_idx__fuzz_3, materialize(22). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 719 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(toNullable(19))), 19, 19, 1, 1091, 19, 19, 19, 19, 19, 100, toUInt256(1091) SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(materialize(toNullable(100)))) Query succeeded, using this AST as a start Fuzzing step 720 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(toNullable(19))), 19, 19, 1, 1091, 19, 19, 19, 19, 19, 100, toUInt256(1091) SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(materialize(toNullable(100)))) Got boring AST Fuzzing step 721 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(toNullable(19))), 19, 19, 1, 1091, 19, 19, 19, toNullable(19), 19, 100, toUInt256(1091) SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(toNullable(100))) Query succeeded, using this AST as a start Fuzzing step 722 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(toNullable(19)), 19, 19, 1, 1091, 19, 19, 19, toNullable(19), 19, 100, toUInt256(1091) SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) Query succeeded, using this AST as a start Fuzzing step 723 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(19), toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toNullable(19), 19, 100, toUInt256(1091) SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, 26 FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) Query succeeded, using this AST as a start Fuzzing step 724 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(19), toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toNullable(19), 19, 100, toUInt256(1091) SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) Query succeeded, using this AST as a start Fuzzing step 725 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(19), toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toNullable(19), 19, materialize(100), 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) Query succeeded, using this AST as a start Fuzzing step 726 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(19), toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toNullable(19), 19, materialize(100), 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) Got boring AST Fuzzing step 727 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(19), toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toNullable(toUInt128(12), 19), 19, materialize(100), 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(materialize(1000000)) WHERE toLowCardinality(toNullable(100)) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091, toLowCardinality(19), toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toNullable(toUInt128(12), 19), 19, materialize(100), 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(materialize(1000000)) WHERE toLowCardinality(toNullable(100))': Received from localhost:9000. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): materialize(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000703ad2b 4. /build/src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903a10 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 6. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027ad2d 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 8. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 9. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 728 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toNullable(19), 19, materialize(100), 1091 SELECT materialize(toLowCardinality('WITH 01091 AS id SELECT 1;')), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(toNullable(100)) Query succeeded, using this AST as a start Fuzzing step 729 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(19), 19, 1, 1091, 19, 19, toNullable(19), toNullable(19), 19, materialize(100), 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 730 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(19), 19, 1, 1091, 19, 19, toNullable(19), toNullable(19), 19, 100, 1091 SELECT materialize(a > materialize(toUInt256(toLowCardinality(toNullable(toUInt256(100))))), 'WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, 26 FROM numbers(toLowCardinality(toUInt128(1000000))) WHERE toLowCardinality(100) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(19), 19, 1, 1091, 19, 19, toNullable(19), toNullable(19), 19, 100, 1091 SELECT materialize(a > materialize(toUInt256(toLowCardinality(toNullable(toUInt256(100))))), 'WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, 26 FROM numbers(toLowCardinality(toUInt128(1000000))) WHERE toLowCardinality(100)': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt128) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027afa1 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 731 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toNullable(19), 19, materialize(100), 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 732 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toNullable(toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19))))) AND toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id), toNullable(19)), 19, materialize(100), 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(toNullable(toNullable(100), 1091 AS id), materialize(26)), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(toUInt256(materialize(toNullable(12))), 100) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toNullable(toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19))))) AND toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id), toNullable(19)), 19, materialize(100), 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(toNullable(toNullable(100), 1091 AS id), materialize(26)), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(toUInt256(materialize(toNullable(12))), 100)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toNullable(toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19))))) AND toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id), toNullable(19)), 19, materialize(100), 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(toNullable(toNullable(100), 1091 AS id), materialize(26)), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(toUInt256(materialize(toNullable(12))), 100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 733 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, 1, 1091, 19, 19, 19, toNullable(19), 19, materialize(100), 1091 SELECT test_alias_skip_idx__fuzz_29, materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(toUInt128(toLowCardinality(19)), 100) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, 1, 1091, 19, 19, 19, toNullable(19), 19, materialize(100), 1091 SELECT test_alias_skip_idx__fuzz_29, materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(toUInt128(toLowCardinality(19)), 100)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_29' in scope WITH test_alias_skip_idx__fuzz_24, 1091, 19, 19, 19, 1, 1091, 19, 19, 19, toNullable(19), 19, materialize(100), 1091 SELECT test_alias_skip_idx__fuzz_29, materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(toUInt128(toLowCardinality(19)), 100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 734 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toNullable(19), 19, 100, 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 735 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toNullable(19), 19, 100, 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) Error on processing query 'WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toNullable(19), 19, 100, 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) PREWHERE toLowCardinality(100) WHERE toLowCardinality(100)': Received from localhost:9000. DB::Exception: Table function storage SystemNumbers (table _table_function.numbers) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b1dc0 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 736 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toNullable(toUInt128(19)), 19, 100, 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 737 out of 1000 WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(toUInt256(19)), 19, 1, 1091, 19, 19, 19, toNullable(toUInt128(19)), 19, 100, 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 738 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(toUInt256(19)), 19, 1, 1091, 19, 19, 19, toNullable(toUInt128(19)), 19, 100, 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 739 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(toUInt256(19)), 19, 1, 1091, 19, 19, 19, toNullable(toUInt128(19)), 19, 100, 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(100) Got boring AST Fuzzing step 740 out of 1000 EXPLAIN PIPELINE WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(toUInt256(19)), 19, 1, 1091, 19, 19, 19, toNullable(toUInt128(19)), 19, 100, 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(100) Got boring AST Fuzzing step 741 out of 1000 EXPLAIN WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(toUInt256(19)), 19, 1, 1091, 19, 19, 19, toNullable(toUInt128(19)), 19, 100, 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 742 out of 1000 EXPLAIN SYNTAX WITH test_alias_skip_idx__fuzz_24, 1091, 19, toLowCardinality(toUInt256(19)), 19, 1, 1091, 19, 19, 19, toNullable(toUInt128(19)), 19, 100, 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 743 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(1091), 19, toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toUInt128(19), 19, 100, 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 744 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(1091), 19, toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toUInt128(19), materialize(toNullable(19)), 100, 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 745 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(1091), 19, toLowCardinality(19), 19, 1, 1091, 19, 19, 19, toUInt128(19), materialize(toNullable(19)), 100, 1091 SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(100) Got boring AST Fuzzing step 746 out of 1000 WITH test_alias_skip_idx__fuzz_24, toNullable(1091), materialize(toLowCardinality(19)), toLowCardinality(19), 19, materialize(toNullable(1)), 1091, 19, 19, 19, toUInt128(19), materialize(toNullable(19)), 100, toNullable(1091) SELECT materialize('WITH 01091 AS id SELECT 1;'), toNullable(26), 26, 26, toLowCardinality(26) FROM numbers(1000000) WHERE toLowCardinality(100) Current AST is too long, discarding it and using the original AST as a start Fuzzing step 747 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 748 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 749 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 750 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 751 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 752 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(toUInt256(1000000)) Error on processing query 'WITH 1091 AS id SELECT sum(number) FROM numbers(toUInt256(1000000))': Received from localhost:9000. DB::Exception: Illegal type UInt256 expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027afa1 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 753 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 754 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 755 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 756 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 757 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 758 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 759 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 760 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 761 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 762 out of 1000 EXPLAIN PIPELINE header = true WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Error on processing query 'EXPLAIN PIPELINE header = true WITH 1091 AS id SELECT sum(number) FROM numbers(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 763 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 764 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 765 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 766 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) WHERE toNullable(toLowCardinality(toNullable(materialize(19))), 100) Error on processing query 'WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) WHERE toNullable(toLowCardinality(toNullable(materialize(19))), 100)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) WHERE toNullable(toLowCardinality(toNullable(materialize(19))), 100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 767 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 768 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 769 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 770 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(toLowCardinality(1000000)) Error on processing query 'WITH 1091 AS id SELECT sum(number) FROM numbers(toLowCardinality(1000000))': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt32) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027afa1 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 771 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 772 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 773 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 774 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 775 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 776 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 777 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 778 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 779 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 780 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 30 ('1091'): 1091 AS id SELECT sum(number) FROM numbers(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 781 out of 1000 WITH toLowCardinality(1091 AS id) SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 782 out of 1000 WITH toLowCardinality(1091 AS id) SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 783 out of 1000 WITH toLowCardinality(1091 AS id) SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 784 out of 1000 WITH toLowCardinality(1091 AS id) SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 785 out of 1000 WITH toLowCardinality(1091 AS id) SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 786 out of 1000 WITH toLowCardinality(1091 AS id) SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 787 out of 1000 WITH toLowCardinality(1091 AS id) SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 788 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 789 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 790 out of 1000 EXPLAIN PIPELINE header = true, compact = true WITH 1091 AS id SELECT materialize(12), sum(number) IGNORE NULLS FROM numbers(1000000) Error on processing query 'EXPLAIN PIPELINE header = true, compact = true WITH 1091 AS id SELECT materialize(12), sum(number) IGNORE NULLS FROM numbers(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 791 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 792 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 793 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 794 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 795 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 796 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 797 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 798 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 799 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 800 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 801 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 802 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 803 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 804 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 805 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 806 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 807 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 808 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 809 out of 1000 EXPLAIN WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 810 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 811 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 812 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 813 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 814 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 815 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 816 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 817 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 818 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 819 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 820 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 821 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 822 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 823 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 824 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 825 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 826 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 827 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 828 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 829 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 830 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 831 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 832 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 833 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 834 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 835 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 836 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 837 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Got boring AST Fuzzing step 838 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 839 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 840 out of 1000 WITH 1091 AS id SELECT sum(number) IGNORE NULLS FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 841 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 842 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 843 out of 1000 WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 844 out of 1000 WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 845 out of 1000 WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 846 out of 1000 WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 847 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 848 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 849 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 850 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 851 out of 1000 EXPLAIN WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 852 out of 1000 EXPLAIN WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 853 out of 1000 EXPLAIN WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 854 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('1091'): 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 855 out of 1000 EXPLAIN WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 856 out of 1000 EXPLAIN WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 857 out of 1000 WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 858 out of 1000 WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 859 out of 1000 WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) RESPECT NULLS FROM numbers(1000000) Error on processing query 'WITH 1091 AS id SELECT materialize(toUInt256(100)), sum(number) RESPECT NULLS FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Function sum does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 860 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT toUInt256(100), sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 861 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT toUInt256(100), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 862 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT toUInt256(100), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 863 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT toUInt256(100), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 864 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT toUInt256(100), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 865 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT toUInt256(100), sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 866 out of 1000 EXPLAIN WITH 1091 AS id SELECT toUInt256(100), sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 867 out of 1000 EXPLAIN WITH 1091 AS id SELECT toUInt256(100), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 868 out of 1000 EXPLAIN WITH 1091 AS id SELECT toUInt256(100), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 869 out of 1000 EXPLAIN WITH 1091 AS id SELECT toUInt256(100), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 870 out of 1000 EXPLAIN WITH 1091 AS id SELECT toUInt256(100), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 871 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT toUInt256(100), sum(number) FROM numbers(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT toUInt256(100), sum(number) FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('1091'): 1091 AS id SELECT toUInt256(100), sum(number) FROM numbers(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 872 out of 1000 EXPLAIN WITH 1091 AS id SELECT toUInt256(100), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 873 out of 1000 WITH 1091 AS id SELECT toUInt256(100), sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 874 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 875 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 876 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 877 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 878 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 879 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 880 out of 1000 WITH 1091 AS id SELECT 100, sum(1091, number) FROM numbers(1000000) Error on processing query 'WITH 1091 AS id SELECT 100, sum(1091, number) FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Aggregate function sum requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionSum.cpp:0: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionSum(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f93c4eb 5. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104cc7bc 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 @ 0x00000000104cb674 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 881 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 882 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 883 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 884 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 885 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 886 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 887 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 888 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 889 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 890 out of 1000 EXPLAIN PIPELINE `graph=1` = true WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 891 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 892 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 893 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), sum(number) FROM numbers(1000000) PREWHERE toUInt256(materialize(26)) WHERE toUInt128(toUInt128(1091)) Error on processing query 'WITH 1091 AS id SELECT toLowCardinality(100), sum(number) FROM numbers(1000000) PREWHERE toUInt256(materialize(26)) WHERE toUInt128(toUInt128(1091))': Received from localhost:9000. DB::Exception: Table function storage SystemNumbers (table _table_function.numbers) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b1dc0 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 894 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 895 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 896 out of 1000 WITH 1091 AS id SELECT toLowCardinality(100), sum(number) FROM numbers(toNullable(toNullable(toLowCardinality(100)), 1091 AS id), 1000000) Error on processing query 'WITH 1091 AS id SELECT toLowCardinality(100), sum(number) FROM numbers(toNullable(toNullable(toLowCardinality(100)), 1091 AS id), 1000000)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH 1091 AS id SELECT toLowCardinality(100), sum(number) FROM numbers(toNullable(toNullable(toLowCardinality(100)), 1091 AS id), 1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x000000001104f0f2 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 897 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 898 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 899 out of 1000 EXPLAIN PIPELINE compact = true WITH 1091 AS id SELECT toNullable(100), sum(number) FROM numbers(1000000) Error on processing query 'EXPLAIN PIPELINE compact = true WITH 1091 AS id SELECT toNullable(100), sum(number) FROM numbers(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 900 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 901 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 902 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 903 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 904 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 905 out of 1000 WITH 1091 AS id SELECT 100, sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 906 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 907 out of 1000 WITH 1091 AS id SELECT sum(number) RESPECT NULLS FROM numbers(1000000) Error on processing query 'WITH 1091 AS id SELECT sum(number) RESPECT NULLS FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Function sum does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 908 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 909 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 31 ('1091'): 1091 AS id SELECT sum(number) FROM numbers(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 910 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 911 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 912 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 913 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 914 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(toUInt128(100), 1000000) Error on processing query 'WITH 1091 AS id SELECT sum(number) FROM numbers(toUInt128(100), 1000000)': Received from localhost:9000. DB::Exception: Illegal type UInt128 expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027afa1 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a76f 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 915 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 916 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 917 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 918 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 919 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 920 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 921 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 922 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 923 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) PREWHERE toLowCardinality(toNullable('merge_expressions=0')) Error on processing query 'WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) PREWHERE toLowCardinality(toNullable('merge_expressions=0'))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: LowCardinality(Nullable(String)). In query WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) PREWHERE toLowCardinality(toNullable('merge_expressions=0')). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 924 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 925 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 926 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 927 out of 1000 WITH 1091 AS id SELECT toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)), sum(number) FROM numbers(1000000) Error on processing query 'WITH 1091 AS id SELECT toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)), sum(number) FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH 1091 AS id SELECT toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)), sum(number) FROM numbers(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 928 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 929 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers(toLowCardinality(1), 1000000) Error on processing query 'WITH 1091 AS id SELECT sum(number) FROM numbers(toLowCardinality(1), 1000000)': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt8) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027afa1 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a76f 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 930 out of 1000 EXPLAIN PIPELINE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 931 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 932 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 933 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 934 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 935 out of 1000 WITH 1091 AS id SELECT sum(number) RESPECT NULLS FROM numbers(1000000) Error on processing query 'WITH 1091 AS id SELECT sum(number) RESPECT NULLS FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Function sum does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 936 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 937 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 938 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 939 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 940 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 941 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 942 out of 1000 EXPLAIN WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 943 out of 1000 EXPLAIN WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 944 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT sum(number) FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('1091'): 1091 AS id SELECT sum(number) FROM numbers(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 945 out of 1000 EXPLAIN WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 946 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 947 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 948 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 949 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 950 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 951 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 952 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 953 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 954 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 955 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 956 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 957 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 958 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 959 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 960 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT sum(number) FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('1091'): 1091 AS id SELECT sum(number) FROM numbers(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 961 out of 1000 WITH 1091 AS id SELECT sum(toLowCardinality(toNullable(19), id), number) FROM numbers(toUInt128(1000000)) Error on processing query 'WITH 1091 AS id SELECT sum(toLowCardinality(toNullable(19), id), number) FROM numbers(toUInt128(1000000))': Received from localhost:9000. DB::Exception: Illegal type UInt128 expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027afa1 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 962 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 963 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 964 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 965 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 966 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT sum(number) FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('1091'): 1091 AS id SELECT sum(number) FROM numbers(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 967 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 968 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 969 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 970 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 971 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 972 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 973 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 974 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 975 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 976 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 977 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 978 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 979 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 980 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 981 out of 1000 EXPLAIN SYNTAX WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 982 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 983 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 984 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 985 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 986 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 987 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 988 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 989 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 990 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 991 out of 1000 EXPLAIN QUERY TREE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 992 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 AS id SELECT sum(number) FROM numbers(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('1091'): 1091 AS id SELECT sum(number) FROM numbers(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 993 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 994 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 995 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 996 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 997 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Query succeeded, using this AST as a start Fuzzing step 998 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 999 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT sum(number) FROM numbers(1000000) Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 2 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 3 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 4 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 5 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 6 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 7 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 8 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 9 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 10 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 11 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 12 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 13 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 14 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 15 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 16 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 17 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 18 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 19 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 20 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 21 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 22 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 23 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 24 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 25 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 26 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 27 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 28 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 29 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 30 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 31 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 32 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 33 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 34 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 35 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 36 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 37 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 38 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 39 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 40 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 41 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 42 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 43 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 44 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 45 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 46 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 47 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 48 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 49 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 50 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 51 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 52 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 53 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 54 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 55 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 56 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 57 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 58 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 59 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 60 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 61 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 62 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 63 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 64 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 65 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 66 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 67 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 68 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 69 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 70 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 71 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 72 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 73 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 74 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 75 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 76 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 77 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 78 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 79 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 80 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 81 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 82 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 83 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 84 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 85 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 86 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 87 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 88 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 89 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 90 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 91 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 92 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 93 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 94 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 95 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 96 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 97 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 98 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 99 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 100 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 101 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 102 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 103 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 104 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 105 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 106 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 107 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 108 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 109 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 110 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 111 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 112 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 113 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 114 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 115 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 116 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 117 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 118 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 119 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 120 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 121 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 122 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 123 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 124 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 125 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 126 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 127 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 128 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 129 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 130 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 131 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 132 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 133 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 134 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 135 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 136 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 137 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 138 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 139 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 140 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 141 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 142 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 143 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 144 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 145 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 146 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 147 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 148 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 149 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 150 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 151 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 152 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 153 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 154 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 155 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 156 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 157 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 158 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 159 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 160 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 161 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 162 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 163 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 164 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 165 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 166 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 167 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 168 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 169 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 170 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 171 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 172 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 173 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 174 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 175 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 176 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 177 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 178 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 179 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 180 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 181 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 182 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 183 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 184 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 185 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 186 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 187 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 188 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 189 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 190 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 191 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 192 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 193 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 194 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 195 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 196 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 197 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 198 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 199 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 200 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 201 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 202 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 203 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 204 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 205 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 206 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 207 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 208 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 209 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 210 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 211 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 212 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 213 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 214 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 215 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 216 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 217 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 218 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 219 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 220 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 221 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 222 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 223 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 224 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 225 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 226 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 227 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 228 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 229 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 230 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 231 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 232 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 233 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 234 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 235 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 236 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 237 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 238 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 239 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 240 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 241 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 242 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 243 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 244 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 245 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 246 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 247 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 248 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 249 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 250 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 251 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 252 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 253 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 254 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 255 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 256 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 257 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 258 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 259 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 260 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 261 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 262 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 263 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 264 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 265 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 266 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 267 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 268 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 269 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 270 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 271 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 272 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 273 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 274 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 275 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 276 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 277 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 278 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 279 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 280 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 281 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 282 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 283 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 284 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 285 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 286 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 287 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 288 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 289 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 290 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 291 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 292 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 293 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 294 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 295 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 296 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 297 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 298 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 299 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 300 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 301 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 302 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 303 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 304 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 305 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 306 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 307 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 308 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 309 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 310 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 311 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 312 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 313 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 314 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 315 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 316 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 317 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 318 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 319 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 320 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 321 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 322 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 323 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 324 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 325 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 326 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 327 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 328 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 329 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 330 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 331 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 332 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 333 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 334 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 335 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 336 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 337 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 338 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 339 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 340 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 341 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 342 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 343 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 344 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 345 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 346 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 347 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 348 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 349 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 350 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 351 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 352 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 353 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 354 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 355 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 356 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 357 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 358 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 359 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 360 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 361 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 362 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 363 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 364 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 365 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 366 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 367 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 368 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 369 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 370 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 371 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 372 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 373 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 374 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 375 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 376 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 377 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 378 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 379 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 380 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 381 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 382 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 383 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 384 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 385 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 386 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 387 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 388 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 389 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 390 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 391 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 392 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 393 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 394 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 395 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 396 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 397 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 398 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 399 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 400 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 401 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 402 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 403 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 404 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 405 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 406 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 407 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 408 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 409 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 410 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 411 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 412 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 413 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 414 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 415 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 416 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 417 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 418 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 419 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 420 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 421 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 422 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 423 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 424 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 425 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 426 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 427 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 428 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 429 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 430 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 431 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 432 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 433 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 434 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 435 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 436 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 437 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 438 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 439 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 440 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 441 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 442 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 443 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 444 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 445 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 446 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 447 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 448 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 449 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 450 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 451 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 452 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 453 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 454 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 455 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 456 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 457 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 458 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 459 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 460 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 461 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 462 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 463 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 464 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 465 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 466 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 467 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 468 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 469 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 470 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 471 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 472 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 473 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 474 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 475 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 476 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 477 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 478 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 479 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 480 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 481 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 482 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 483 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 484 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 485 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 486 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 487 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 488 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 489 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 490 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 491 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 492 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 493 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 494 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 495 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 496 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 497 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 498 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 499 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 500 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 501 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 502 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 503 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 504 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 505 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 506 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 507 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 508 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 509 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 510 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 511 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 512 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 513 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 514 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 515 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 516 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 517 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 518 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 519 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 520 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 521 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 522 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 523 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 524 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 525 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 526 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 527 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 528 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 529 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 530 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 531 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 532 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 533 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 534 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 535 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 536 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 537 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 538 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 539 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 540 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 541 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 542 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 543 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 544 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 545 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 546 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 547 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 548 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 549 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 550 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 551 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 552 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 553 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 554 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 555 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 556 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 557 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 558 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 559 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 560 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 561 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 562 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 563 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 564 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 565 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 566 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 567 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 568 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 569 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 570 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 571 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 572 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 573 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 574 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 575 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 576 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 577 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 578 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 579 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 580 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 581 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 582 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 583 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 584 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 585 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 586 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 587 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 588 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 589 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 590 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 591 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 592 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 593 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 594 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 595 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 596 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 597 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 598 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 599 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 600 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 601 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 602 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 603 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 604 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 605 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 606 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 607 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 608 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 609 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 610 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 611 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 612 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 613 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 614 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 615 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 616 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 617 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 618 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 619 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 620 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 621 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 622 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 623 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 624 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 625 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 626 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 627 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 628 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 629 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 630 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 631 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 632 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 633 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 634 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 635 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 636 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 637 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 638 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 639 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 640 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 641 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 642 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 643 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 644 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 645 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 646 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 647 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 648 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 649 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 650 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 651 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 652 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 653 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 654 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 655 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 656 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 657 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 658 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 659 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 660 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 661 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 662 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 663 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 664 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 665 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 666 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 667 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 668 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 669 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 670 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 671 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 672 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 673 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 674 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 675 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 676 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 677 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 678 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 679 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 680 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 681 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 682 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 683 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 684 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 685 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 686 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 687 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 688 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 689 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 690 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 691 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 692 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 693 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 694 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 695 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 696 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 697 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 698 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 699 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 700 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 701 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 702 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 703 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 704 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 705 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 706 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 707 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 708 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 709 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 710 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 711 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 712 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 713 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 714 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 715 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 716 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 717 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 718 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 719 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 720 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 721 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 722 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 723 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 724 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 725 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 726 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 727 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 728 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 729 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 730 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 731 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 732 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 733 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 734 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 735 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 736 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 737 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 738 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 739 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 740 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 741 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 742 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 743 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 744 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 745 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 746 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 747 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 748 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 749 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 750 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 751 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 752 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 753 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 754 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 755 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 756 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 757 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 758 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 759 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 760 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 761 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 762 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 763 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 764 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 765 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 766 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 767 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 768 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 769 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 770 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 771 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 772 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 773 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 774 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 775 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 776 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 777 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 778 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 779 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 780 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 781 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 782 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 783 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 784 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 785 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 786 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 787 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 788 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 789 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 790 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 791 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 792 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 793 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 794 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 795 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 796 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 797 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 798 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 799 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 800 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 801 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 802 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 803 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 804 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 805 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 806 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 807 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 808 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 809 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 810 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 811 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 812 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 813 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 814 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 815 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 816 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 817 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 818 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 819 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 820 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 821 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 822 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 823 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 824 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 825 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 826 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 827 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 828 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 829 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 830 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 831 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 832 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 833 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 834 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 835 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 836 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 837 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 838 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 839 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 840 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 841 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 842 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 843 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 844 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 845 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 846 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 847 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 848 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 849 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 850 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 851 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 852 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 853 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 854 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 855 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 856 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 857 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 858 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 859 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 860 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 861 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 862 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 863 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 864 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 865 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 866 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 867 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 868 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 869 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 870 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 871 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 872 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 873 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 874 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 875 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 876 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 877 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 878 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 879 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 880 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 881 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 882 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 883 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 884 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 885 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 886 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 887 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 888 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 889 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 890 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 891 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 892 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 893 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 894 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 895 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 896 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 897 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 898 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 899 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 900 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 901 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 902 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 903 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 904 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 905 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 906 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 907 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 908 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 909 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 910 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 911 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 912 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 913 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 914 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 915 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 916 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 917 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 918 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 919 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 920 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 921 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 922 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 923 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 924 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 925 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 926 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 927 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 928 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 929 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 930 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 931 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 932 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 933 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 934 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 935 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 936 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 937 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 938 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 939 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 940 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 941 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 942 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 943 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 944 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 945 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 946 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 947 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 948 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 949 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 950 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 951 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 952 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 953 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 954 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 955 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 956 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 957 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 958 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 959 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 960 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 961 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 962 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 963 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 964 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 965 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 966 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 967 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 968 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 969 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 970 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 971 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 972 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 973 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 974 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 975 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 976 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 977 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 978 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 979 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 980 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 981 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 982 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 983 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 984 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 985 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 986 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 987 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 988 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 989 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 990 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 991 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 992 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 993 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 994 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 995 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 996 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 997 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 998 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 999 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 2 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 3) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 3 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 4 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 5 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 6 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 7 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND greaterOrEquals(toLowCardinality(toLowCardinality(100)), event_date, today() - 1) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND greaterOrEquals(toLowCardinality(toLowCardinality(100)), event_date, today() - 1) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 8 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 9 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - materialize(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - materialize(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - materialize(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 10 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 0 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 11 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 0 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(test_alias_skip_idx__fuzz_44, query_id, id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 0) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(test_alias_skip_idx__fuzz_44, query_id, id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_44' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 0) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(test_alias_skip_idx__fuzz_44, query_id, id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 12 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) GROUP BY toNullable(query_id = id, materialize(1091)) ORDER BY event_time ASC NULLS FIRST LIMIT 0 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) GROUP BY toNullable(query_id = id, materialize(1091)) ORDER BY event_time ASC NULLS FIRST LIMIT 0) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'id' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) GROUP BY toNullable(query_id = id, materialize(1091)) ORDER BY event_time ASC NULLS FIRST LIMIT 0) AS id. Maybe you meant: ['id']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 13 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 0 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 14 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT -9223372036854775807) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 15 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 16 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 3.4028234663852886e38 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 3.4028234663852886e38) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x0000000011057aee 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 17 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 18 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 19 out of 1000 EXPLAIN PIPELINE `graph=1` = true WITH ( SELECT query_id FROM system.query_log PREWHERE materialize(toLowCardinality(toUInt256(19))) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true WITH (SELECT query_id FROM system.query_log PREWHERE materialize(toLowCardinality(toUInt256(19))) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 20 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND toLowCardinality(toNullable(toLowCardinality('merge_expressions=0'))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND toLowCardinality(toNullable(toLowCardinality('merge_expressions=0'))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Illegal type (Nullable(String)) of 2 argument of function and: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND toLowCardinality(toNullable(toLowCardinality('merge_expressions=0'))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&, String&&) @ 0x000000000702fdab 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6262 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 14. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 21 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 22 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 23 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Current AST is too long, discarding it and using the original AST as a start Fuzzing step 24 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT '0' ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 25 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT '0' ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 26 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT '0' ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 27 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT '0' ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 28 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);'), 58))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT '25.5' ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 29 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);'), 58))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT '25.5' ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Got boring AST Fuzzing step 30 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);'), 58))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT '25.5' ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Got boring AST Fuzzing step 31 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);'), 58)) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT '25.5' ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 32 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT '25.5' ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 33 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND greaterOrEquals(today() - 1) ORDER BY event_time ASC LIMIT '0.0000065537' ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 34 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND greaterOrEquals(today() - 1) ORDER BY event_time ASC LIMIT '-214748364.7' ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 35 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND greaterOrEquals(today() - 1) ORDER BY event_time ASC LIMIT '-214748364.7' ) AS id SELECT greater(uniqExact(thread_id), 1, 2) FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND greaterOrEquals(today() - 1) ORDER BY event_time ASC LIMIT '-214748364.7') AS id SELECT greater(uniqExact(thread_id), 1, 2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND greaterOrEquals(today() - 1) ORDER BY event_time ASC LIMIT '-214748364.7') AS id SELECT greater(uniqExact(thread_id), 1, 2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 36 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (toUInt256(toUInt128(19)) >= (today() - toUInt128(1))) ORDER BY event_time ASC NULLS LAST LIMIT '-214748364.7' ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 37 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (toUInt256(toUInt128(19)) >= (today() - toUInt128(1))) ORDER BY event_time ASC NULLS LAST LIMIT '-214748364.7' ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 38 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (toUInt256(toUInt128(19)) >= (today() - toUInt128(1))) ORDER BY event_time ASC NULLS LAST LIMIT '-214748364.7' ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 39 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (toUInt256(toUInt128(19)) >= (today() - toUInt128(1))) ORDER BY event_time ASC NULLS FIRST LIMIT '-214748364.7' ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 40 out of 1000 WITH ( SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)), query_id FROM system.query_log PREWHERE toLowCardinality(19) WHERE (current_database = currentDatabase()) AND (toUInt256(toUInt128(19)) >= (today() - toUInt128(1))) ORDER BY event_time DESC NULLS LAST LIMIT '-214748364.7' ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 41 out of 1000 WITH ( SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (toUInt256(19) >= (today() - toUInt128(1))) ORDER BY event_time DESC NULLS FIRST LIMIT '-214748364.7' ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 42 out of 1000 WITH ( SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (toUInt256(19) >= (today() - toUInt128(1))) ORDER BY event_time DESC NULLS FIRST LIMIT '-214748364.7' ) AS id SELECT greater(toLowCardinality(normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)), materialize(100)), uniqExact(thread_id) IGNORE NULLS, 2) FROM system.query_thread_log Error on processing query 'WITH (SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (toUInt256(19) >= (today() - toUInt128(1))) ORDER BY event_time DESC NULLS FIRST LIMIT '-214748364.7') AS id SELECT greater(toLowCardinality(normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)), materialize(100)), uniqExact(thread_id) IGNORE NULLS, 2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Cannot apply function normalizeQuery to fixed string.: In scope WITH (SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (toUInt256(19) >= (today() - toUInt128(1))) ORDER BY event_time DESC NULLS FIRST LIMIT '-214748364.7') AS id SELECT greater(toLowCardinality(normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)), materialize(100)), uniqExact(thread_id) IGNORE NULLS, 2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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/normalizeQuery.cpp:50: DB::(anonymous namespace)::Impl::vectorFixed(DB::PODArray, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000aa8ad7b 5. /build/src/Functions/FunctionStringToString.h:0: DB::FunctionStringToString, DB::(anonymous namespace)::Impl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8a98e 6. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 7. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 8. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 9. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69770 10. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c32 11. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 12. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 13. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 23. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 25. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 26. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 30. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 Fuzzing step 43 out of 1000 WITH ( SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(1))))) ORDER BY event_time DESC NULLS FIRST LIMIT '-214748364.7' ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 44 out of 1000 WITH ( SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))))) ORDER BY event_time ASC NULLS LAST LIMIT '-214748364.7' ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 45 out of 1000 WITH ( SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - materialize(1))), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))))) ORDER BY event_time ASC NULLS LAST LIMIT '-214748364.7' ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 46 out of 1000 WITH ( SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - materialize(1))), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))))) ORDER BY event_time ASC NULLS LAST LIMIT '-214748364.7' ) AS id SELECT test_nested_alias_idx__fuzz_9, uniqExact(toLowCardinality(materialize(toNullable(test_alias_skip_idx__fuzz_29, toUInt256(19)))), thread_id) > 2 FROM system.query_thread_log Error on processing query 'WITH (SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - materialize(1))), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))))) ORDER BY event_time ASC NULLS LAST LIMIT '-214748364.7') AS id SELECT test_nested_alias_idx__fuzz_9, uniqExact(toLowCardinality(materialize(toNullable(test_alias_skip_idx__fuzz_29, toUInt256(19)))), thread_id) > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_9' in scope WITH (SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - materialize(1))), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))))) ORDER BY event_time ASC NULLS LAST LIMIT '-214748364.7') AS id SELECT test_nested_alias_idx__fuzz_9, uniqExact(toLowCardinality(materialize(toNullable(test_alias_skip_idx__fuzz_29, toUInt256(19)))), thread_id) > 2 FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 47 out of 1000 WITH ( SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= minus(materialize(1))), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toNullable(toNullable(1))))) ORDER BY event_time ASC NULLS LAST LIMIT '-214748364.7' ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 48 out of 1000 WITH ( SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= minus(materialize(1))), query_id FROM system.query_log PREWHERE toFixedString('merge_expressions=0', toLowCardinality(19)) WHERE (current_database = currentDatabase()) AND greaterOrEquals(19, materialize('default_settings'), today() - toUInt128(toNullable(1))) ORDER BY event_time ASC NULLS LAST LIMIT '-214748364.7' ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Current AST is too long, discarding it and using the original AST as a start Fuzzing step 49 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 50 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 51 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 52 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 53 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 54 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(toNullable(1)))) AND (query_id = id) AND notEquals(thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 2147483647) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(toNullable(1)))) AND (query_id = id) AND notEquals(thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 2147483647) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(toNullable(1)))) AND (query_id = id) AND notEquals(thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 55 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(toNullable(toLowCardinality(19)), query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(toNullable(toLowCardinality(19)), query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(toNullable(toLowCardinality(19)), query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 56 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('-214748364.7', 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('-214748364.7', 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('-214748364.7', 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 57 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 58 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 59 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 60 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 61 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toLowCardinality(toNullable(materialize(toNullable(100)))) ASC, event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND notEquals(thread_id, toLowCardinality(19), master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toLowCardinality(toNullable(materialize(toNullable(100)))) ASC, event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND notEquals(thread_id, toLowCardinality(19), master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toLowCardinality(toNullable(materialize(toNullable(100)))) ASC, event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND notEquals(thread_id, toLowCardinality(19), master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 62 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 63 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 64 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 65 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(toNullable(19), query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(toNullable(19), query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(toNullable(19), query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 66 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - toUInt128(1))) ORDER BY event_time ASC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - toUInt128(1))) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - toUInt128(1))) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 26. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 27. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 28. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 29. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 31. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc Fuzzing step 67 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) GROUP BY 100, 1000000, materialize(toLowCardinality(test_nested_alias_idx__fuzz_15, materialize(100))) ORDER BY event_time ASC NULLS FIRST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) GROUP BY 100, 1000000, materialize(toLowCardinality(test_nested_alias_idx__fuzz_15, materialize(100))) ORDER BY event_time ASC NULLS FIRST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) GROUP BY 100, 1000000, materialize(toLowCardinality(test_nested_alias_idx__fuzz_15, materialize(100))) ORDER BY event_time ASC NULLS FIRST LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 9. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 68 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 69 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 70 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 71 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7 ) AS id SELECT toUInt128(toUInt128(100)), uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE today() - toNullable(1) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT toUInt128(toUInt128(100)), uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE today() - toNullable(1) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(Date). In query WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT toUInt128(toUInt128(100)), uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE today() - toNullable(1) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 72 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (today() - toNullable(1)) AND (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (today() - toNullable(1)) AND (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Illegal type (Nullable(Date)) of 1 argument of function and: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (today() - toNullable(1)) AND (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&, String&&) @ 0x000000000702fdab 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6262 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 73 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(today(), toNullable(toUInt128(1)), 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(today(), toNullable(toUInt128(1)), 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(today(), toNullable(toUInt128(1)), 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 74 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7 ) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 75 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(toLowCardinality(toFixedString('merge_expressions=0', 19))) - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(toLowCardinality(toFixedString('merge_expressions=0', 19))) - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function today doesn't match: passed 1, should be 0: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(toLowCardinality(toFixedString('merge_expressions=0', 19))) - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 76 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(current_database, materialize(toLowCardinality(toNullable(12))), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(current_database, materialize(toLowCardinality(toNullable(12))), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log WHERE equals(current_database, materialize(toLowCardinality(toNullable(12))), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 77 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toLowCardinality(toUInt256(19)))) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toLowCardinality(toUInt256(19)))) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toLowCardinality(toUInt256(19)))) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 78 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY 65535 ASC, event_time ASC NULLS LAST LIMIT 7 ) AS id SELECT materialize(materialize(toLowCardinality(12))), uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE c WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY 65535 ASC, event_time ASC NULLS LAST LIMIT 7) AS id SELECT materialize(materialize(toLowCardinality(12))), uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE c WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'c' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY 65535 ASC, event_time ASC NULLS LAST LIMIT 7) AS id SELECT materialize(materialize(toLowCardinality(12))), uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE c WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 79 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7 ) AS id SELECT greater(materialize(materialize(toUInt256(19))), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 >= (today() - toUInt128(toLowCardinality(toNullable(1)))) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT greater(materialize(materialize(toUInt256(19))), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 >= (today() - toUInt128(toLowCardinality(toNullable(1))))': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT greater(materialize(materialize(toUInt256(19))), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 >= (today() - toUInt128(toLowCardinality(toNullable(1)))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 80 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(toNullable(toNullable(100))) - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(toNullable(toNullable(100))) - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function today doesn't match: passed 1, should be 0: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(toNullable(toNullable(100))) - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 81 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query), materialize('default_settings'), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7 ) AS id SELECT 'default_settings', 16, uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query), materialize('default_settings'), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id SELECT 'default_settings', 16, uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query), materialize('default_settings'), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 82 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 7) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 83 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 EXPLAIN PIPELINE compact = true WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toNullable(toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN PIPELINE compact = true WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toNullable(toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 85 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 86 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(toUInt128(toUInt256(12)), current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(toUInt128(toUInt256(12)), current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log WHERE equals(toUInt128(toUInt256(12)), current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 87 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable(toNullable(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58))))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable(toNullable(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58))))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Cannot apply function normalizeQuery to fixed string.: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable(toNullable(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58))))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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/normalizeQuery.cpp:50: DB::(anonymous namespace)::Impl::vectorFixed(DB::PODArray, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000aa8ad7b 5. /build/src/Functions/FunctionStringToString.h:0: DB::FunctionStringToString, DB::(anonymous namespace)::Impl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8a98e 6. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 7. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 8. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 9. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69ee0 10. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c5d 11. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69770 12. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c32 13. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 14. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 15. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 19. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 22. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 26. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 27. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 30. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 31. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 Fuzzing step 88 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 89 out of 1000 WITH ( SELECT test_alias_skip_idx__fuzz_11, query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT test_alias_skip_idx__fuzz_11, query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_11' in scope (SELECT test_alias_skip_idx__fuzz_11, query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 10. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 90 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 91 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE greater('default_settings', toLowCardinality(toNullable(1, 1091)), materialize(100)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND greaterOrEquals(today() - 1) ORDER BY event_time DESC NULLS FIRST LIMIT 7 ) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - toUInt128(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log PREWHERE greater('default_settings', toLowCardinality(toNullable(1, 1091)), materialize(100)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND greaterOrEquals(today() - 1) ORDER BY event_time DESC NULLS FIRST LIMIT 7) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - toUInt128(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE greater('default_settings', toLowCardinality(toNullable(1, 1091)), materialize(100)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND greaterOrEquals(today() - 1) ORDER BY event_time DESC NULLS FIRST LIMIT 7) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - toUInt128(1))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 92 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 93 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE materialize(toLowCardinality(19)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 94 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE materialize(toLowCardinality(19)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 7 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 95 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE materialize(toLowCardinality(19)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 7 ) AS id SELECT test_alias_skip_idx__fuzz_43, uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE materialize(toLowCardinality(19)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 7) AS id SELECT test_alias_skip_idx__fuzz_43, uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_43' in scope WITH (SELECT query_id FROM system.query_log PREWHERE materialize(toLowCardinality(19)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 7) AS id SELECT test_alias_skip_idx__fuzz_43, uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 96 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE materialize(toLowCardinality(19)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today(toNullable(2147483647)) - 1)) ORDER BY event_time DESC LIMIT 7 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE materialize(toLowCardinality(19)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today(toNullable(2147483647)) - 1)) ORDER BY event_time DESC LIMIT 7) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function today doesn't match: passed 1, should be 0: In scope (SELECT query_id FROM system.query_log PREWHERE materialize(toLowCardinality(19)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today(toNullable(2147483647)) - 1)) ORDER BY event_time DESC LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 22. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 23. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 29. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 30. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 31. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 Fuzzing step 97 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE materialize(toLowCardinality(19)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 7 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 98 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE materialize(toLowCardinality(19)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);')))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 7 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Current AST is too long, discarding it and using the original AST as a start Fuzzing step 99 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 100 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(test_nested_alias_idx__fuzz_0, 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(test_nested_alias_idx__fuzz_0, 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_0' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(test_nested_alias_idx__fuzz_0, 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 17. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 18. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 24. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 27. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 28. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 31. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 Fuzzing step 101 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(1), currentDatabase(), normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), materialize(materialize(toLowCardinality(materialize(100))), toLowCardinality(toLowCardinality(19))) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(1), currentDatabase(), normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), materialize(materialize(toLowCardinality(materialize(100))), toLowCardinality(toLowCardinality(19)))': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(1), currentDatabase(), normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), materialize(materialize(toLowCardinality(materialize(100))), toLowCardinality(toLowCardinality(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 102 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(1)) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toUInt256(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(1)) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toUInt256(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(1)) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toUInt256(1))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 103 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 104 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 105 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 106 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT -2147483647 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT -2147483647) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x0000000011057aee 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 107 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Cannot apply function normalizeQuery to fixed string.: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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/normalizeQuery.cpp:50: DB::(anonymous namespace)::Impl::vectorFixed(DB::PODArray, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000aa8ad7b 5. /build/src/Functions/FunctionStringToString.h:0: DB::FunctionStringToString, DB::(anonymous namespace)::Impl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8a98e 6. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 7. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 8. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 9. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69ee0 10. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c5d 11. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69770 12. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c32 13. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 14. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 15. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 19. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 22. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 26. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 27. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 30. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 31. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 Fuzzing step 108 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 109 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(toFixedString('WITH 01091 AS id SELECT 1;', 26), current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(toFixedString('WITH 01091 AS id SELECT 1;', 26), current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE equals(toFixedString('WITH 01091 AS id SELECT 1;', 26), current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 110 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 111 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 112 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (test_nested_alias_idx__fuzz_38 = current_database) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (test_nested_alias_idx__fuzz_38 = current_database) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_38' in scope (SELECT query_id FROM system.query_log WHERE (test_nested_alias_idx__fuzz_38 = current_database) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 14. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 113 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 114 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT greater(uniqExact(thread_id) RESPECT NULLS, test_alias_skip_idx__fuzz_7, 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT greater(uniqExact(thread_id) RESPECT NULLS, test_alias_skip_idx__fuzz_7, 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 115 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 116 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 117 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 118 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 119 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 120 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 121 out of 1000 WITH ( SELECT 100, query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(thread_id, test_alias_skip_idx__fuzz_17, master_thread_id) Error on processing query 'WITH (SELECT 100, query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(thread_id, test_alias_skip_idx__fuzz_17, master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned empty result of type Tuple(UInt8, String) which cannot be Nullable. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110562aa 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 122 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 123 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 124 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 125 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 126 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 127 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 1023 ) AS id SELECT greater(uniqExact(thread_id), current_database, 2) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toUInt256(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 1023) AS id SELECT greater(uniqExact(thread_id), current_database, 2) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toUInt256(1)))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 1023) AS id SELECT greater(uniqExact(thread_id), current_database, 2) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toUInt256(1)))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 128 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 129 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 130 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 131 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 132 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 133 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 134 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 135 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 136 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 137 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 138 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 139 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 140 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 141 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 142 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 143 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 144 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 145 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 146 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 147 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 148 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 149 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 150 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 151 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 152 out of 1000 WITH ( SELECT toUInt256(test_alias_skip_idx__fuzz_17, toLowCardinality(100)) AND notEquals(thread_id, materialize(toLowCardinality(toNullable(toUInt256(19)))), master_thread_id), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND equals(query_id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT toUInt256(test_alias_skip_idx__fuzz_17, toLowCardinality(100)) AND notEquals(thread_id, materialize(toLowCardinality(toNullable(toUInt256(19)))), master_thread_id), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND equals(query_id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH (SELECT toUInt256(test_alias_skip_idx__fuzz_17, toLowCardinality(100)) AND notEquals(thread_id, materialize(toLowCardinality(toNullable(toUInt256(19)))), master_thread_id), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND equals(query_id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 153 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 154 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) GROUP BY materialize(toNullable(1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) GROUP BY materialize(toNullable(1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Column system.query_log.event_time is not under aggregate function and not in GROUP BY keys. In query (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) GROUP BY materialize(toNullable(1)) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x000000001109825e 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x00000000110972dd 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 11. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 155 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(test_alias_skip_idx__fuzz_14, 100)), uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 1) AS id SELECT toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(test_alias_skip_idx__fuzz_14, 100)), uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_18' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 1) AS id SELECT toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(test_alias_skip_idx__fuzz_14, 100)), uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 156 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 157 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 158 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 1023 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 1023) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 1023) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 159 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 160 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, greater(100), id) AND notEquals(toLowCardinality(toLowCardinality('merge_expressions=0')), thread_id, master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 10000000000.) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, greater(100), id) AND notEquals(toLowCardinality(toLowCardinality('merge_expressions=0')), thread_id, master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 10000000000.) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, greater(100), id) AND notEquals(toLowCardinality(toLowCardinality('merge_expressions=0')), thread_id, master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 161 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE and(current_database = currentDatabase()) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_28 WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE and(current_database = currentDatabase()) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000.) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_28 WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_28' in scope WITH (SELECT query_id FROM system.query_log WHERE and(current_database = currentDatabase()) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000.) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_28 WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 162 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 163 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT 1.0001 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(minus(today())) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT 1.0001) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(minus(today())) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT 1.0001) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(minus(today())) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 164 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY toLowCardinality(22) ASC, event_time ASC NULLS LAST LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today(query) - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY toLowCardinality(22) ASC, event_time ASC NULLS LAST LIMIT 10000000000.) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today(query) - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 165 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT 10000000000. ) AS id SELECT uniqExact(toLowCardinality(toNullable(toLowCardinality(1), 1091), 19), thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT 10000000000.) AS id SELECT uniqExact(toLowCardinality(toNullable(toLowCardinality(1), 1091), 19), thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT 10000000000.) AS id SELECT uniqExact(toLowCardinality(toNullable(toLowCardinality(1), 1091), 19), thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 21. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 23. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 24. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 28. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 166 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE materialize('default_settings') WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE materialize('default_settings') WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT 10000000000.) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: String. In query (SELECT query_id FROM system.query_log PREWHERE materialize('default_settings') WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT 10000000000.) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 9. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 167 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 168 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 169 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 170 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 171 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000. ) AS id SELECT greater(uniqExact(thread_id) IGNORE NULLS, toUInt128(materialize(100)), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000.) AS id SELECT greater(uniqExact(thread_id) IGNORE NULLS, toUInt128(materialize(100)), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000.) AS id SELECT greater(uniqExact(thread_id) IGNORE NULLS, toUInt128(materialize(100)), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 172 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 173 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 174 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 175 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 176 out of 1000 EXPLAIN PIPELINE header = true WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY test_nested_alias_idx__fuzz_15, toUInt128(toUInt128(1091)) Error on processing query 'EXPLAIN PIPELINE header = true WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000.) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY test_nested_alias_idx__fuzz_15, toUInt128(toUInt128(1091))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 177 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 178 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000. ) AS id SELECT greater(uniqExact(thread_id) IGNORE NULLS) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000.) AS id SELECT greater(uniqExact(thread_id) IGNORE NULLS) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000.) AS id SELECT greater(uniqExact(thread_id) IGNORE NULLS) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 179 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 10000000000. ) AS id SELECT greater(materialize(materialize(toLowCardinality(12))), uniqExact(thread_id) IGNORE NULLS, 2) FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(toUInt256(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 10000000000.) AS id SELECT greater(materialize(materialize(toLowCardinality(12))), uniqExact(thread_id) IGNORE NULLS, 2) FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(toUInt256(1)))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 10000000000.) AS id SELECT greater(materialize(materialize(toLowCardinality(12))), uniqExact(thread_id) IGNORE NULLS, 2) FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(toUInt256(1)))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 180 out of 1000 EXPLAIN PIPELINE header = true WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query)) ORDER BY event_time DESC LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN PIPELINE header = true WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query)) ORDER BY event_time DESC LIMIT 10000000000.) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 181 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time ASC LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time ASC LIMIT 10000000000.) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time ASC LIMIT 10000000000.) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 182 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000. ) AS id SELECT toLowCardinality(test_alias_skip_idx__fuzz_14, 100), uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000.) AS id SELECT toLowCardinality(test_alias_skip_idx__fuzz_14, 100), uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_14' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT 10000000000.) AS id SELECT toLowCardinality(test_alias_skip_idx__fuzz_14, 100), uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 183 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query)) ORDER BY event_time DESC LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query)) ORDER BY event_time DESC LIMIT 10000000000.) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query)) ORDER BY event_time DESC LIMIT 10000000000.) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 184 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE materialize(1091 AS id) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 10000000000. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 185 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE materialize(1091 AS id) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 0. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 186 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE materialize(1091 AS id) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 0. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 187 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (1091 AS id) AND (current_database = currentDatabase()) AND (normalizeQuery(toUInt256(1), query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time ASC NULLS LAST LIMIT 0. ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (1091 AS id) AND (current_database = currentDatabase()) AND (normalizeQuery(toUInt256(1), query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time ASC NULLS LAST LIMIT 0.) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log WHERE (1091 AS id) AND (current_database = currentDatabase()) AND (normalizeQuery(toUInt256(1), query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time ASC NULLS LAST LIMIT 0.) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 188 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE materialize(1091 AS id) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 0. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 189 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE materialize(1091 AS id) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 0. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 190 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE materialize(1091 AS id) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 0. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 191 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE materialize(1091 AS id) AND (current_database = currentDatabase()) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 0. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE materialize(1091 AS id) AND (current_database = currentDatabase()) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 0.) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE materialize(1091 AS id) AND (current_database = currentDatabase()) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 0.) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 192 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE materialize(1091 AS id) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 0. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 193 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE materialize(1091 AS id) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 0. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 194 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE materialize(1091 AS id) AND (current_database = currentDatabase()) AND (normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);')) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT 0. ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Current AST is too long, discarding it and using the original AST as a start Fuzzing step 195 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(materialize(1), today(), 1)) ORDER BY event_time DESC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(materialize(1), today(), 1)) ORDER BY event_time DESC NULLS LAST LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(materialize(1), today(), 1)) ORDER BY event_time DESC NULLS LAST LIMIT NULL) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 196 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 197 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 198 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 199 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today(toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19))))) AND toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id)) - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today(toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19))))) AND toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id)) - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Resolve identifier 'thread_id' from parent scope only supported for constants and CTE. Actual system.query_thread_log.thread_id node type COLUMN. In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today(toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19))))) AND toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id)) - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/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&&) @ 0x00000000110784ab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::IdentifierLookup const&, DB::IdentifierResolveScope&) @ 0x000000001105b45b 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a900 6. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 24. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 28. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 29. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 30. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 Fuzzing step 200 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(today(), toNullable('WITH 01091 AS id SELECT 1;'), 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT toUInt256(toNullable(1091)), uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(today(), toNullable('WITH 01091 AS id SELECT 1;'), 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT toUInt256(toNullable(1091)), uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(today(), toNullable('WITH 01091 AS id SELECT 1;'), 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 201 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toUInt128(toUInt256(12)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toUInt128(toUInt256(12)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Illegal type (UInt128) of 1 argument of function and. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&, String&&) @ 0x000000000702fdab 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6262 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsDAG.cpp:3058: DB::ActionsDAG::buildFilterActionsDAG(std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, bool) @ 0x0000000010feec94 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1657: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aac6b 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 14. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 15. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 16. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:537: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105449c 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 22. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 23. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 29. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 30. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 31. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 Fuzzing step 202 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, toNullable(test_alias_skip_idx__fuzz_5, 1), id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, toNullable(test_alias_skip_idx__fuzz_5, 1), id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_5' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, toNullable(test_alias_skip_idx__fuzz_5, 1), id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 203 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toNullable(toNullable(100)) WHERE greaterOrEquals(event_date, toUInt128(100), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toNullable(toNullable(100)) WHERE greaterOrEquals(event_date, toUInt128(100), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toNullable(toNullable(100)) WHERE greaterOrEquals(event_date, toUInt128(100), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 204 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toUInt128(toLowCardinality(toNullable(toNullable(1)))) WHERE (current_database = currentDatabase()) AND (normalizeQuery(toNullable(materialize(toLowCardinality(19))), query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toUInt128(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toUInt128(toLowCardinality(toNullable(toNullable(1)))) WHERE (current_database = currentDatabase()) AND (normalizeQuery(toNullable(materialize(toLowCardinality(19))), query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toUInt128(1)))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log PREWHERE toUInt128(toLowCardinality(toNullable(toNullable(1)))) WHERE (current_database = currentDatabase()) AND (normalizeQuery(toNullable(materialize(toLowCardinality(19))), query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 205 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) Current AST is too long, discarding it and using the original AST as a start Fuzzing step 206 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 207 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 208 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 209 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 210 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality(toLowCardinality(toUInt128(19)), 1), 1091) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 211 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(test_alias_skip_idx__fuzz_26, toLowCardinality(toLowCardinality(toUInt128(19)), 1), 1091) WHERE (current_database = currentDatabase(event_date >= (today() - materialize(toNullable(1))))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Current AST is too long, discarding it and using the original AST as a start Fuzzing step 212 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 213 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND ('default_settings' > 100) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT -2 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(test_alias_skip_idx__fuzz_14, 100)), event_date, today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND ('default_settings' > 100) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT -2) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(test_alias_skip_idx__fuzz_14, 100)), event_date, today() - 1) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_18' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND ('default_settings' > 100) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT -2) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(toNullable(test_alias_skip_idx__fuzz_18, toLowCardinality(test_alias_skip_idx__fuzz_14, 100)), event_date, today() - 1) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 214 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 215 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 216 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 217 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 218 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 219 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 220 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 221 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT -2147483648) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x0000000011057aee 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 222 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 223 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 224 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 225 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 226 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 227 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 228 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 229 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 230 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 231 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 232 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 233 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 234 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 235 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 236 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 237 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 238 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 239 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 240 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 241 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 242 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 243 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 244 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 245 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 246 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 247 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 248 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 249 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 250 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 251 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 252 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 253 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(toLowCardinality(toUInt128(19)), current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(1), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 254 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(toLowCardinality(19), current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(toUInt256(1)), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 255 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(toLowCardinality(19), current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(toUInt256(1)), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 256 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(normalizeQuery(query), toUInt256(toUInt256(1)), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > materialize(materialize(toLowCardinality(19)), 2) FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(normalizeQuery(query), toUInt256(toUInt256(1)), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > materialize(materialize(toLowCardinality(19)), 2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log WHERE equals(normalizeQuery(query), toUInt256(toUInt256(1)), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > materialize(materialize(toLowCardinality(19)), 2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 257 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(2147483647) WHERE equals(19, current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(toUInt256(1)), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 258 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(2147483647) WHERE equals(19, current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(toUInt256(1)), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 259 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(2147483647) WHERE equals(19, current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(toUInt256(1)), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(2147483647) WHERE equals(19, current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(toLowCardinality(materialize(19)), toUInt256(1)), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log GROUP BY toUInt256(materialize(100)), toNullable(toLowCardinality(toLowCardinality(100))) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(2147483647) WHERE equals(19, current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(toLowCardinality(materialize(19)), toUInt256(1)), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log GROUP BY toUInt256(materialize(100)), toNullable(toLowCardinality(toLowCardinality(100)))': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 261 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(2147483647) WHERE equals(19, current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(1), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 262 out of 1000 EXPLAIN PIPELINE header = true WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(2147483647) WHERE equals(materialize(19), current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(1), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN PIPELINE header = true WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(2147483647) WHERE equals(materialize(19), current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(1), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT -9223372036854775807) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 263 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(19, current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(1), 'WITH 01091 AS id SELECT 1;', normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 264 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(19, current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(1), 'WITH 01091 AS id SELECT 1;', normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 265 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(19, current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(1), 'WITH 01091 AS id SELECT 1;', normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 266 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(19, current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(1), 'WITH 01091 AS id SELECT 1;', normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 267 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(19, current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(1), 'WITH 01091 AS id SELECT 1;', normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(19, current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(1), 'WITH 01091 AS id SELECT 1;', normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC LIMIT -9223372036854775807) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 268 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(19, current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(1), 'WITH 01091 AS id SELECT 1;', normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC NULLS LAST LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(19, current_database, currentDatabase()) AND equals(normalizeQuery(query), toUInt256(1), 'WITH 01091 AS id SELECT 1;', normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) ORDER BY event_time DESC NULLS LAST LIMIT -9223372036854775807) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 269 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(19, current_database, toNullable(toLowCardinality(19)), currentDatabase()) AND equals(normalizeQuery(query), toUInt256(1), 'WITH 01091 AS id SELECT 1;', normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 270 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(19, current_database, toNullable(toLowCardinality(19)), currentDatabase()) AND equals(normalizeQuery(query), toUInt256(1), 'WITH 01091 AS id SELECT 1;', normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT greater(2) FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(19, current_database, toNullable(toLowCardinality(19)), currentDatabase()) AND equals(normalizeQuery(query), toUInt256(1), 'WITH 01091 AS id SELECT 1;', normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 3) AS id SELECT greater(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE equals(19, current_database, toNullable(toLowCardinality(19)), currentDatabase()) AND equals(normalizeQuery(query), toUInt256(1), 'WITH 01091 AS id SELECT 1;', normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT 3) AS id SELECT greater(2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 271 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(19, current_database, toNullable(toLowCardinality(toLowCardinality(1), 19)), currentDatabase()) AND equals(normalizeQuery(query), toUInt256(1), 'WITH 01091 AS id SELECT 1;', normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ORDER BY event_time DESC LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 272 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 273 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 274 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT -9223372036854775807) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 275 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS FIRST LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 276 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS FIRST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 277 out of 1000 EXPLAIN PIPELINE compact = true WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN PIPELINE compact = true WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 278 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS FIRST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS FIRST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 279 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 280 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 281 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 282 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: While processing toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)): While processing (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646) AS id: While processing WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c5263 15. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 17. /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 @ 0x0000000011623ef0 18. /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) @ 0x000000001161f094 19. /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&) @ 0x000000001161beb1 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 22. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 23. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 24. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 26. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 27. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 28. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 30. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 31. /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 @ 0x0000000011622615 Fuzzing step 283 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 284 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 285 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 286 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 287 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 288 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 289 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 290 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 291 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 292 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 293 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 294 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 295 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 296 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log WHERE equals(normalizeQuery(query), toUInt256(toUInt256(1)), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(equals(normalizeQuery(query), toUInt256(toUInt256(1)), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')), materialize('with 01091 as id select sum(number) from numbers(1000000);'))) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log WHERE equals(normalizeQuery(query), toUInt256(toUInt256(1)), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(equals(normalizeQuery(query), toUInt256(toUInt256(1)), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')), materialize('with 01091 as id select sum(number) from numbers(1000000);')))': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log WHERE equals(normalizeQuery(query), toUInt256(toUInt256(1)), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(equals(normalizeQuery(query), toUInt256(toUInt256(1)), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')), materialize('with 01091 as id select sum(number) from numbers(1000000);'))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 298 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 299 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 300 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: While processing toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)): While processing (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646) AS id: While processing WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c5263 15. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 17. /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 @ 0x0000000011623ef0 18. /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) @ 0x000000001161f094 19. /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&) @ 0x000000001161beb1 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 22. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 23. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 24. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 26. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 27. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 28. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 30. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 31. /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 @ 0x0000000011622615 Fuzzing step 301 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 302 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 303 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 304 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 305 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 306 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 307 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 308 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: While processing toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)): While processing (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646) AS id: While processing WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c5263 15. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 17. /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 @ 0x0000000011623ef0 18. /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) @ 0x000000001161f094 19. /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&) @ 0x000000001161beb1 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 22. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 23. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 24. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 26. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 27. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 28. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 30. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 31. /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 @ 0x0000000011622615 Fuzzing step 309 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 310 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 311 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) WHERE toNullable(test_alias_skip_idx__fuzz_14, toLowCardinality(toNullable(100))) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time ASC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 312 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) WHERE toNullable(-9223372036854775807, test_alias_skip_idx__fuzz_14, toNullable(100)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time ASC NULLS LAST LIMIT 1025 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 313 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) WHERE toNullable(-9223372036854775807, test_alias_skip_idx__fuzz_14, toNullable(100)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time ASC NULLS LAST LIMIT 1025 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 314 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time ASC NULLS FIRST LIMIT 1025 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 315 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST, event_time ASC NULLS FIRST LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 316 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), toUInt256(26)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST, event_time ASC NULLS FIRST LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 317 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), toUInt256(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time ASC NULLS LAST LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 318 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time ASC NULLS LAST LIMIT -9223372036854775808 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 319 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 320 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log Got boring AST Fuzzing step 321 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time ASC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 322 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 323 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toL. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 324 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: While processing toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)): While processing (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL) AS id: While processing WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c5263 15. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 17. /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 @ 0x0000000011623ef0 18. /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) @ 0x000000001161f094 19. /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&) @ 0x000000001161beb1 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 22. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 23. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 24. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 26. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 27. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 28. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 30. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 31. /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 @ 0x0000000011622615 Fuzzing step 325 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 326 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Got boring AST Fuzzing step 328 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: While processing toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)): While processing (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL) AS id: While processing WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c5263 15. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 17. /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 @ 0x0000000011623ef0 18. /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) @ 0x000000001161f094 19. /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&) @ 0x000000001161beb1 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 22. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 23. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 24. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 26. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 27. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 28. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 30. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 31. /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 @ 0x0000000011622615 Fuzzing step 329 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: While processing toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)): While processing (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL) AS id: While processing WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c5263 15. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 17. /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 @ 0x0000000011623ef0 18. /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) @ 0x000000001161f094 19. /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&) @ 0x000000001161beb1 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 22. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 23. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 24. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 26. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 27. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 28. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 30. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 31. /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 @ 0x0000000011622615 Fuzzing step 330 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Got boring AST Fuzzing step 331 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Got boring AST Fuzzing step 332 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toL. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 333 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: While processing toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)): While processing (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL) AS id: While processing WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c5263 15. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 17. /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 @ 0x0000000011623ef0 18. /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) @ 0x000000001161f094 19. /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&) @ 0x000000001161beb1 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 22. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 23. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 24. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 26. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 27. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 28. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 30. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 31. /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 @ 0x0000000011622615 Fuzzing step 334 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Got boring AST Fuzzing step 335 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Got boring AST Fuzzing step 336 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Got boring AST Fuzzing step 337 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardin. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 338 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 339 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 340 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Got boring AST Fuzzing step 341 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Got boring AST Fuzzing step 342 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 343 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 344 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time DESC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 345 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time DESC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Got boring AST Fuzzing step 346 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time DESC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 347 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time DESC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 348 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time DESC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 349 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time DESC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 350 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), toNullable(26)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time DESC NULLS LAST LIMIT NULL ) AS id SELECT greater(toNullable(1), uniqExact(thread_id), 2) FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), toNullable(26)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time DESC NULLS LAST LIMIT NULL) AS id SELECT greater(toNullable(1), uniqExact(thread_id), 2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), toNullable(26)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time DESC NULLS LAST LIMIT NULL) AS id SELECT greater(toNullable(1), uniqExact(thread_id), 2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 351 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 352 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time DESC LIMIT NULL ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time DESC LIMIT NULL) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 353 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST, event_time DESC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 355 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 356 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS FIRST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 357 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS FIRST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 358 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS FIRST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 359 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 360 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST, event_time DESC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 361 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST, event_time DESC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 362 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST, event_time DESC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 363 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 364 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toUInt256(toNullable(26)) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST, event_time DESC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toUInt256(toNullable(26))': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt256) of column 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a563d 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 365 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE toFixedString(toNullable('WITH 01091 AS id SELECT 1;'), 26) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST, event_time DESC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE toFixedString(toNullable('WITH 01091 AS id SELECT 1;'), 26)': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: Nullable(FixedString(26)). In query WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST, event_time DESC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE toFixedString(toNullable('WITH 01091 AS id SELECT 1;'), 26). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 366 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST, event_time DESC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 367 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 368 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 369 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST, event_time ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 370 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST, event_time ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST, event_time ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 372 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST, event_time ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 373 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 374 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 375 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time DESC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time ASC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 EXPLAIN actions = true WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN actions = true WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "actions" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 378 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 379 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toNullable(toUInt128(1091)) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toNullable(toUInt128(1091))': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt128) of column 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a563d 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 380 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 381 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 382 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 383 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time A. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 384 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 385 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 386 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 387 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 388 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 389 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time A. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 390 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: While processing toNullable('WITH 01091 AS id SELECT 1;', 26): While processing (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL) AS id: While processing WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c5263 15. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 17. /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 @ 0x0000000011623ef0 18. /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) @ 0x000000001161f094 19. /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&) @ 0x000000001161beb1 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 22. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 23. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 24. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 26. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 27. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 28. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 30. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 31. /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 @ 0x0000000011622615 Fuzzing step 391 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 392 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 393 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 394 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 395 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 396 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE toUInt128(materialize(19)) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), materialize(26)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE toUInt128(materialize(19))': Received from localhost:9000. DB::Exception: Illegal type UInt128 of column toUInt128(materialize(19_UInt8)) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x0000000012fcc497 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001316d043 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&) @ 0x000000001163a878 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>>&) @ 0x0000000011668f69 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662c15 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 10. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 11. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 399 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 400 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC, event_time DESC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 401 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 402 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 404 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 405 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 406 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 407 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 408 out of 1000 WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 409 out of 1000 WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 410 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Query succeeded, using this AST as a start Fuzzing step 411 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 412 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 413 out of 1000 EXPLAIN SYNTAX WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN SYNTAX WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Missing columns: 'a2' while processing query: 'SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL', required columns: 'query_id' 'a2', maybe you meant: 'query_id': While processing (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id: While processing WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 414 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 415 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 416 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 417 out of 1000 EXPLAIN SYNTAX WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN SYNTAX WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Missing columns: 'a2' while processing query: 'SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL', required columns: 'query_id' 'a2', maybe you meant: 'query_id': While processing (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id: While processing WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 418 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 419 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 420 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 421 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 422 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 423 out of 1000 EXPLAIN WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 424 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 10. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 11. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 425 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 426 out of 1000 WITH ( SELECT greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;', query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'WITH (SELECT greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;', query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;', query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 427 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 428 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 429 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 430 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 431 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 432 out of 1000 EXPLAIN SYNTAX WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN SYNTAX WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Missing columns: 'a2' while processing query: 'SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL', required columns: 'query_id' 'a2', maybe you meant: 'query_id': While processing (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id: While processing WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 433 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('toLowCardinality'): toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(to. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 434 out of 1000 EXPLAIN SYNTAX WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN SYNTAX WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Missing columns: 'a2' while processing query: 'SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL', required columns: 'query_id' 'a2', maybe you meant: 'query_id': While processing (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id: While processing WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 435 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 436 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN PIPELINE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 437 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 438 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 439 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 440 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 441 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 442 out of 1000 WITH ( SELECT toLowCardinality(greater(100, a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'WITH (SELECT toLowCardinality(greater(100, a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(100, a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 443 out of 1000 EXPLAIN SYNTAX WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN SYNTAX WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Missing columns: 'a2' while processing query: 'SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL', required columns: 'query_id' 'a2', maybe you meant: 'query_id': While processing (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id: While processing WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 444 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 445 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 446 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 447 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 448 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 449 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 450 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 451 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 452 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 453 out of 1000 WITH ( SELECT toLowCardinality(greater(100, a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'WITH (SELECT toLowCardinality(greater(100, a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(100, a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 454 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 455 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNul. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 456 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 457 out of 1000 EXPLAIN WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 458 out of 1000 EXPLAIN SYNTAX WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN SYNTAX WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Missing columns: 'a2' while processing query: 'SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL', required columns: 'query_id' 'a2', maybe you meant: 'query_id': While processing (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id: While processing WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 459 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNul. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 460 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 461 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 462 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN PIPELINE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 463 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 464 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 465 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 466 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 467 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 468 out of 1000 WITH ( SELECT greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;', query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'WITH (SELECT greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;', query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;', query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 469 out of 1000 EXPLAIN SYNTAX WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN SYNTAX WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Missing columns: 'a2' while processing query: 'SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL', required columns: 'query_id' 'a2', maybe you meant: 'query_id': While processing (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id: While processing WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 470 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 471 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 472 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 473 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 474 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN PIPELINE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 475 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 476 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 477 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 478 out of 1000 EXPLAIN SYNTAX WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN SYNTAX WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Missing columns: 'a2' while processing query: 'SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL', required columns: 'query_id' 'a2', maybe you meant: 'query_id': While processing (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id: While processing WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 479 out of 1000 EXPLAIN WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 480 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 481 out of 1000 EXPLAIN SYNTAX WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN SYNTAX WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Missing columns: 'a2' while processing query: 'SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL', required columns: 'query_id' 'a2', maybe you meant: 'query_id': While processing (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id: While processing WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 482 out of 1000 EXPLAIN WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 483 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 484 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 485 out of 1000 EXPLAIN WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 486 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN PIPELINE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 487 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 488 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 489 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 490 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 491 out of 1000 EXPLAIN SYNTAX WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN SYNTAX WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Missing columns: 'a2' while processing query: 'SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL', required columns: 'query_id' 'a2', maybe you meant: 'query_id': While processing (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id: While processing WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 492 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 493 out of 1000 EXPLAIN SYNTAX WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN SYNTAX WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Missing columns: 'a2' while processing query: 'SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL', required columns: 'query_id' 'a2', maybe you meant: 'query_id': While processing (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id: While processing WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 494 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 495 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN PIPELINE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 496 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 497 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 498 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 499 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN PIPELINE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 500 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 10. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 11. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 501 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 502 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 503 out of 1000 EXPLAIN SYNTAX WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN SYNTAX WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Missing columns: 'a2' while processing query: 'SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL', required columns: 'query_id' 'a2', maybe you meant: 'query_id': While processing (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id: While processing WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 504 out of 1000 WITH ( SELECT toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log WHERE materialize(26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'WITH (SELECT toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log WHERE materialize(26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log WHERE materialize(26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 505 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 506 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 10. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 11. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 507 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('toLowCardinality'): toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(to. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 508 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNul. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 509 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 510 out of 1000 EXPLAIN SYNTAX WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN SYNTAX WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Missing columns: 'a2' while processing query: 'SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL', required columns: 'query_id' 'a2', maybe you meant: 'query_id': While processing (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id: While processing WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 511 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 512 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 513 out of 1000 WITH ( SELECT toLowCardinality(greater(100, a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_41 WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'WITH (SELECT toLowCardinality(greater(100, a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_41 WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(100, a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_41 WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 514 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN PIPELINE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 515 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 516 out of 1000 EXPLAIN SYNTAX WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN SYNTAX WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Missing columns: 'a2' while processing query: 'SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL', required columns: 'query_id' 'a2', maybe you meant: 'query_id': While processing (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id: While processing WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 517 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 10. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 11. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 518 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 10. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 11. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 519 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 520 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 521 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 522 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 523 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_41' in scope WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 10. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 11. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 524 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 525 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 526 out of 1000 EXPLAIN SYNTAX WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Error on processing query 'EXPLAIN SYNTAX WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Missing columns: 'a2' while processing query: 'SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL', required columns: 'query_id' 'a2', maybe you meant: 'query_id': While processing (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id: While processing WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 527 out of 1000 EXPLAIN AST WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_41 Got boring AST Fuzzing step 528 out of 1000 WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 529 out of 1000 WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, 100), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 530 out of 1000 WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, 100), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 531 out of 1000 WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, 100), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 532 out of 1000 WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, 100), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 533 out of 1000 WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, 100), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(materialize(toLowCardinality(12)), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 WITH ( SELECT toLowCardinality(greater(toLowCardinality(100), a2, 100), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(materialize(toLowCardinality(12)), thread_id) > 2 FROM system.query_thread_log WHERE toFixedString(materialize(toLowCardinality('merge_expressions=0')), 19) Error on processing query 'WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, 100), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(materialize(toLowCardinality(12)), thread_id) > 2 FROM system.query_thread_log WHERE toFixedString(materialize(toLowCardinality('merge_expressions=0')), 19)': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: LowCardinality(FixedString(19)). In query WITH (SELECT toLowCardinality(greater(toLowCardinality(100), a2, 100), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL) AS id SELECT uniqExact(materialize(toLowCardinality(12)), thread_id) > 2 FROM system.query_thread_log WHERE toFixedString(materialize(toLowCardinality('merge_expressions=0')), 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 535 out of 1000 WITH ( SELECT toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, 100), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(materialize(toLowCardinality(12)), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 536 out of 1000 WITH ( SELECT toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, 100), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(materialize(toLowCardinality(12)), thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 537 out of 1000 WITH ( SELECT toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, 100), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(toLowCardinality(toNullable(toNullable(19))), materialize(12), thread_id) > 2 FROM system.query_thread_log PREWHERE toNullable(toLowCardinality(toUInt256(100))) Error on processing query 'WITH (SELECT toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, 100), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST LIMIT NULL) AS id SELECT uniqExact(toLowCardinality(toNullable(toNullable(19))), materialize(12), thread_id) > 2 FROM system.query_thread_log PREWHERE toNullable(toLowCardinality(toUInt256(100)))': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt256) of column 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a563d 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 538 out of 1000 WITH ( SELECT toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, 100), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT uniqExact(materialize(toLowCardinality(12)), thread_id) > toLowCardinality(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 539 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 540 out of 1000 EXPLAIN PIPELINE compact = true WITH ( SELECT query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN PIPELINE compact = true WITH (SELECT query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 541 out of 1000 WITH ( SELECT toNullable(toLowCardinality(toNullable(toLowCardinality(1), 1091))), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 542 out of 1000 WITH ( SELECT toNullable(toLowCardinality(toNullable(toLowCardinality('0', 1), 1091))), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log Error on processing query 'WITH (SELECT toNullable(toLowCardinality(toNullable(toLowCardinality('0', 1), 1091))), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT toNullable(toLowCardinality(toNullable(toLowCardinality('0', 1), 1091))), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 543 out of 1000 WITH ( SELECT toNullable(toNullable(toLowCardinality(1), 1091)), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 544 out of 1000 WITH ( SELECT toNullable(toNullable(1, 1091)), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE toUInt128(100) Error on processing query 'WITH (SELECT toNullable(toNullable(1, 1091)), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC LIMIT NULL) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE toUInt128(100)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 545 out of 1000 WITH ( SELECT toNullable(toNullable(toLowCardinality(1), 1091)), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC LIMIT NULL ) AS id SELECT uniqExact(1091, thread_id) RESPECT NULLS > toLowCardinality(toLowCardinality(toNullable(2))) FROM system.query_thread_log Error on processing query 'WITH (SELECT toNullable(toNullable(toLowCardinality(1), 1091)), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC LIMIT NULL) AS id SELECT uniqExact(1091, thread_id) RESPECT NULLS > toLowCardinality(toLowCardinality(toNullable(2))) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 546 out of 1000 WITH ( SELECT toNullable(toLowCardinality(1), 1091), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 547 out of 1000 WITH ( SELECT toNullable(toLowCardinality(1), 1091), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > toLowCardinality(toLowCardinality(26), 2) FROM system.query_thread_log Error on processing query 'WITH (SELECT toNullable(toLowCardinality(1), 1091), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC LIMIT NULL) AS id SELECT uniqExact(thread_id) > toLowCardinality(toLowCardinality(26), 2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH (SELECT toNullable(toLowCardinality(1), 1091), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC LIMIT NULL) AS id SELECT uniqExact(thread_id) > toLowCardinality(toLowCardinality(26), 2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 548 out of 1000 WITH ( SELECT toNullable(toLowCardinality(1), 1091), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC LIMIT NULL ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Got boring AST Fuzzing step 549 out of 1000 WITH ( SELECT toLowCardinality(1), 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 550 out of 1000 WITH ( SELECT toLowCardinality(1), 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST LIMIT NULL ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Got boring AST Fuzzing step 551 out of 1000 WITH ( SELECT toLowCardinality(1), 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 WITH ( SELECT toLowCardinality(1), 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST LIMIT NULL ) AS id SELECT 1048576, greater(uniqExact(thread_id), 1025, toLowCardinality(2)) FROM system.query_thread_log GROUP BY thread_id != master_thread_id, toUInt128(materialize(toNullable(19))) AND toUInt256(test_alias_skip_idx__fuzz_7, toLowCardinality(100)) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT toLowCardinality(1), 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST LIMIT NULL) AS id SELECT 1048576, greater(uniqExact(thread_id), 1025, toLowCardinality(2)) FROM system.query_thread_log GROUP BY thread_id != master_thread_id, toUInt128(materialize(toNullable(19))) AND toUInt256(test_alias_skip_idx__fuzz_7, toLowCardinality(100)) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope WITH (SELECT toLowCardinality(1), 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST LIMIT NULL) AS id SELECT 1048576, greater(uniqExact(thread_id), 1025, toLowCardinality(2)) FROM system.query_thread_log GROUP BY thread_id != master_thread_id, toUInt128(materialize(toNullable(19))) AND toUInt256(test_alias_skip_idx__fuzz_7, toLowCardinality(100)) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 553 out of 1000 WITH ( SELECT toLowCardinality(1), 1091, query_id FROM system.query_log WHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > toLowCardinality(toUInt128(materialize(1091)), 2) FROM system.query_thread_log Error on processing query 'WITH (SELECT toLowCardinality(1), 1091, query_id FROM system.query_log WHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST LIMIT NULL) AS id SELECT 1048576, uniqExact(thread_id) > toLowCardinality(toUInt128(materialize(1091)), 2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH (SELECT toLowCardinality(1), 1091, query_id FROM system.query_log WHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST LIMIT NULL) AS id SELECT 1048576, uniqExact(thread_id) > toLowCardinality(toUInt128(materialize(1091)), 2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 554 out of 1000 WITH ( SELECT 1, materialize(1091), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 555 out of 1000 WITH ( SELECT 1, materialize(1091), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST LIMIT NULL ) AS id SELECT test_nested_alias_idx__fuzz_30, 1048576, uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Error on processing query 'WITH (SELECT 1, materialize(1091), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST LIMIT NULL) AS id SELECT test_nested_alias_idx__fuzz_30, 1048576, uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_30' in scope WITH (SELECT 1, materialize(1091), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST LIMIT NULL) AS id SELECT test_nested_alias_idx__fuzz_30, 1048576, uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 556 out of 1000 WITH ( SELECT 1, materialize(1091), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Got boring AST Fuzzing step 557 out of 1000 WITH ( SELECT 1, materialize(1091), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) DESC NULLS LAST LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Got boring AST Fuzzing step 558 out of 1000 WITH ( SELECT 1, materialize(toUInt256(1091)), query_id FROM system.query_log WHERE toNullable(materialize('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 559 out of 1000 WITH ( SELECT 1, materialize(toUInt256(1091)), query_id FROM system.query_log WHERE toNullable(materialize('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 560 out of 1000 WITH ( SELECT 1, materialize(1091), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT materialize(toLowCardinality(1048576)), uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 561 out of 1000 WITH ( SELECT 1, materialize(1091), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST LIMIT NULL ) AS id SELECT materialize(1048576), uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 562 out of 1000 WITH ( SELECT 1, materialize(a, 1091), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 WITH ( SELECT 1, materialize(a, 1091), query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 564 out of 1000 WITH ( SELECT 1, a, 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 565 out of 1000 WITH ( SELECT 1, a, 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 566 out of 1000 WITH ( SELECT 1, a, 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 567 out of 1000 WITH ( SELECT 1, a, 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 568 out of 1000 WITH ( SELECT 1, a, 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 569 out of 1000 WITH ( SELECT toNullable(1), a, 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 570 out of 1000 WITH ( SELECT toNullable(1), a, 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 571 out of 1000 WITH ( SELECT toNullable(1), a, 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 572 out of 1000 WITH ( SELECT toNullable(1), a, 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 573 out of 1000 WITH ( SELECT toNullable(1), a, 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT 1048576, uniqExact(toFixedString(toNullable('merge_expressions=0'), 19), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 574 out of 1000 WITH ( SELECT toNullable(1), a, 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT 1048576, uniqExact(toFixedString(toNullable('merge_expressions=0'), 19), thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 575 out of 1000 WITH ( SELECT 1, a, 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT 1048576, a, uniqExact(toFixedString(toNullable('merge_expressions=0'), 19), thread_id) > 2 FROM system.query_thread_log Error on processing query 'WITH (SELECT 1, a, 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL) AS id SELECT 1048576, a, uniqExact(toFixedString(toNullable('merge_expressions=0'), 19), thread_id) > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope WITH (SELECT 1, a, 1091, query_id FROM system.query_log WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL) AS id SELECT 1048576, a, uniqExact(toFixedString(toNullable('merge_expressions=0'), 19), thread_id) > 2 FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 576 out of 1000 WITH ( SELECT 1, a, 1091, query_id FROM system.query_log PREWHERE toNullable('merge_expressions=0', 19) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT 1048576, greater(uniqExact(toFixedString(toNullable('merge_expressions=0'), 19), thread_id)) FROM system.query_thread_log Error on processing query 'WITH (SELECT 1, a, 1091, query_id FROM system.query_log PREWHERE toNullable('merge_expressions=0', 19) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL) AS id SELECT 1048576, greater(uniqExact(toFixedString(toNullable('merge_expressions=0'), 19), thread_id)) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT 1, a, 1091, query_id FROM system.query_log PREWHERE toNullable('merge_expressions=0', 19) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL) AS id SELECT 1048576, greater(uniqExact(toFixedString(toNullable('merge_expressions=0'), 19), thread_id)) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 577 out of 1000 WITH ( SELECT toNullable(1), a, 1091, query_id FROM system.query_log WHERE toNullable(toLowCardinality(toNullable('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT 1048576, uniqExact(toFixedString(toNullable('merge_expressions=0'), 19), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 578 out of 1000 WITH ( SELECT toNullable(1), a, 1091, query_id FROM system.query_log WHERE toNullable(toLowCardinality(toNullable('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT 1048576, uniqExact(toFixedString(toNullable('merge_expressions=0'), 19), thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 579 out of 1000 WITH ( SELECT 1, a, 1091, query_id FROM system.query_log WHERE toNullable(toNullable('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT 1048576, greater(toLowCardinality(1), uniqExact(toNullable('merge_expressions=0'), 19, thread_id), 2) FROM system.query_thread_log Error on processing query 'WITH (SELECT 1, a, 1091, query_id FROM system.query_log WHERE toNullable(toNullable('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL) AS id SELECT 1048576, greater(toLowCardinality(1), uniqExact(toNullable('merge_expressions=0'), 19, thread_id), 2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope WITH (SELECT 1, a, 1091, query_id FROM system.query_log WHERE toNullable(toNullable('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL) AS id SELECT 1048576, greater(toLowCardinality(1), uniqExact(toNullable('merge_expressions=0'), 19, thread_id), 2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 580 out of 1000 WITH ( SELECT toNullable(1), a, 1091, query_id FROM system.query_log WHERE toNullable(toLowCardinality(toNullable('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS FIRST LIMIT NULL ) AS id SELECT 1048576, uniqExact(toFixedString(toNullable('merge_expressions=0'), 19), thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 581 out of 1000 WITH ( SELECT toNullable(1), a, 1091, query_id FROM system.query_log WHERE toNullable(toNullable('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT toNullable(1048576), uniqExact(toFixedString('merge_expressions=0', 19), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 582 out of 1000 WITH ( SELECT toNullable(1), a, 1091, query_id FROM system.query_log WHERE toNullable(toNullable('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT toNullable(1048576), uniqExact(toFixedString('merge_expressions=0', 19), thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 583 out of 1000 WITH ( SELECT toNullable(1), a, 1091, query_id FROM system.query_log WHERE toNullable(toNullable('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT toNullable(1048576), uniqExact(toFixedString('merge_expressions=0', 19), thread_id) RESPECT NULLS > 2 FROM system.query_thread_log Error on processing query 'WITH (SELECT toNullable(1), a, 1091, query_id FROM system.query_log WHERE toNullable(toNullable('WITH 01091 AS id SELECT 1;'), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT toNullable(1048576), uniqExact(toFixedString('merge_expressions=0', 19), thread_id) RESPECT NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 584 out of 1000 WITH ( SELECT toNullable(1), a, 1091, query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact(toFixedString('merge_expressions=0', 19), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 585 out of 1000 WITH ( SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 586 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 588 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 589 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 590 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 591 out of 1000 EXPLAIN SYNTAX WITH ( SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Missing columns: 'a' while processing query: 'SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL', required columns: 'a' 'query_id', maybe you meant: 'query_id': While processing (SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id: While processing WITH (SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 592 out of 1000 EXPLAIN SYNTAX WITH ( SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Missing columns: 'a' while processing query: 'SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL', required columns: 'a' 'query_id', maybe you meant: 'query_id': While processing (SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id: While processing WITH (SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 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 @ 0x0000000011895518 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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&) @ 0x000000001161beb1 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 11. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 12. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 15. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 16. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 18. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 19. /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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 593 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 594 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 595 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 596 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 597 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 598 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 599 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 600 out of 1000 WITH ( SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 601 out of 1000 WITH ( SELECT toNullable(1), a, toNullable(1091), query_id FROM system.query_log WHERE toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) GROUP BY toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)), materialize(toNullable(1)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 602 out of 1000 WITH ( SELECT toNullable(1), a, 1091, query_id FROM system.query_log WHERE toNullable(2, toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) GROUP BY toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)), materialize(toNullable(1)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST LIMIT NULL ) AS id SELECT 1048576, uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 603 out of 1000 WITH ( SELECT toNullable(1), a, 1091, query_id FROM system.query_log WHERE toNullable(2, toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26) GROUP BY toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)), materialize(toNullable(1)) ORDER BY materialize(materialize(toLowCardinality(100))) ASC NULLS LAST LIMIT NULL ) AS id SELECT materialize(1048576), uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 EXPLAIN PIPELINE WITH ( SELECT toNullable(1), a, 1091, query_id FROM system.query_log PREWHERE test_nested_alias_idx__fuzz_14 WHERE toNullable(2, toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) GROUP BY toNullable(test_alias_skip_idx__fuzz_14, toUInt128(materialize(toNullable(100)))), materialize(toNullable(1)) WITH ROLLUP ORDER BY materialize(materialize(toLowCardinality(100))) ASC LIMIT NULL ) AS id SELECT materialize(1048576), uniqExact('merge_expressions=0', 19, thread_id) > 2 FROM system.query_thread_log Current AST is too long, discarding it and using the original AST as a start Fuzzing step 605 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 606 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 256) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 607 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 608 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(test_alias_skip_idx__fuzz_11) - 1)) AND equals(query_id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(test_alias_skip_idx__fuzz_11) - 1)) AND equals(query_id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_11' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(test_alias_skip_idx__fuzz_11) - 1)) AND equals(query_id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 609 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 610 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(toUInt256(26), today(), 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(toUInt256(26), today(), 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(toUInt256(26), today(), 1)) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 611 out of 1000 EXPLAIN PIPELINE header = true, compact = true WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN PIPELINE header = true, compact = true WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 612 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT greater(toNullable(materialize(19)), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT greater(toNullable(materialize(19)), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT greater(toNullable(materialize(19)), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 613 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 614 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 616 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) ASC, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, c + 1, id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, c + 1, id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'c' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, c + 1, id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 618 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) ASC, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 619 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 620 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(materialize(toLowCardinality(materialize(100))), toLowCardinality(toLowCardinality(19)))) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS FIRST, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(materialize(toLowCardinality(materialize(100))), toLowCardinality(toLowCardinality(19)))) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS FIRST, event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(materialize(toLowCardinality(materialize(100))), toLowCardinality(toLowCardinality(19)))) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS FIRST, event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 621 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC, event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC, event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 622 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(equals(toLowCardinality(19), current_database, currentDatabase()), materialize('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(thread_id, toNullable('WITH 01091 AS id SELECT 1;', 26), master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(equals(toLowCardinality(19), current_database, currentDatabase()), materialize('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC, event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(thread_id, toNullable('WITH 01091 AS id SELECT 1;', 26), master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(equals(toLowCardinality(19), current_database, currentDatabase()), materialize('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC, event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 22. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 23. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 29. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 30. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 31. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 Fuzzing step 623 out of 1000 EXPLAIN PIPELINE header = true WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) ASC, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN PIPELINE header = true WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) ASC, event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 624 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS LAST, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 625 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC, event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC, event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 626 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS LAST, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 627 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS LAST, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 628 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS LAST, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - toNullable(1), event_date, today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS LAST, event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - toNullable(1), event_date, today() - 1) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS LAST, event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - toNullable(1), event_date, today() - 1) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 629 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS LAST, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 630 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(toNullable(test_alias_skip_idx__fuzz_14, 100), query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS LAST, event_time ASC LIMIT 1025 ) AS id SELECT greater(uniqExact(thread_id), toNullable(toFixedString('nested_alias', 12)), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(toNullable(test_alias_skip_idx__fuzz_14, 100), query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS LAST, event_time ASC LIMIT 1025) AS id SELECT greater(uniqExact(thread_id), toNullable(toFixedString('nested_alias', 12)), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(toNullable(test_alias_skip_idx__fuzz_14, 100), query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS LAST, event_time ASC LIMIT 1025) AS id SELECT greater(uniqExact(thread_id), toNullable(toFixedString('nested_alias', 12)), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 631 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS LAST, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS LAST, event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS LAST, event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 632 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58))) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS LAST, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58))) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS LAST, event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Cannot apply function normalizeQuery to fixed string.: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58))) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) DESC NULLS LAST, event_time ASC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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/normalizeQuery.cpp:50: DB::(anonymous namespace)::Impl::vectorFixed(DB::PODArray, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000aa8ad7b 5. /build/src/Functions/FunctionStringToString.h:0: DB::FunctionStringToString, DB::(anonymous namespace)::Impl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8a98e 6. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 7. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 8. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 9. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69770 10. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c32 11. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 12. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 13. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 24. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 25. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 28. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 29. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 31. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc Fuzzing step 633 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND greaterOrEquals(event_date, 19, today() - 1) ORDER BY toUInt128(1) DESC NULLS LAST, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(255) - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND greaterOrEquals(event_date, 19, today() - 1) ORDER BY toUInt128(1) DESC NULLS LAST, event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(255) - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function today doesn't match: passed 1, should be 0: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND greaterOrEquals(event_date, 19, today() - 1) ORDER BY toUInt128(1) DESC NULLS LAST, event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(255) - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 634 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 635 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query)) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) ASC, event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query)) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) ASC, event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query)) AND (event_date >= (today() - 1)) ORDER BY toUInt128(1) ASC, event_time ASC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 636 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 637 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT test_alias_skip_idx__fuzz_38, uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 1) AS id SELECT test_alias_skip_idx__fuzz_38, uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_38' in scope WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 1) AS id SELECT test_alias_skip_idx__fuzz_38, uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 638 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 639 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 640 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 641 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 642 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 643 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 644 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) DESC NULLS FIRST, event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 645 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) DESC NULLS FIRST, event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND notEquals(thread_id, test_alias_skip_idx__fuzz_11, master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) DESC NULLS FIRST, event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND notEquals(thread_id, test_alias_skip_idx__fuzz_11, master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_11' in scope WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) DESC NULLS FIRST, event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND notEquals(thread_id, test_alias_skip_idx__fuzz_11, master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 646 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 647 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(toUInt128(test_alias_skip_idx__fuzz_24, 1091, 19), thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC LIMIT 1) AS id SELECT uniqExact(toUInt128(test_alias_skip_idx__fuzz_24, 1091, 19), thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_24' in scope WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC LIMIT 1) AS id SELECT uniqExact(toUInt128(test_alias_skip_idx__fuzz_24, 1091, 19), thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 648 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC LIMIT -2147483647 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC LIMIT -2147483647) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x0000000011057aee 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 649 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 650 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 651 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 652 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 653 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 654 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND equals(query_id, -9223372036854775807, id) AND toLowCardinality(toUInt128(100)) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC, event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND equals(query_id, -9223372036854775807, id) AND toLowCardinality(toUInt128(100)) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC, event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND equals(query_id, -9223372036854775807, id) AND toLowCardinality(toUInt128(100)) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 655 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 656 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= minus(materialize(a, 1091), today(), 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC, event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= minus(materialize(a, 1091), today(), 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC, event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= minus(materialize(a, 1091), today(), 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 657 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 658 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 659 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS FIRST, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(today(), test_nested_alias_idx__fuzz_41, 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS FIRST, event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(today(), test_nested_alias_idx__fuzz_41, 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_41' in scope WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS FIRST, event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(today(), test_nested_alias_idx__fuzz_41, 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 660 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 661 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS FIRST, event_time DESC LIMIT 1025 ) AS id SELECT uniqExact(minus(today(), a2 > toNullable(100), 1), thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(test_nested_alias_idx__fuzz_9, query_id, id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS FIRST, event_time DESC LIMIT 1025) AS id SELECT uniqExact(minus(today(), a2 > toNullable(100), 1), thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(test_nested_alias_idx__fuzz_9, query_id, id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS FIRST, event_time DESC LIMIT 1025) AS id SELECT uniqExact(minus(today(), a2 > toNullable(100), 1), thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(test_nested_alias_idx__fuzz_9, query_id, id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 19. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 662 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 663 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 664 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toNullable(22), today() - 1, toFixedString('nested_alias', 12), toLowCardinality(toNullable(toLowCardinality(1), 1091), 19) ORDER BY toUInt128(1) ASC, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log GROUP BY toNullable(22), today() - 1, toFixedString('nested_alias', 12), toLowCardinality(toNullable(toLowCardinality(1), 1091), 19) ORDER BY toUInt128(1) ASC, event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log GROUP BY toNullable(22), today() - 1, toFixedString('nested_alias', 12), toLowCardinality(toNullable(toLowCardinality(1), 1091), 19) ORDER BY toUInt128(1) ASC, event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 18. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 19. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 22. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 25. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 26. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 28. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 29. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 Fuzzing step 665 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 666 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toLowCardinality(materialize(19)) ORDER BY toUInt128(1) ASC NULLS LAST, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 667 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toLowCardinality(uniqExact(thread_id) IGNORE NULLS, materialize(19)) ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE materialize('WITH 01091 AS id SELECT 1;') AND (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE toLowCardinality(uniqExact(thread_id) IGNORE NULLS, materialize(19)) ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE materialize('WITH 01091 AS id SELECT 1;') AND (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Resolve identifier 'thread_id' from parent scope only supported for constants and CTE. Actual system.query_thread_log.thread_id node type COLUMN. In scope (SELECT query_id FROM system.query_log WHERE toLowCardinality(uniqExact(thread_id) IGNORE NULLS, materialize(19)) ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/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&&) @ 0x00000000110784ab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::IdentifierLookup const&, DB::IdentifierResolveScope&) @ 0x000000001105b45b 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a900 6. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 668 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toLowCardinality(materialize(19)) ORDER BY toUInt128(1) ASC NULLS LAST, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(materialize(toUInt256(1)), thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 669 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toLowCardinality(19) ORDER BY toUInt128(1) ASC NULLS LAST, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(materialize(toUInt256(1)), thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 670 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toLowCardinality(19) ORDER BY toUInt128(1) ASC NULLS LAST, event_time ASC LIMIT 1 ) AS id SELECT '0', uniqExact(materialize(toUInt256(1)), thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 671 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toLowCardinality(19) ORDER BY toUInt128(1) ASC NULLS LAST, event_time ASC LIMIT 1 ) AS id SELECT '0', uniqExact(materialize(1), thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 672 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time ASC LIMIT 1 ) AS id SELECT '0', materialize(toLowCardinality(toNullable(toLowCardinality(1), 1091), 19)), uniqExact(materialize(1), thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time ASC LIMIT 1) AS id SELECT '0', materialize(toLowCardinality(toNullable(toLowCardinality(1), 1091), 19)), uniqExact(materialize(1), thread_id) IGNORE NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log ORDER BY toUInt128(1) ASC NULLS LAST, event_time ASC LIMIT 1) AS id SELECT '0', materialize(toLowCardinality(toNullable(toLowCardinality(1), 1091), 19)), uniqExact(materialize(1), thread_id) IGNORE NULLS > 2 FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 673 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toLowCardinality(19) GROUP BY query, toLowCardinality(greater(toLowCardinality(toUInt128(100)), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;') ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC LIMIT 1 ) AS id SELECT '0', uniqExact(materialize(1), thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 674 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toLowCardinality(19) GROUP BY query, toLowCardinality(greater(toLowCardinality(toUInt128(100)), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;') WITH ROLLUP ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC LIMIT 1 ) AS id SELECT '0', greater(uniqExact(materialize(1), thread_id) IGNORE NULLS) FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE toLowCardinality(19) GROUP BY query, toLowCardinality(greater(toLowCardinality(toUInt128(100)), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;') WITH ROLLUP ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC LIMIT 1) AS id SELECT '0', greater(uniqExact(materialize(1), thread_id) IGNORE NULLS) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE toLowCardinality(19) GROUP BY query, toLowCardinality(greater(toLowCardinality(toUInt128(100)), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;') WITH ROLLUP ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC LIMIT 1) AS id SELECT '0', greater(uniqExact(materialize(1), thread_id) IGNORE NULLS) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 675 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toLowCardinality(19) GROUP BY query, toLowCardinality(greater(toLowCardinality(toUInt128(100)), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;') ORDER BY toUInt128(1) ASC NULLS FIRST, event_time ASC LIMIT 1 ) AS id SELECT '0', uniqExact(1, thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 676 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toLowCardinality(19) GROUP BY query, toLowCardinality(greater(toLowCardinality(toUInt128(100)), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;') ORDER BY toUInt128(1) ASC NULLS FIRST, event_time DESC LIMIT 1 ) AS id SELECT '0', uniqExact(1, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 677 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toLowCardinality(19) GROUP BY query, toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;') ORDER BY event_time DESC LIMIT 1 ) AS id SELECT '0', uniqExact(1, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toLowCardinality(19) GROUP BY GROUPING SETS ( (query), (toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT '0', uniqExact(1, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 679 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toLowCardinality(19) GROUP BY GROUPING SETS ( (query), (toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT '0', uniqExact(1, thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 680 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, toLowCardinality(toNullable(100))), 'WITH 01091 AS id SELECT 1;'))) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT '0', uniqExact(1, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 681 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, toLowCardinality(-2147483649, toNullable(100))), 'WITH 01091 AS id SELECT 1;'))) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT '0', uniqExact(1, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 682 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), 'WITH 01091 AS id SELECT 1;'))) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT '0', uniqExact(1, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 683 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (toLowCardinality(greater(toLowCardinality(toLowCardinality(toNullable(100))), a2, event_date, -2147483649, 100), 'WITH 01091 AS id SELECT 1;'))) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT '0', uniqExact(1, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 684 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (toLowCardinality(greater(toLowCardinality(toLowCardinality(toNullable(100))), a2, event_date, -2147483649, 100), 'WITH 01091 AS id SELECT 1;'))) ORDER BY event_time DESC NULLS LAST LIMIT 65537 ) AS id SELECT '0', uniqExact(1, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 685 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (toLowCardinality(greater(toLowCardinality(toNullable(100)), a2, event_date, -2147483649, 100), 'WITH 01091 AS id SELECT 1;'))) ORDER BY event_time DESC NULLS LAST LIMIT 65537 ) AS id SELECT '0', greater(uniqExact(1, thread_id)) FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ((query), (toLowCardinality(greater(toLowCardinality(toNullable(100)), a2, event_date, -2147483649, 100), 'WITH 01091 AS id SELECT 1;'))) ORDER BY event_time DESC NULLS LAST LIMIT 65537) AS id SELECT '0', greater(uniqExact(1, thread_id)) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ((query), (toLowCardinality(greater(toLowCardinality(toNullable(100)), a2, event_date, -2147483649, 100), 'WITH 01091 AS id SELECT 1;'))) ORDER BY event_time DESC NULLS LAST LIMIT 65537) AS id SELECT '0', greater(uniqExact(1, thread_id)) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 686 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (greater(toLowCardinality(toLowCardinality(toNullable(100))), a2, event_date, -2147483649, 100), 'WITH 01091 AS id SELECT 1;')) ORDER BY event_time DESC NULLS LAST LIMIT 65537 ) AS id SELECT '0', uniqExact(1, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 687 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (greater(toLowCardinality(toNullable(100)), a2, event_date, -2147483649, 100), 'WITH 01091 AS id SELECT 1;')) WITH CUBE ORDER BY event_time ASC NULLS FIRST LIMIT 65537 ) AS id SELECT '0', uniqExact(1, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 688 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (greater(toLowCardinality(toNullable(100)), a2, event_date, -2147483649, 100), 'WITH 01091 AS id SELECT 1;')) WITH CUBE ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT '0', uniqExact(materialize(1), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 689 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (greater(toLowCardinality(toNullable(100)), a2, event_date, materialize(toInt256(-2147483649)), 100), 'WITH 01091 AS id SELECT 1;')) WITH CUBE WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT '0', uniqExact(1, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 690 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (greater(toNullable(100), a2, toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, 19), event_date, materialize(materialize(1091), toInt256(-2147483649)), 100), 'WITH 01091 AS id SELECT 1;')) WITH CUBE WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT '0', uniqExact(1, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 691 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (greater(toNullable(100), a2, toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, 19), event_date, materialize(materialize(1091), toInt256(-2147483649)), 100), 'WITH 01091 AS id SELECT 1;')) WITH CUBE WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT '0', toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, 100), 'WITH 01091 AS id SELECT 1;'), uniqExact(1, thread_id) > 2 FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ((query), (greater(toNullable(100), a2, toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, 19), event_date, materialize(materialize(1091), toInt256(-2147483649)), 100), 'WITH 01091 AS id SELECT 1;')) WITH CUBE WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 257) AS id SELECT '0', toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, 100), 'WITH 01091 AS id SELECT 1;'), uniqExact(1, thread_id) > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope WITH (SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ((query), (greater(toNullable(100), a2, toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, 19), event_date, materialize(materialize(1091), toInt256(-2147483649)), 100), 'WITH 01091 AS id SELECT 1;')) WITH CUBE WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 257) AS id SELECT '0', toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, 100), 'WITH 01091 AS id SELECT 1;'), uniqExact(1, thread_id) > 2 FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 692 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (greater(toNullable(100), a2, toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, 19), event_date, materialize(1091), toInt256(-2147483649), 100), 'WITH 01091 AS id SELECT 1;')) WITH CUBE WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT '0', uniqExact(1, thread_id) > 2 FROM system.query_thread_log WHERE event_date >= (today() - 1) Query succeeded, using this AST as a start Fuzzing step 693 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (greater(toNullable(100), a2, toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, 19), event_date, 1091, -2147483649, 100), 'WITH 01091 AS id SELECT 1;')) WITH CUBE WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT '0', uniqExact(1, thread_id) > materialize(toLowCardinality(toUInt256(2))) FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) Error on processing query 'WITH (SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ((query), (greater(toNullable(100), a2, toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, 19), event_date, 1091, -2147483649, 100), 'WITH 01091 AS id SELECT 1;')) WITH CUBE WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 257) AS id SELECT '0', uniqExact(1, thread_id) > materialize(toLowCardinality(toUInt256(2))) FROM system.query_thread_log WHERE greaterOrEquals(today() - 1)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ((query), (greater(toNullable(100), a2, toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, 19), event_date, 1091, -2147483649, 100), 'WITH 01091 AS id SELECT 1;')) WITH CUBE WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 257) AS id SELECT '0', uniqExact(1, thread_id) > materialize(toLowCardinality(toUInt256(2))) FROM system.query_thread_log WHERE greaterOrEquals(today() - 1). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 694 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (greater(100, a2, toLowCardinality(toLowCardinality(19, 1), 1091, 19), event_date, materialize(1091), -2147483649, 100), 'WITH 01091 AS id SELECT 1;')) WITH CUBE WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT '0', uniqExact(1, thread_id) > 2 FROM system.query_thread_log WHERE event_date >= (today() - 1) Query succeeded, using this AST as a start Fuzzing step 695 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (greater(100, a2, toLowCardinality(toLowCardinality(19, 1), 1091, 19), event_date, materialize(1091), -2147483649, 100), 'WITH 01091 AS id SELECT 1;')) WITH CUBE WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT materialize('0'), uniqExact(1, thread_id) > 2 FROM system.query_thread_log WHERE event_date >= (today() - 1) Query succeeded, using this AST as a start Fuzzing step 696 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (greater(100, a2, toLowCardinality(toLowCardinality(19, 1), materialize(toLowCardinality(1091)), 19), event_date, materialize(1091), -2147483649, 100), toLowCardinality('WITH 01091 AS id SELECT 1;'))) WITH CUBE WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT materialize('0'), uniqExact(1, thread_id) > 2 FROM system.query_thread_log WHERE event_date >= (today() - 1) Query succeeded, using this AST as a start Fuzzing step 697 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (greater(100, a2, toLowCardinality(toLowCardinality(19, 1), materialize(toLowCardinality(1091)), toLowCardinality(toNullable(19))), event_date, 1091, -2147483649, 100), 'WITH 01091 AS id SELECT 1;')) WITH CUBE WITH TOTALS ORDER BY event_time DESC NULLS LAST LIMIT 257 ) AS id SELECT materialize('0'), uniqExact(1, thread_id) > 2 FROM system.query_thread_log WHERE event_date >= (today() - 1) Query succeeded, using this AST as a start Fuzzing step 698 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (greater(100, a2, toLowCardinality(toLowCardinality(19, toLowCardinality(1)), materialize(toLowCardinality(1091)), toNullable(19)), event_date, 1091, -2147483649, 100), materialize('WITH 01091 AS id SELECT 1;'))) WITH CUBE WITH TOTALS ORDER BY event_time DESC NULLS LAST LIMIT 257 ) AS id SELECT materialize('0'), uniqExact(1, thread_id) > 2 FROM system.query_thread_log WHERE event_date >= (today() - 1) Query succeeded, using this AST as a start Fuzzing step 699 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (query), (greater(100, a2, toLowCardinality(toLowCardinality(19, toNullable(toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091)), 1), materialize(toLowCardinality(1091)), toNullable(19)), event_date, 1091, -2147483649, 100), materialize('WITH 01091 AS id SELECT 1;'))) WITH CUBE WITH TOTALS ORDER BY event_time DESC NULLS LAST LIMIT 257 ) AS id SELECT materialize('0'), uniqExact(1, thread_id) > 2 FROM system.query_thread_log WHERE event_date >= (today() - 1) Current AST is too long, discarding it and using the original AST as a start Fuzzing step 700 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, toFixedString(toFixedString('merge_expressions=0', 19), 19), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, toFixedString(toFixedString('merge_expressions=0', 19), 19), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, toFixedString(toFixedString('merge_expressions=0', 19), 19), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 701 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 702 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 703 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 704 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 705 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 706 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 707 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 708 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 709 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) fro. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 710 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 711 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 712 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) fro. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 713 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 714 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 715 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 716 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 717 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 718 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 719 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 720 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 721 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 722 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) GROUP BY toNullable(toFixedString('default_settings', 16)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, materialize(toLowCardinality(toNullable(toNullable(1))), toNullable(materialize(26))), id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) GROUP BY toNullable(toFixedString('default_settings', 16)) ORDER BY event_time ASC LIMIT 256) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, materialize(toLowCardinality(toNullable(toNullable(1))), toNullable(materialize(26))), id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) GROUP BY toNullable(toFixedString('default_settings', 16)) ORDER BY event_time ASC LIMIT 256) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, materialize(toLowCardinality(toNullable(toNullable(1))), toNullable(materialize(26))), id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 723 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 724 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(toFixedString(materialize(toLowCardinality('merge_expressions=0')), 19), current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND toUInt128(toUInt128(19)) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(toFixedString(materialize(toLowCardinality('merge_expressions=0')), 19), current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND toUInt128(toUInt128(19)) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log WHERE equals(toFixedString(materialize(toLowCardinality('merge_expressions=0')), 19), current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND toUInt128(toUInt128(19)) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 725 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 726 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 727 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 728 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 729 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 730 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toUInt128(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toUInt128(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC LIMIT -9223372036854775807) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toUInt128(1))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 731 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 732 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time DESC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 733 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time DESC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 734 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(today(), test_alias_skip_idx__fuzz_30, toLowCardinality(1))) ORDER BY event_time DESC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(today(), test_alias_skip_idx__fuzz_30, toLowCardinality(1))) ORDER BY event_time DESC LIMIT 256) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_30' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(today(), test_alias_skip_idx__fuzz_30, toLowCardinality(1))) ORDER BY event_time DESC LIMIT 256) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 17. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 18. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 24. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 27. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 28. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 31. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 Fuzzing step 735 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time DESC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 736 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time DESC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 737 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_nested_alias_idx__fuzz_27 AND (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 256) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_nested_alias_idx__fuzz_27 AND (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_27' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 256) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_nested_alias_idx__fuzz_27 AND (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 738 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time DESC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 739 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 740 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today(toLowCardinality(1)) - toLowCardinality(1))) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today(toLowCardinality(1)) - toLowCardinality(1))) ORDER BY event_time ASC LIMIT 256) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function today doesn't match: passed 1, should be 0: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today(toLowCardinality(1)) - toLowCardinality(1))) ORDER BY event_time ASC LIMIT 256) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 22. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 23. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 29. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 30. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 31. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 Fuzzing step 741 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 742 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 256) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 743 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(materialize(toNullable(100)), normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(materialize(toNullable(100)), normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 256) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(materialize(toNullable(100)), normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 256) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 744 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time DESC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(test_nested_alias_idx__fuzz_11, query_id, id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time DESC LIMIT 256) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(test_nested_alias_idx__fuzz_11, query_id, id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_11' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time DESC LIMIT 256) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(test_nested_alias_idx__fuzz_11, query_id, id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 745 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 746 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 747 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 748 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 749 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 750 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 751 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 752 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(num. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 753 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 754 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 755 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 756 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 757 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toLowCardinality(toNullable(1)), 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT toUInt128(1), uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toLowCardinality(toNullable(1)), 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3) AS id SELECT toUInt128(1), uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toLowCardinality(toNullable(1)), 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 758 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 759 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 760 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 761 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 762 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 763 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 764 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE ((event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id)) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE ((event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id)) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'id' in scope (SELECT query_id FROM system.query_log WHERE ((event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id)) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3) AS id. Maybe you meant: ['id']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 17. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 18. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 24. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 27. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 28. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 31. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 Fuzzing step 765 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 766 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 767 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 768 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toLowCardinality(19, toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091), 1))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toLowCardinality(19, toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091), 1))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_5' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toLowCardinality(19, toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091), 1))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 19. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 22. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 26. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 27. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 30. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 31. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 Fuzzing step 769 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(1)) ORDER BY event_time ASC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(1)) ORDER BY event_time ASC LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(1)) ORDER BY event_time ASC LIMIT 3) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 770 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 3 ) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 3) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 3) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 771 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 772 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 773 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 774 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 775 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY 0 ASC, event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY 0 ASC, event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Positional argument number 0 is out of bounds. Expected in range [1, 1]. In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY 0 ASC, event_time ASC LIMIT 0) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046471 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 776 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 777 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 778 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 779 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 780 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 781 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 782 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 783 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 784 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 785 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 786 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 787 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 788 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 789 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 790 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 791 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 792 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 793 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 795 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 796 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 797 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 798 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 799 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 801 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 802 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 803 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 804 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 805 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 806 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 807 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 808 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 809 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 810 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 811 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 812 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 813 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 814 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 815 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 816 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 817 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 818 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 819 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 820 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 821 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 822 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 823 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 824 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 825 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 826 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 827 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) fro. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 828 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 829 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 830 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 831 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 832 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 833 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 834 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 835 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 836 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 837 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 838 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 839 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 840 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 2147483648 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, toUInt256(toUInt128(19)), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 2147483648) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, toUInt256(toUInt128(19)), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 2147483648) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, toUInt256(toUInt128(19)), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 841 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 842 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 3 ) AS id SELECT uniqExact(uniqExact('merge_expressions=0', 19, thread_id) > 2, thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 3) AS id SELECT uniqExact(uniqExact('merge_expressions=0', 19, thread_id) > 2, thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Aggregate function uniqExact('merge_expressions=0', 19, thread_id) is found inside another aggregate function in query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x000000001109a911 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001109a870 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001109a870 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001109a870 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::assertNoAggregateFunctionNodes(std::shared_ptr const&, String const&) @ 0x000000001109ab0f 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011096b08 10. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 843 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 844 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC LIMIT -9223372036854775808 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC LIMIT -9223372036854775808) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x0000000011057aee 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 845 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY a > materialize(100) ASC, event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY a > materialize(100) ASC, event_time ASC NULLS FIRST LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope (SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY a > materialize(100) ASC, event_time ASC NULLS FIRST LIMIT 3) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001106f696 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110464c6 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 12. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 13. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 19. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 846 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, toFixedString('merge_expressions=0', 19), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, toFixedString('merge_expressions=0', 19), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, toFixedString('merge_expressions=0', 19), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 847 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 848 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 849 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 850 out of 1000 WITH ( SELECT toNullable(toUInt256(19), 19), query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 851 out of 1000 WITH ( SELECT toNullable(toUInt256(19), 19), query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1048575 ) AS id SELECT greater(toUInt256(toUInt128(1091), toNullable(100)), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= minus(today(), toUInt128(materialize(toNullable(19))), 1)) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT toNullable(toUInt256(19), 19), query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1048575) AS id SELECT greater(toUInt256(toUInt128(1091), toNullable(100)), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= minus(today(), toUInt128(materialize(toNullable(19))), 1)) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt256'. Expected 1 argument, got 2 arguments: In scope WITH (SELECT toNullable(toUInt256(19), 19), query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1048575) AS id SELECT greater(toUInt256(toUInt128(1091), toNullable(100)), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= minus(today(), toUInt128(materialize(toNullable(19))), 1)) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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)::NameToUInt256, 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&) @ 0x00000000071719f8 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToUInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000716ba80 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 17. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 852 out of 1000 WITH ( SELECT toNullable(toUInt256(19), 19), query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 853 out of 1000 WITH ( SELECT toNullable(toUInt256(19), 19), query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(toUInt256(22), event_date, today() - 1) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT toNullable(toUInt256(19), 19), query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1048575) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(toUInt256(22), event_date, today() - 1) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT toNullable(toUInt256(19), 19), query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1048575) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(toUInt256(22), event_date, today() - 1) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 854 out of 1000 WITH ( SELECT toNullable(19, 19), query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58))) AND (current_database = currentDatabase()) AND (event_date >= (today(thread_id) - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND notEquals(thread_id, toUInt128(19), master_thread_id) Error on processing query 'WITH (SELECT toNullable(19, 19), query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58))) AND (current_database = currentDatabase()) AND (event_date >= (today(thread_id) - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1048575) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND notEquals(thread_id, toUInt128(19), master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT toNullable(19, 19), query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58))) AND (current_database = currentDatabase()) AND (event_date >= (today(thread_id) - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1048575) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND notEquals(thread_id, toUInt128(19), master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 855 out of 1000 WITH ( SELECT toNullable(toUInt256(19), 19), query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 856 out of 1000 WITH ( SELECT toUInt256(19), 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 857 out of 1000 WITH ( SELECT 19, 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(test_alias_skip_idx__fuzz_4) - 1)) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT 19, 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1048575) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(test_alias_skip_idx__fuzz_4) - 1)) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_4' in scope WITH (SELECT 19, 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1048575) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(test_alias_skip_idx__fuzz_4) - 1)) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 858 out of 1000 WITH ( SELECT toUInt256(19), 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 859 out of 1000 WITH ( SELECT 19, 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT -1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND materialize(toNullable(toUInt256(19)), toUInt256(toLowCardinality(1091, 19))) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT 19, 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT -1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND materialize(toNullable(toUInt256(19)), toUInt256(toLowCardinality(1091, 19))) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH (SELECT 19, 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT -1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND materialize(toNullable(toUInt256(19)), toUInt256(toLowCardinality(1091, 19))) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 860 out of 1000 WITH ( SELECT toUInt256(19), 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND notEquals(thread_id, toLowCardinality(toNullable(toUInt256(19))), master_thread_id) Error on processing query 'WITH (SELECT toUInt256(19), 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048575) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND notEquals(thread_id, toLowCardinality(toNullable(toUInt256(19))), master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT toUInt256(19), 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048575) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND notEquals(thread_id, toLowCardinality(toNullable(toUInt256(19))), master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 861 out of 1000 WITH ( SELECT toUInt256(19), 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 862 out of 1000 WITH ( SELECT toUInt256(19), 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery(test_nested_alias_idx__fuzz_22, 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today(toNullable(toNullable(toFixedString('merge_expressions=0')))) - 1)) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT toUInt256(19), 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery(test_nested_alias_idx__fuzz_22, 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048575) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today(toNullable(toNullable(toFixedString('merge_expressions=0')))) - 1)) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope WITH (SELECT toUInt256(19), 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery(test_nested_alias_idx__fuzz_22, 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048575) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today(toNullable(toNullable(toFixedString('merge_expressions=0')))) - 1)) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 24. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 27. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 28. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 29. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 30. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 31. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a Fuzzing step 863 out of 1000 WITH ( SELECT toUInt256(19), 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 864 out of 1000 WITH ( SELECT toUInt256(19), 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE and(event_date >= (today() - 1)) Error on processing query 'WITH (SELECT toUInt256(19), 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048575) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE and(event_date >= (today() - 1))': Received from localhost:9000. DB::Exception: Number of arguments for function "and" should be at least 2: passed 1: In scope WITH (SELECT toUInt256(19), 19, query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048575) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE and(event_date >= (today() - 1)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&, unsigned long&&) @ 0x000000000701d62b 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6318 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 865 out of 1000 WITH ( SELECT 19, 19, query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 866 out of 1000 WITH ( SELECT 19, 19, query_id FROM system.query_log GROUP BY materialize(1091 AS id) AND (current_database = currentDatabase()) AND (normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);')) = normalizeQuery(toNullable(toNullable('with 01091 as id select sum(number) from numbers(1000000);')))), test_alias_skip_idx__fuzz_39, equals(19, current_database, toNullable(toLowCardinality(19)), currentDatabase()), toNullable(materialize('WITH 01091 AS id SELECT 1;'), 26) ORDER BY event_time DESC LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (thread_id != master_thread_id) Current AST is too long, discarding it and using the original AST as a start Fuzzing step 867 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toUInt128(16) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toUInt128(16) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Illegal type (UInt128) of 1 argument of function and. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&, String&&) @ 0x000000000702fdab 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6262 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsDAG.cpp:3058: DB::ActionsDAG::buildFilterActionsDAG(std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, bool) @ 0x0000000010feec94 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1657: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aac6b 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 14. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 15. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 16. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 19. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 868 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 869 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(current_database, 'merge_expressions=0', toUInt256(19), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(current_database, 'merge_expressions=0', toUInt256(19), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 4, should be 2: In scope (SELECT query_id FROM system.query_log WHERE equals(current_database, 'merge_expressions=0', toUInt256(19), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 870 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 871 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 872 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 873 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery(materialize(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);')))) AND (event_date >= minus(toNullable(toFixedString('default_settings', 16)), today(), 1)) ORDER BY event_time DESC LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery(materialize(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);')))) AND (event_date >= minus(toNullable(toFixedString('default_settings', 16)), today(), 1)) ORDER BY event_time DESC LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery(materialize(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);')))) AND (event_date >= minus(toNullable(toFixedString('default_settings', 16)), today(), 1)) ORDER BY event_time DESC LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 874 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY 255, toLowCardinality(materialize(toNullable(toNullable(toUInt128(12))))), test_nested_alias_idx__fuzz_39 Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY 255, toLowCardinality(materialize(toNullable(toNullable(toUInt128(12))))), test_nested_alias_idx__fuzz_39': Received from localhost:9000. DB::Exception: Positional argument number 255 is out of bounds. Expected in range [1, 1]. In scope WITH (SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY 255, toLowCardinality(materialize(toNullable(toNullable(toUInt128(12))))), test_nested_alias_idx__fuzz_39. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 875 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 876 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) GROUP BY normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);')), toLowCardinality(26), greater(toNullable(100), a2, toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, 19), event_date, materialize(materialize(1091), toInt256(-2147483649)), 100) ORDER BY event_time DESC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND materialize(toNullable('merge_expressions=0', 19)) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) GROUP BY normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);')), toLowCardinality(26), greater(toNullable(100), a2, toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, 19), event_date, materialize(materialize(1091), toInt256(-2147483649)), 100) ORDER BY event_time DESC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND materialize(toNullable('merge_expressions=0', 19)) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope (SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) GROUP BY normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);')), toLowCardinality(26), greater(toNullable(100), a2, toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, 19), event_date, materialize(materialize(1091), toInt256(-2147483649)), 100) ORDER BY event_time DESC NULLS LAST LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 13. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 14. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 23. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 24. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 28. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 877 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 878 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 879 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) WHERE normalizeQuery(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);'), 58) ORDER BY event_time ASC NULLS FIRST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) WHERE normalizeQuery(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);'), 58) ORDER BY event_time ASC NULLS FIRST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) WHERE normalizeQuery(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);'), 58) ORDER BY event_time ASC NULLS FIRST LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 13. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 14. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 23. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 24. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 28. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 880 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 881 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today(test_alias_skip_idx__fuzz_3) - 1)) AND (query_id = id) AND notEquals(thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today(test_alias_skip_idx__fuzz_3) - 1)) AND (query_id = id) AND notEquals(thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_3' in scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today(test_alias_skip_idx__fuzz_3) - 1)) AND (query_id = id) AND notEquals(thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 882 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 883 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 884 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND equals(toLowCardinality(toUInt256(equals(toLowCardinality(19), current_database, currentDatabase()), 12)), query_id, id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND equals(toLowCardinality(toUInt256(equals(toLowCardinality(19), current_database, currentDatabase()), 12)), query_id, id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND equals(toLowCardinality(toUInt256(equals(toLowCardinality(19), current_database, currentDatabase()), 12)), query_id, id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 885 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery(id, 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery(id, 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'id' in scope (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery(id, 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 7) AS id. Maybe you meant: ['id']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 17. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 18. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 24. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 27. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 28. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 31. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 Fuzzing step 886 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1023 ) AS id SELECT greater(2) FROM system.query_thread_log PREWHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1023) AS id SELECT greater(2) FROM system.query_thread_log PREWHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1023) AS id SELECT greater(2) FROM system.query_thread_log PREWHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 887 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND greaterOrEquals(event_date, toNullable(toUInt128(toNullable(1), toUInt256(12))), today() - 1) ORDER BY event_time DESC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND greaterOrEquals(event_date, toNullable(toUInt128(toNullable(1), toUInt256(12))), today() - 1) ORDER BY event_time DESC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': 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 query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND greaterOrEquals(event_date, toNullable(toUInt128(toNullable(1), toUInt256(12))), today() - 1) ORDER BY event_time DESC NULLS LAST LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 24. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 25. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 28. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 29. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 31. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc Fuzzing step 888 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) WHERE materialize(materialize(toLowCardinality(materialize(100))), toLowCardinality(toLowCardinality(19))) ORDER BY event_time DESC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) WHERE materialize(materialize(toLowCardinality(materialize(100))), toLowCardinality(toLowCardinality(19))) ORDER BY event_time DESC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) WHERE materialize(materialize(toLowCardinality(materialize(100))), toLowCardinality(toLowCardinality(19))) ORDER BY event_time DESC NULLS LAST LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 13. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 14. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 23. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 24. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 28. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 889 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT -1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT -1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x0000000011057aee 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 890 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time DESC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toNullable(12) AND (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time DESC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toNullable(12) AND (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time DESC NULLS LAST LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 891 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) GROUP BY greater(100, a2, toLowCardinality(toLowCardinality(19, 1), 1091, 19), event_date, materialize(1091), -2147483649, 100) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) GROUP BY greater(100, a2, toLowCardinality(toLowCardinality(19, 1), 1091, 19), event_date, materialize(1091), -2147483649, 100)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(master_thread_id) GROUP BY greater(100, a2, toLowCardinality(toLowCardinality(19, 1), 1091, 19), event_date, materialize(1091), -2147483649, 100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 892 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 893 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND toUInt256(toNullable(26)) AND (event_date >= (today() - 1)) WHERE toLowCardinality(22) ORDER BY event_time DESC NULLS LAST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND toUInt256(toNullable(26)) AND (event_date >= (today() - 1)) WHERE toLowCardinality(22) ORDER BY event_time DESC NULLS LAST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Illegal type (Nullable(UInt256)) of 2 argument of function and: In scope (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND toUInt256(toNullable(26)) AND (event_date >= (today() - 1)) WHERE toLowCardinality(22) ORDER BY event_time DESC NULLS LAST LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&, String&&) @ 0x000000000702fdab 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6262 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 14. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 894 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 895 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true, compact = true WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true, compact = true WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 896 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Cannot apply function normalizeQuery to fixed string.: In scope (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 7) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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/normalizeQuery.cpp:50: DB::(anonymous namespace)::Impl::vectorFixed(DB::PODArray, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000aa8ad7b 5. /build/src/Functions/FunctionStringToString.h:0: DB::FunctionStringToString, DB::(anonymous namespace)::Impl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8a98e 6. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 7. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 8. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 9. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69770 10. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c32 11. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 12. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 13. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 24. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 25. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 28. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 29. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 31. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc Fuzzing step 897 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery(toNullable(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery(toNullable(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery(toNullable(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 898 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 899 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE greaterOrEquals(event_date, materialize(toLowCardinality(19)), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE greaterOrEquals(event_date, materialize(toLowCardinality(19)), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE greaterOrEquals(event_date, materialize(toLowCardinality(19)), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 900 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1048577 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 901 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1048577 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 902 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1048577 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(toNullable(1)))) AND (query_id = id) AND toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1048577) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(toNullable(1)))) AND (query_id = id) AND toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1048577) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(toNullable(1)))) AND (query_id = id) AND toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 903 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1048577 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 904 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1048577 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 905 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048577 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(today())) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048577) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(today())) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048577) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(today())) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 906 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND toFixedString('WITH 01091 AS id SELECT 1;', toUInt256(26)) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048577 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND toFixedString('WITH 01091 AS id SELECT 1;', toUInt256(26)) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048577) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Illegal type (FixedString(26)) of 2 argument of function and: In scope (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND toFixedString('WITH 01091 AS id SELECT 1;', toUInt256(26)) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1048577) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&, String&&) @ 0x000000000702fdab 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6262 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 14. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 907 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(event_date, query) = normalizeQuery(toUInt128(toLowCardinality(toNullable(toUInt256(19)))), 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1048577 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(toNullable(1)))) AND toUInt128(toLowCardinality(toLowCardinality(1), 1091)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(event_date, query) = normalizeQuery(toUInt128(toLowCardinality(toNullable(toUInt256(19)))), 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1048577) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(toNullable(1)))) AND toUInt128(toLowCardinality(toLowCardinality(1), 1091)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(event_date, query) = normalizeQuery(toUInt128(toLowCardinality(toNullable(toUInt256(19)))), 'with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1048577) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(toNullable(1)))) AND toUInt128(toLowCardinality(toLowCardinality(1), 1091)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 908 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 909 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1048575 ) AS id SELECT toLowCardinality(toNullable(toUInt256(19))), greater(uniqExact(thread_id) IGNORE NULLS, toLowCardinality(19, toLowCardinality(1)), materialize(toLowCardinality(1091)), toNullable(19), 2) FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1048575) AS id SELECT toLowCardinality(toNullable(toUInt256(19))), greater(uniqExact(thread_id) IGNORE NULLS, toLowCardinality(19, toLowCardinality(1)), materialize(toLowCardinality(1091)), toNullable(19), 2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1048575) AS id SELECT toLowCardinality(toNullable(toUInt256(19))), greater(uniqExact(thread_id) IGNORE NULLS, toLowCardinality(19, toLowCardinality(1)), materialize(toLowCardinality(1091)), toNullable(19), 2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 910 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 911 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 912 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 913 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 914 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 915 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 916 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 917 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 918 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 919 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 920 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 921 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 922 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 923 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 924 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_th. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 925 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 926 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 927 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 928 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 929 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 930 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 931 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 932 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 933 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 934 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 935 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 936 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 937 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 938 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 939 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 940 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 941 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 942 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 943 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 944 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 945 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 946 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 947 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 948 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 949 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 950 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 951 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE 65535 ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_42 Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE 65535 ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775807) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_42': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_42' in scope WITH (SELECT query_id FROM system.query_log PREWHERE 65535 ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775807) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_42. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 952 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 953 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 65535 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE -9223372036854775807 Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 65535) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE -9223372036854775807': Received from localhost:9000. DB::Exception: Illegal type Int64 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a55b3 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 954 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toLowCardinality(toLowCardinality(19, 1), materialize(toLowCardinality(1091)), toLowCardinality(toNullable(19))) ASC, event_time DESC NULLS LAST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > materialize(toNullable(toUInt256(2))) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 955 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toLowCardinality(toLowCardinality(19, 1), materialize(toLowCardinality(1091)), toLowCardinality(toNullable(19))) ASC, event_time DESC LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > materialize(toNullable(toUInt256(2))) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 956 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toLowCardinality(toLowCardinality(19, 1), materialize(toLowCardinality(1091)), toLowCardinality(toNullable(19))) ASC, event_time DESC LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > materialize(toNullable(toUInt256(2))) FROM system.query_thread_log Got boring AST Fuzzing step 957 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toLowCardinality(toLowCardinality(19, 1), materialize(toLowCardinality(1091)), toLowCardinality(toNullable(19))) ASC, event_time DESC LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > materialize(toNullable(toUInt256(toLowCardinality(2)))) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 958 out of 1000 WITH ( SELECT normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);')), query_id FROM system.query_log ORDER BY toLowCardinality(toLowCardinality(19, 1), materialize(toLowCardinality(1091)), toLowCardinality(toNullable(19))) ASC, event_time ASC LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > materialize(toNullable(toUInt256(toLowCardinality(toLowCardinality(toUInt256(2)))))) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 959 out of 1000 WITH ( SELECT normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);')), query_id FROM system.query_log GROUP BY normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;')), toLowCardinality(toNullable(100)), toFixedString(materialize('WITH 01091 AS id SELECT 1;'), 26) ORDER BY toNullable(toUInt256(19), 19) ASC, toLowCardinality(toLowCardinality(19, 1), materialize(toLowCardinality(1091)), toLowCardinality(toNullable(19))) ASC NULLS FIRST, event_time ASC LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > materialize(toNullable(toUInt256(toLowCardinality(toLowCardinality(toUInt256(2)))))) FROM system.query_thread_log Current AST is too long, discarding it and using the original AST as a start Fuzzing step 960 out of 1000 EXPLAIN PIPELINE compact = true WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN PIPELINE compact = true WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 961 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE materialize(1091) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE materialize(1091) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a55b3 5. /build/contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x0000000012907dff 6. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x0000000012905f4c 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1081: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x0000000012903c03 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x0000000012902db8 9. /build/src/Storages/MergeTree/MergeTreeReadTask.cpp:165: DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x0000000012921020 10. /build/src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38: DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x00000000131bef2f 11. /build/src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:206: DB::MergeTreeSelectProcessor::read() @ 0x000000001291df97 12. /build/src/Storages/MergeTree/MergeTreeSource.cpp:180: DB::MergeTreeSource::tryGenerate() @ 0x00000000131c1640 13. /build/contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x0000000012d6e3e7 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:0: DB::ExecutionThreadContext::executeTask() @ 0x0000000012d86909 15. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x0000000012d7c5b0 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x0000000012d7c83d 17. /build/src/Processors/Executors/PipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x0000000012d7d19f 18. /build/src/Common/ThreadPool.cpp:781: ThreadPoolImpl>::ThreadFromThreadPool::worker() @ 0x000000000c708f9f 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ? @ 0x000000000c70e122 20. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 962 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 963 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 964 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 965 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 966 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 967 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 968 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 969 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 970 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 971 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 972 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 973 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 974 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) fro. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 975 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 976 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 977 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 978 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) fro. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 979 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(num. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 980 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 981 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 982 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 983 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today((current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1))))))) - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log GROUP BY 'merge_expressions=0', toUInt256(19) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today((current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1))))))) - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log GROUP BY 'merge_expressions=0', toUInt256(19)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today((current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1))))))) - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log GROUP BY 'merge_expressions=0', toUInt256(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 984 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 985 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 986 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 987 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 988 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 989 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 990 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(toUInt128(toNullable(1091)), today(), 1)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Current AST is too long, discarding it and using the original AST as a start Fuzzing step 991 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) GROUP BY toNullable(materialize(toNullable(toUInt256(19))), toUInt256(19), 19, toNullable(100)), toLowCardinality(1048576), toNullable(toUInt256(toLowCardinality(toLowCardinality(toUInt256(2))))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) GROUP BY toNullable(materialize(toNullable(toUInt256(19))), toUInt256(19), 19, toNullable(100)), toLowCardinality(1048576), toNullable(toUInt256(toLowCardinality(toLowCardinality(toUInt256(2))))) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 4, should be 1: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) GROUP BY toNullable(materialize(toNullable(toUInt256(19))), toUInt256(19), 19, toNullable(100)), toLowCardinality(1048576), toNullable(toUInt256(toLowCardinality(toLowCardinality(toUInt256(2))))) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 15. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 16. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 19. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 22. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 25. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 26. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 30. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 Fuzzing step 992 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toLowCardinality(toUInt256(2)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(today(), toLowCardinality(materialize(100)), 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toLowCardinality(toUInt256(2)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(today(), toLowCardinality(materialize(100)), 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toLowCardinality(toUInt256(2)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= minus(today(), toLowCardinality(materialize(100)), 1)) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 993 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT greater(uniqExact(thread_id), toNullable(100), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT greater(uniqExact(thread_id), toNullable(100), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT greater(uniqExact(thread_id), toNullable(100), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 994 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 995 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE materialize(1091) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE materialize(1091) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column materialize(1091_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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/QueryPlan/Optimizations/projectionsCommon.cpp:0: DB::QueryPlanOptimizations::findInOutputs(DB::ActionsDAG&, String const&, bool) @ 0x000000001323f37a 5. /build/src/Processors/QueryPlan/Optimizations/projectionsCommon.cpp:138: DB::QueryPlanOptimizations::QueryDAG::buildImpl(DB::QueryPlan::Node&, std::vector>&) @ 0x000000001323f556 6. /build/src/Processors/QueryPlan/Optimizations/projectionsCommon.cpp:150: DB::QueryPlanOptimizations::QueryDAG::buildImpl(DB::QueryPlan::Node&, std::vector>&) @ 0x000000001323f5e1 7. /build/src/Processors/QueryPlan/Optimizations/projectionsCommon.cpp:150: DB::QueryPlanOptimizations::QueryDAG::buildImpl(DB::QueryPlan::Node&, std::vector>&) @ 0x000000001323f5e1 8. /build/src/Processors/QueryPlan/Optimizations/projectionsCommon.cpp:184: DB::QueryPlanOptimizations::QueryDAG::build(DB::QueryPlan::Node&) @ 0x000000001323f84c 9. /build/src/Processors/QueryPlan/Optimizations/optimizeUseAggregateProjection.cpp:456: DB::QueryPlanOptimizations::getAggregateProjectionCandidates(DB::QueryPlan::Node&, DB::AggregatingStep&, DB::ReadFromMergeTree&, std::shared_ptr, std::equal_to, std::allocator>>> const&, bool) @ 0x00000000132360df 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryPlanOptimizations::optimizeUseAggregateProjections(DB::QueryPlan::Node&, std::list>&, bool) @ 0x0000000013237dcc 11. /build/contrib/llvm-project/libcxx/include/optional:344: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321abaf 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterExplainQuery.cpp:513: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f334 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 996 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 257 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 257) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 997 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 998 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 999 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY materialize(1091 AS id) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) ASC, event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) 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 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 2 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 3 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 4 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) WHERE 0. Error on processing query 'WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) WHERE 0.': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 5 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 6 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 7 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 8 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 9 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 10 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 11 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 12 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(materialize(toNullable(1000000))) Error on processing query 'WITH 1091 AS id SELECT sum(number) FROM numbers_mt(materialize(toNullable(1000000)))': Received from localhost:9000. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): materialize(_CAST(1000000, 'Nullable(UInt32)')). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000703ad2b 4. /build/src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903a10 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 6. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000010279f8d 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 8. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 9. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 13 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt('-214748364.7', 1000000) Error on processing query 'WITH 1091 AS id SELECT sum(number) FROM numbers_mt('-214748364.7', 1000000)': Received from localhost:9000. DB::Exception: Illegal type String expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000102799cf 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 14 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 15 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 16 out of 1000 EXPLAIN PIPELINE `graph=1` = true WITH 1091 AS id SELECT sum(number) FROM numbers_mt(materialize(1000000)) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true WITH 1091 AS id SELECT sum(number) FROM numbers_mt(materialize(1000000))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 17 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 18 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 19 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 20 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 21 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 22 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 23 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 24 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 25 out of 1000 WITH 1091 AS id SELECT sum(number) FROM numbers_mt(toNullable(1000000)) Error on processing query 'WITH 1091 AS id SELECT sum(number) FROM numbers_mt(toNullable(1000000))': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 26 out of 1000 WITH 1091 AS id SELECT toLowCardinality(materialize(toNullable(100))), sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 27 out of 1000 WITH 1091 AS id SELECT toLowCardinality(materialize(toNullable(100))), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 28 out of 1000 WITH toLowCardinality(1091 AS id) SELECT toLowCardinality(materialize(toNullable(100))), sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 29 out of 1000 WITH toLowCardinality(1091 AS id) SELECT toLowCardinality(materialize(toNullable(100))), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 30 out of 1000 WITH toLowCardinality(1091 AS id) SELECT toLowCardinality(materialize(toNullable(100))), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 31 out of 1000 WITH toLowCardinality(1091 AS id) SELECT toLowCardinality(materialize(toNullable(100))), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 32 out of 1000 WITH toLowCardinality(1091 AS id) SELECT toLowCardinality(materialize(toNullable(100))), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 33 out of 1000 WITH toLowCardinality(1091 AS id) SELECT toLowCardinality(toUInt128(materialize(toLowCardinality(12)))), sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 34 out of 1000 WITH toLowCardinality(1091 AS id) SELECT toUInt128(materialize(toLowCardinality(12))), sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 35 out of 1000 EXPLAIN PIPELINE compact = true WITH toLowCardinality(1091 AS id) SELECT toUInt128(materialize(toLowCardinality(12))), sum(number) FROM numbers_mt(1000000) Error on processing query 'EXPLAIN PIPELINE compact = true WITH toLowCardinality(1091 AS id) SELECT toUInt128(materialize(toLowCardinality(12))), sum(number) FROM numbers_mt(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 36 out of 1000 WITH 1091 AS id SELECT toUInt128(materialize(toLowCardinality(12))), sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 37 out of 1000 WITH 1091 AS id SELECT toUInt128(materialize(12)), sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 38 out of 1000 WITH 1091 AS id SELECT toUInt128(12), sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 39 out of 1000 WITH 1091 AS id SELECT toUInt128(12), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 40 out of 1000 WITH 1091 AS id SELECT toUInt128(12), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 41 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 42 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 43 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 44 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 45 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 46 out of 1000 EXPLAIN AST WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 47 out of 1000 EXPLAIN ESTIMATE WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 48 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 49 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 50 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 51 out of 1000 WITH 1091 AS id SELECT 12, sum(number) RESPECT NULLS FROM numbers_mt(1000000) Error on processing query 'WITH 1091 AS id SELECT 12, sum(number) RESPECT NULLS FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Function sum does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 52 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 53 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 54 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 55 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(toLowCardinality(toNullable('merge_expressions=0')), 1000000) Error on processing query 'WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(toLowCardinality(toNullable('merge_expressions=0')), 1000000)': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(Nullable(String)) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000102799cf 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 56 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 57 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 58 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 59 out of 1000 WITH 1091 AS id SELECT 12 FROM numbers_mt(1000000) GROUP BY test_nested_alias_idx__fuzz_15, normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;'), materialize(toUInt128(19)) Error on processing query 'WITH 1091 AS id SELECT 12 FROM numbers_mt(1000000) GROUP BY test_nested_alias_idx__fuzz_15, normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;'), materialize(toUInt128(19))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_15' in scope WITH 1091 AS id SELECT 12 FROM numbers_mt(1000000) GROUP BY test_nested_alias_idx__fuzz_15, normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;'), materialize(toUInt128(19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 60 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 61 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 62 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 63 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 64 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 65 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 66 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 67 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 68 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 69 out of 1000 EXPLAIN PIPELINE `graph=1` = true WITH 1091 AS id SELECT 12, test_nested_alias_idx__fuzz_30, sum(number) FROM numbers_mt(1000000) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true WITH 1091 AS id SELECT 12, test_nested_alias_idx__fuzz_30, sum(number) FROM numbers_mt(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 70 out of 1000 EXPLAIN AST graph = true, optimize = true WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Error on processing query 'EXPLAIN AST graph = true, optimize = true WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 71 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 72 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 73 out of 1000 WITH 1091 AS id SELECT 12, sum(number) RESPECT NULLS FROM numbers_mt(1000000) Error on processing query 'WITH 1091 AS id SELECT 12, sum(number) RESPECT NULLS FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Function sum does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 74 out of 1000 WITH 1091 AS id SELECT 12, sum(number) RESPECT NULLS FROM numbers_mt(1000000) Error on processing query 'WITH 1091 AS id SELECT 12, sum(number) RESPECT NULLS FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Function sum does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 75 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 76 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 77 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 78 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 79 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 80 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 81 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1000000) Error on processing query 'WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1000000)': Received from localhost:9000. DB::Exception: Illegal type String expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000102799cf 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 82 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 83 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 84 out of 1000 EXPLAIN PIPELINE compact = true WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Error on processing query 'EXPLAIN PIPELINE compact = true WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 85 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 86 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 87 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 88 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 89 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(test_nested_alias_idx__fuzz_6, 1000000) Error on processing query 'WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(test_nested_alias_idx__fuzz_6, 1000000)': Received from localhost:9000. DB::Exception: Missing columns: 'test_nested_alias_idx__fuzz_6' while processing query: 'test_nested_alias_idx__fuzz_6', required columns: 'test_nested_alias_idx__fuzz_6' 'test_nested_alias_idx__fuzz_6'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 4. /build/src/Interpreters/TreeRewriter.cpp:1544: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x0000000011899335 5. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903331 6. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 7. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000010279f8d 8. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000102799cf 9. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 10. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 90 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 91 out of 1000 WITH 1091 AS id SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 92 out of 1000 WITH toUInt256(1091) SELECT 12, sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 WITH toUInt256(12, 1091) SELECT 12, sum(number) FROM numbers_mt(toNullable(materialize(1091)), 1000000) Error on processing query 'WITH toUInt256(12, 1091) SELECT 12, sum(number) FROM numbers_mt(toNullable(materialize(1091)), 1000000)': Received from localhost:9000. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): toNullable(materialize(1091)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000703ad2b 4. /build/src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903a10 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 6. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000010279f8d 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000102799cf 8. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 9. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 94 out of 1000 WITH toUInt256(1091) SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 95 out of 1000 WITH toUInt256(1091) SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 96 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 97 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 98 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 99 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 100 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 101 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 102 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'event_date' in scope WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 103 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 104 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 105 out of 1000 WITH 1091 SELECT toLowCardinality(12), sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 106 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(toNullable(1000000)) Error on processing query 'WITH 1091 SELECT 12, sum(number) FROM numbers_mt(toNullable(1000000))': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 107 out of 1000 WITH 1091 SELECT toLowCardinality(12), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 108 out of 1000 WITH 1091 SELECT toLowCardinality(12), sum(number) FROM numbers_mt(toNullable(1000000)) Error on processing query 'WITH 1091 SELECT toLowCardinality(12), sum(number) FROM numbers_mt(toNullable(1000000))': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 109 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 110 out of 1000 WITH 1091 SELECT materialize(toNullable(12)), sum(number) FROM numbers_mt(1000000) PREWHERE equals(normalizeQuery(query), 1, 'WITH 01091 AS id SELECT 1;', normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) Error on processing query 'WITH 1091 SELECT materialize(toNullable(12)), sum(number) FROM numbers_mt(1000000) PREWHERE equals(normalizeQuery(query), 1, 'WITH 01091 AS id SELECT 1;', normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);')))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope WITH 1091 SELECT materialize(toNullable(12)), sum(number) FROM numbers_mt(1000000) PREWHERE equals(normalizeQuery(query), 1, 'WITH 01091 AS id SELECT 1;', normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 111 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 112 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 113 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 114 out of 1000 EXPLAIN PIPELINE `graph=1` = true WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 115 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 116 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 117 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 118 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 119 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 120 out of 1000 WITH toLowCardinality(1091) SELECT 12, sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 121 out of 1000 WITH toLowCardinality(1091) SELECT 12, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 122 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 123 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Query succeeded, using this AST as a start Fuzzing step 124 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Got boring AST Fuzzing step 125 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Got boring AST Fuzzing step 126 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Got boring AST Fuzzing step 127 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(materialize(toNullable(1000000))) WHERE materialize(1) Error on processing query 'WITH 1091 SELECT 12, sum(number) FROM numbers_mt(materialize(toNullable(1000000))) WHERE materialize(1)': Received from localhost:9000. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): materialize(_CAST(1000000, 'Nullable(UInt32)')). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000703ad2b 4. /build/src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903a10 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 6. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000010279f8d 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 8. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 9. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 128 out of 1000 WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Got boring AST Fuzzing step 129 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Query succeeded, using this AST as a start Fuzzing step 130 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Got boring AST Fuzzing step 131 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Query succeeded, using this AST as a start Fuzzing step 132 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Got boring AST Fuzzing step 133 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Query succeeded, using this AST as a start Fuzzing step 134 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Query succeeded, using this AST as a start Fuzzing step 135 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Got boring AST Fuzzing step 136 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Got boring AST Fuzzing step 137 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Got boring AST Fuzzing step 138 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Got boring AST Fuzzing step 139 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Got boring AST Fuzzing step 140 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Query succeeded, using this AST as a start Fuzzing step 141 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Got boring AST Fuzzing step 142 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Query succeeded, using this AST as a start Fuzzing step 143 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Query succeeded, using this AST as a start Fuzzing step 144 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Got boring AST Fuzzing step 145 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('1091'): 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 146 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Got boring AST Fuzzing step 147 out of 1000 WITH 1091 SELECT 12, toFixedString('merge_expressions=0', 19), sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Query succeeded, using this AST as a start Fuzzing step 148 out of 1000 WITH 1091 SELECT 12, toFixedString('merge_expressions=0', toLowCardinality(toUInt256(19))), sum(number) FROM numbers_mt(1000000) WHERE materialize(1) Query succeeded, using this AST as a start Fuzzing step 149 out of 1000 WITH 1091 SELECT 12, toFixedString('merge_expressions=0', toLowCardinality(19)), sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 150 out of 1000 WITH 1091 SELECT 12, toFixedString('merge_expressions=0', toLowCardinality(19)), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 151 out of 1000 WITH 1091 SELECT 12, toFixedString('merge_expressions=0', toLowCardinality(19)), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 152 out of 1000 WITH 1091 SELECT 12, toFixedString('merge_expressions=0', toLowCardinality(19)), sum(number) FROM numbers_mt(1000000) WHERE test_alias_skip_idx__fuzz_18 Error on processing query 'WITH 1091 SELECT 12, toFixedString('merge_expressions=0', toLowCardinality(19)), sum(number) FROM numbers_mt(1000000) WHERE test_alias_skip_idx__fuzz_18': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_18' in scope WITH 1091 SELECT 12, toFixedString('merge_expressions=0', toLowCardinality(19)), sum(number) FROM numbers_mt(1000000) WHERE test_alias_skip_idx__fuzz_18. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 153 out of 1000 WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(19), sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 154 out of 1000 WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(19), sum(toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)), number) FROM numbers_mt(1000000) Error on processing query 'WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(19), sum(toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)), number) FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_5' in scope WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(19), sum(toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)), number) FROM numbers_mt(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 155 out of 1000 WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(19), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 156 out of 1000 WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(19), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 157 out of 1000 WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(19), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 158 out of 1000 WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(19), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 159 out of 1000 WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(19), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 160 out of 1000 WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(19), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 161 out of 1000 WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(19), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 162 out of 1000 WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(toUInt256(toUInt128(19)) >= (today() - toUInt128(1)), 19), sum(number) FROM numbers_mt(toLowCardinality(1000000)) Error on processing query 'WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(toUInt256(toUInt128(19)) >= (today() - toUInt128(1)), 19), sum(number) FROM numbers_mt(toLowCardinality(1000000))': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt32) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 163 out of 1000 WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(19), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 164 out of 1000 WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(19), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 165 out of 1000 WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(19), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 166 out of 1000 WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(19), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 167 out of 1000 WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(19), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 168 out of 1000 WITH 1091 SELECT 12, 'merge_expressions=0', toLowCardinality(19), sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 169 out of 1000 WITH 1091 SELECT 12, toNullable('merge_expressions=0'), 19, sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 170 out of 1000 WITH 1091 SELECT 12, toNullable('merge_expressions=0'), 19, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 171 out of 1000 WITH 1091 SELECT 12, toNullable('merge_expressions=0'), 19, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 172 out of 1000 WITH 1091 SELECT 12, toNullable('merge_expressions=0'), 19, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 173 out of 1000 WITH 1091 SELECT 12, toNullable('merge_expressions=0'), 19, sum(number) FROM numbers_mt(1000000) Got boring AST Fuzzing step 174 out of 1000 WITH 1091 SELECT 12, toNullable('merge_expressions=0'), 19, test_alias_skip_idx__fuzz_13, sum(number) RESPECT NULLS FROM numbers_mt(1000000) Error on processing query 'WITH 1091 SELECT 12, toNullable('merge_expressions=0'), 19, test_alias_skip_idx__fuzz_13, sum(number) RESPECT NULLS FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_13' in scope WITH 1091 SELECT 12, toNullable('merge_expressions=0'), 19, test_alias_skip_idx__fuzz_13, sum(number) RESPECT NULLS FROM numbers_mt(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 175 out of 1000 WITH 1091 SELECT 12, toNullable('merge_expressions=0'), 19, sum(number) FROM numbers_mt(1000000) WHERE greater(100) Error on processing query 'WITH 1091 SELECT 12, toNullable('merge_expressions=0'), 19, sum(number) FROM numbers_mt(1000000) WHERE greater(100)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH 1091 SELECT 12, toNullable('merge_expressions=0'), 19, sum(number) FROM numbers_mt(1000000) WHERE greater(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 176 out of 1000 WITH 1091 SELECT 12, 'merge_expressions=0', 19, sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 177 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, sum(number) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 178 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 179 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 180 out of 1000 WITH materialize(toLowCardinality(1091)) SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 181 out of 1000 WITH materialize(toLowCardinality(1091)) SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 182 out of 1000 WITH materialize(toLowCardinality(toUInt128(1091))) SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 183 out of 1000 WITH materialize(toLowCardinality(toUInt128(1091))) SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 184 out of 1000 WITH materialize(toLowCardinality(toUInt128(1091))) SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 185 out of 1000 WITH materialize(toLowCardinality(toUInt128(1091))) SELECT 'merge_expressions=0', 19 FROM numbers_mt(materialize(1000000)) Error on processing query 'WITH materialize(toLowCardinality(toUInt128(1091))) SELECT 'merge_expressions=0', 19 FROM numbers_mt(materialize(1000000))': Received from localhost:9000. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): materialize(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000703ad2b 4. /build/src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903a10 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 6. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000010279f8d 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 8. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 9. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 186 out of 1000 WITH materialize(toUInt128(1091)) SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 187 out of 1000 WITH materialize(1091) SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 188 out of 1000 WITH materialize(1091) SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 189 out of 1000 WITH materialize(1091) SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 190 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 191 out of 1000 EXPLAIN PIPELINE compact = true WITH 1091 SELECT toNullable(100), 'merge_expressions=0', 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN PIPELINE compact = true WITH 1091 SELECT toNullable(100), 'merge_expressions=0', 19 FROM numbers_mt(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 192 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) WHERE toUInt256(toLowCardinality(materialize(12))) Error on processing query 'WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) WHERE toUInt256(toLowCardinality(materialize(12)))': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt256) of column toUInt256(toLowCardinality(materialize(12_UInt8))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x0000000012fcc497 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001316d043 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&) @ 0x000000001163a878 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>>&) @ 0x0000000011668f69 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662c15 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 10. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 11. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 193 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 194 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 195 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 197 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 198 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 199 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 200 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 201 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 202 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 203 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 204 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 205 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 206 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 207 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 208 out of 1000 EXPLAIN WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 209 out of 1000 EXPLAIN WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 210 out of 1000 EXPLAIN WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 211 out of 1000 EXPLAIN AST WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 212 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('1091'): 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 213 out of 1000 EXPLAIN AST WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 214 out of 1000 EXPLAIN AST WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 215 out of 1000 EXPLAIN AST WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 216 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('1091'): 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 217 out of 1000 EXPLAIN AST WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 218 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('1091'): 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 219 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 220 out of 1000 EXPLAIN AST WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 221 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 222 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('1091'): 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 223 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 224 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 225 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 226 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('1091'): 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 227 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 228 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('1091'): 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 229 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 230 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 231 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 232 out of 1000 WITH toNullable(1091) SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 233 out of 1000 WITH toNullable(1091) SELECT 'merge_expressions=0', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 234 out of 1000 WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 235 out of 1000 WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 236 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 237 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 238 out of 1000 EXPLAIN WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 239 out of 1000 EXPLAIN WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 240 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 241 out of 1000 EXPLAIN WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 242 out of 1000 EXPLAIN AST WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 243 out of 1000 EXPLAIN AST WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 244 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 245 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 246 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 247 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 248 out of 1000 EXPLAIN AST WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 249 out of 1000 EXPLAIN AST WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 250 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('1091'): 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 251 out of 1000 EXPLAIN AST WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 252 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('1091'): 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 253 out of 1000 EXPLAIN AST WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 254 out of 1000 EXPLAIN AST WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 255 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 256 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 257 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('1091'): 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 258 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 259 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 260 out of 1000 EXPLAIN AST WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 261 out of 1000 EXPLAIN AST WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 262 out of 1000 EXPLAIN AST WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 263 out of 1000 EXPLAIN AST WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 264 out of 1000 EXPLAIN AST WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 265 out of 1000 EXPLAIN AST WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 266 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('1091'): 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 267 out of 1000 EXPLAIN AST WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 268 out of 1000 EXPLAIN AST WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 269 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 270 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 271 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 272 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 273 out of 1000 WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 274 out of 1000 WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 275 out of 1000 WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 276 out of 1000 WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 277 out of 1000 WITH 1091 SELECT toFixedString('merge_expressions=0', 19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 278 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 279 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 280 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 281 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 282 out of 1000 EXPLAIN QUERY TREE dump_ast = true WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN QUERY TREE dump_ast = true WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 283 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 284 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 285 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 286 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(toUInt256(1000000)) Error on processing query 'WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(toUInt256(1000000))': Received from localhost:9000. DB::Exception: Illegal type UInt256 expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 287 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 288 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 289 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 290 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 291 out of 1000 WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), toLowCardinality(toNullable(toUInt128(19))) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 292 out of 1000 WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), toLowCardinality(toUInt128(19)) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 293 out of 1000 WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), toLowCardinality(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 294 out of 1000 WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), toLowCardinality(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 295 out of 1000 WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 EXPLAIN AST graph = true WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN AST graph = true WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), 19 FROM numbers_mt(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 297 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), 19 FROM numbers_mt(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 298 out of 1000 WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 299 out of 1000 WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 300 out of 1000 WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 301 out of 1000 WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 302 out of 1000 WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 303 out of 1000 WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), 19 FROM numbers_mt(1000000) GROUP BY uniqExact(thread_id) > 2, 'nested_alias' Error on processing query 'WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), 19 FROM numbers_mt(1000000) GROUP BY uniqExact(thread_id) > 2, 'nested_alias'': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), 19 FROM numbers_mt(1000000) GROUP BY uniqExact(thread_id) > 2, 'nested_alias'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 304 out of 1000 WITH 1091 SELECT 'merge_expressions=0', toLowCardinality(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 305 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, toLowCardinality(toUInt128(19)) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 306 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, toLowCardinality(toUInt128(19)) FROM numbers_mt(1000000) Got boring AST Fuzzing step 307 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, toLowCardinality(toUInt128(19)) FROM numbers_mt(1000000) Got boring AST Fuzzing step 308 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 309 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 310 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 311 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 312 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 313 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 314 out of 1000 WITH 1091 SELECT toLowCardinality(toLowCardinality(19, toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091), 1), materialize(toLowCardinality(1091)), toNullable(19)), 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(1000000) Error on processing query 'WITH 1091 SELECT toLowCardinality(toLowCardinality(19, toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091), 1), materialize(toLowCardinality(1091)), toNullable(19)), 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_5' in scope WITH 1091 SELECT toLowCardinality(toLowCardinality(19, toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091), 1), materialize(toLowCardinality(1091)), toNullable(19)), 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 19. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 315 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 316 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true WITH 1091 SELECT 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(toLowCardinality(1000000)) Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true WITH 1091 SELECT 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(toLowCardinality(1000000))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 317 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 318 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 319 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 320 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(1000000) WHERE toUInt128(toUInt256(19), toUInt256(19), 19) Error on processing query 'WITH 1091 SELECT 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(1000000) WHERE toUInt128(toUInt256(19), toUInt256(19), 19)': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt128'. Expected 1 argument, got 3 arguments: In scope WITH 1091 SELECT 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(1000000) WHERE toUInt128(toUInt256(19), toUInt256(19), 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 321 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, toUInt128(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 322 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 323 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 324 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 325 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 326 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 327 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 328 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 329 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 330 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 331 out of 1000 WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(toNullable(1000000)) Error on processing query 'WITH 1091 SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(toNullable(1000000))': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 332 out of 1000 WITH toUInt128(1091) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 333 out of 1000 WITH toUInt128(1091) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 334 out of 1000 WITH toUInt128(toLowCardinality(toUInt256(1091))) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 335 out of 1000 WITH toUInt128(toLowCardinality(toUInt256(1091))) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 336 out of 1000 WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 337 out of 1000 EXPLAIN PIPELINE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 338 out of 1000 EXPLAIN WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 339 out of 1000 EXPLAIN TABLE OVERRIDE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('toLowCardinality'): toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 340 out of 1000 EXPLAIN AST WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 341 out of 1000 EXPLAIN AST WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 342 out of 1000 EXPLAIN AST WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 343 out of 1000 EXPLAIN AST WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 344 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 345 out of 1000 EXPLAIN AST WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 346 out of 1000 EXPLAIN AST WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 347 out of 1000 EXPLAIN AST WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 348 out of 1000 EXPLAIN AST WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 349 out of 1000 EXPLAIN AST WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 350 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 351 out of 1000 EXPLAIN AST WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 352 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 353 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 354 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 355 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 356 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 357 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 358 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 359 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 360 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 361 out of 1000 EXPLAIN CURRENT TRANSACTION WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('toLowCardinality'): toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 362 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 363 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 364 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 365 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 366 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 367 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 368 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 369 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 370 out of 1000 EXPLAIN AST WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 EXPLAIN WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 372 out of 1000 EXPLAIN WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 373 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 374 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 375 out of 1000 EXPLAIN AST WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 EXPLAIN CURRENT TRANSACTION WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('toLowCardinality'): toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 377 out of 1000 EXPLAIN AST WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 378 out of 1000 EXPLAIN QUERY TREE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 379 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 380 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 381 out of 1000 EXPLAIN SYNTAX WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 382 out of 1000 EXPLAIN PIPELINE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 383 out of 1000 EXPLAIN TABLE OVERRIDE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('toLowCardinality'): toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 384 out of 1000 EXPLAIN QUERY TREE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 385 out of 1000 EXPLAIN QUERY TREE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 386 out of 1000 EXPLAIN WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 387 out of 1000 EXPLAIN WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 388 out of 1000 EXPLAIN WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 389 out of 1000 EXPLAIN WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 390 out of 1000 EXPLAIN WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 391 out of 1000 EXPLAIN WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 392 out of 1000 EXPLAIN WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 393 out of 1000 EXPLAIN TABLE OVERRIDE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('toLowCardinality'): toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 394 out of 1000 EXPLAIN TABLE OVERRIDE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('toLowCardinality'): toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 395 out of 1000 EXPLAIN QUERY TREE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 396 out of 1000 EXPLAIN QUERY TREE WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 397 out of 1000 WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 WITH toLowCardinality(1091) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(materialize(1000000)) Error on processing query 'WITH toLowCardinality(1091) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(materialize(1000000))': Received from localhost:9000. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): materialize(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000703ad2b 4. /build/src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903a10 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 6. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000010279f8d 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 8. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 9. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 399 out of 1000 WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 400 out of 1000 WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) GROUP BY toUInt256(toUInt128(19)) >= (today() - toUInt128(1)), and(greaterOrEquals(19, 'default_settings', today() - toUInt128(1))), toUInt128(materialize(toLowCardinality(toNullable(toUInt256(19)))), toNullable(19, 19)), toNullable(toLowCardinality(toNullable(1091))) Error on processing query 'WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) GROUP BY toUInt256(toUInt128(19)) >= (today() - toUInt128(1)), and(greaterOrEquals(19, 'default_settings', today() - toUInt128(1))), toUInt128(materialize(toLowCardinality(toNullable(toUInt256(19)))), toNullable(19, 19)), toNullable(toLowCardinality(toNullable(1091)))': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) GROUP BY toUInt256(toUInt128(19)) >= (today() - toUInt128(1)), and(greaterOrEquals(19, 'default_settings', today() - toUInt128(1))), toUInt128(materialize(toLowCardinality(toNullable(toUInt256(19)))), toNullable(19, 19)), toNullable(toLowCardinality(toNullable(1091))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 25. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 26. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 30. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 Fuzzing step 401 out of 1000 WITH toLowCardinality(1091) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(materialize(toNullable(1000000))) Error on processing query 'WITH toLowCardinality(1091) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(materialize(toNullable(1000000)))': Received from localhost:9000. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): materialize(_CAST(1000000, 'Nullable(UInt32)')). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000703ad2b 4. /build/src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903a10 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 6. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000010279f8d 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 8. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 9. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 402 out of 1000 WITH toLowCardinality(toUInt256(1091)) SELECT 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 403 out of 1000 WITH toLowCardinality(toUInt256(1091)) SELECT materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 404 out of 1000 WITH toLowCardinality(toUInt256(1091)) SELECT toUInt128(19), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 405 out of 1000 WITH toLowCardinality(toUInt256(1091)) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 406 out of 1000 WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize(1048577, 'merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Error on processing query 'WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize(1048577, 'merge_expressions=0'), 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize(1048577, 'merge_expressions=0'), 19, 19 FROM numbers_mt(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 407 out of 1000 WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 408 out of 1000 WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 409 out of 1000 WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 410 out of 1000 EXPLAIN AST WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 411 out of 1000 EXPLAIN CURRENT TRANSACTION WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 44 ('toUInt256'): toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 412 out of 1000 EXPLAIN AST WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 413 out of 1000 EXPLAIN QUERY TREE WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 414 out of 1000 EXPLAIN SYNTAX WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 EXPLAIN ESTIMATE WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 416 out of 1000 EXPLAIN ESTIMATE WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 417 out of 1000 EXPLAIN ESTIMATE WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 418 out of 1000 EXPLAIN ESTIMATE WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 419 out of 1000 EXPLAIN QUERY TREE WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 420 out of 1000 EXPLAIN QUERY TREE WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 421 out of 1000 EXPLAIN AST WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 422 out of 1000 EXPLAIN AST WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 423 out of 1000 EXPLAIN AST WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 424 out of 1000 EXPLAIN AST WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 425 out of 1000 EXPLAIN AST WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 426 out of 1000 EXPLAIN AST WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 427 out of 1000 EXPLAIN AST WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 428 out of 1000 EXPLAIN AST WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 429 out of 1000 EXPLAIN AST WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 430 out of 1000 EXPLAIN AST WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 431 out of 1000 EXPLAIN AST WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 432 out of 1000 EXPLAIN WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 EXPLAIN CURRENT TRANSACTION WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 44 ('toUInt256'): toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 434 out of 1000 EXPLAIN TABLE OVERRIDE WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('toUInt256'): toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 435 out of 1000 EXPLAIN ESTIMATE WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 436 out of 1000 EXPLAIN ESTIMATE WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 437 out of 1000 EXPLAIN ESTIMATE WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 438 out of 1000 EXPLAIN SYNTAX WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 439 out of 1000 EXPLAIN TABLE OVERRIDE WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('toUInt256'): toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 440 out of 1000 EXPLAIN SYNTAX WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 441 out of 1000 EXPLAIN SYNTAX WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 442 out of 1000 EXPLAIN ESTIMATE WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 443 out of 1000 EXPLAIN ESTIMATE WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 444 out of 1000 EXPLAIN ESTIMATE WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 445 out of 1000 EXPLAIN AST WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 446 out of 1000 EXPLAIN AST WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 447 out of 1000 WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 448 out of 1000 WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(19))), materialize('merge_expressions=0'), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 449 out of 1000 EXPLAIN ESTIMATE WITH toUInt256(materialize(1091)) SELECT toUInt128(toLowCardinality(19)), 'merge_expressions=0', 19, 19 FROM numbers_mt(materialize(toNullable(1000000))) Error on processing query 'EXPLAIN ESTIMATE WITH toUInt256(materialize(1091)) SELECT toUInt128(toLowCardinality(19)), 'merge_expressions=0', 19, 19 FROM numbers_mt(materialize(toNullable(1000000)))': Received from localhost:9000. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): materialize(_CAST(1000000, 'Nullable(UInt32)')). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000703ad2b 4. /build/src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903a10 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 6. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000010279f8d 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 8. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 9. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 450 out of 1000 WITH toUInt256(1091) SELECT toUInt128(toLowCardinality(toUInt128(materialize(19)))), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 451 out of 1000 WITH 1091 SELECT toUInt128(toLowCardinality(toNullable('merge_expressions=0')), toLowCardinality(toUInt128(materialize(19)))), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Error on processing query 'WITH 1091 SELECT toUInt128(toLowCardinality(toNullable('merge_expressions=0')), toLowCardinality(toUInt128(materialize(19)))), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt128'. Expected 1 argument, got 2 arguments: In scope WITH 1091 SELECT toUInt128(toLowCardinality(toNullable('merge_expressions=0')), toLowCardinality(toUInt128(materialize(19)))), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 452 out of 1000 WITH toUInt256(1091) SELECT toUInt128(toUInt128(materialize(19))), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 453 out of 1000 WITH toUInt256(1091) SELECT toUInt128(toUInt128(materialize(19))), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 454 out of 1000 WITH toUInt256(1091) SELECT toUInt128(toUInt128(19)), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 455 out of 1000 WITH toUInt256((query_id = id) AND (thread_id != master_thread_id), 1091) SELECT toUInt128(19), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) PREWHERE greater(100) Error on processing query 'WITH toUInt256((query_id = id) AND (thread_id != master_thread_id), 1091) SELECT toUInt128(19), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) PREWHERE greater(100)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH toUInt256((query_id = id) AND (thread_id != master_thread_id), 1091) SELECT toUInt128(19), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) PREWHERE greater(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 456 out of 1000 WITH toUInt256(1091) SELECT toUInt128(toUInt128(19)), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 457 out of 1000 WITH toUInt256(1091) SELECT toUInt128(toUInt128(19)), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 458 out of 1000 WITH toUInt256(1091) SELECT toUInt128(19), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) GROUP BY toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26, materialize(toNullable(19)), toFixedString('enable_optimizations=0', 22) Error on processing query 'WITH toUInt256(1091) SELECT toUInt128(19), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) GROUP BY toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26, materialize(toNullable(19)), toFixedString('enable_optimizations=0', 22)': Received from localhost:9000. DB::Exception: Positional argument number 26 is out of bounds. Expected in range [1, 4]. In scope WITH toUInt256(1091) SELECT toUInt128(19), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) GROUP BY toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26, materialize(toNullable(19)), toFixedString('enable_optimizations=0', 22). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 459 out of 1000 WITH toUInt256(1091) SELECT toUInt128(toUInt128(19)), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 460 out of 1000 WITH toUInt256(1091) SELECT toUInt128(toUInt128(19)), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 461 out of 1000 WITH toUInt256(1091) SELECT toUInt128(toUInt128(19)), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 462 out of 1000 WITH 1091 SELECT toUInt128(toUInt128(19)), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 WITH 1091 SELECT toUInt128(19), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 464 out of 1000 WITH 1091 SELECT toUInt128(19), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 465 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 466 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 467 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 468 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 469 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 470 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 471 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 472 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 473 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 474 out of 1000 WITH 1091 SELECT toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26), 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Error on processing query 'WITH 1091 SELECT toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26), 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH 1091 SELECT toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26), 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 475 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 476 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 477 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 478 out of 1000 WITH 1091 SELECT test_nested_alias_idx__fuzz_41, 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Error on processing query 'WITH 1091 SELECT test_nested_alias_idx__fuzz_41, 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_41' in scope WITH 1091 SELECT test_nested_alias_idx__fuzz_41, 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 479 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) WHERE uniqExact(1, thread_id) RESPECT NULLS Error on processing query 'WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) WHERE uniqExact(1, thread_id) RESPECT NULLS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) WHERE uniqExact(1, thread_id) RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 480 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 481 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 482 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 483 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 484 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) GROUP BY toNullable(materialize(toLowCardinality(19))), uniqExact(materialize(1), thread_id) IGNORE NULLS > materialize(2) Error on processing query 'WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) GROUP BY toNullable(materialize(toLowCardinality(19))), uniqExact(materialize(1), thread_id) IGNORE NULLS > materialize(2)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) GROUP BY toNullable(materialize(toLowCardinality(19))), uniqExact(materialize(1), thread_id) IGNORE NULLS > materialize(2). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 485 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 486 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', materialize(toNullable(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(toNullable(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(toNullable(19)), 19 FROM numbers_mt(materialize(toUInt256(1000000))) PREWHERE toUInt256(materialize(26)) Error on processing query 'WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(toNullable(19)), 19 FROM numbers_mt(materialize(toUInt256(1000000))) PREWHERE toUInt256(materialize(26))': Received from localhost:9000. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): materialize(_CAST('1000000', 'UInt256')). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000703ad2b 4. /build/src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903a10 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 6. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000010279f8d 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 8. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 9. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 489 out of 1000 WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(19), toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 490 out of 1000 WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(19), toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 491 out of 1000 WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(19), toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 492 out of 1000 EXPLAIN QUERY TREE passes = true WITH 1091 SELECT 19, materialize('merge_expressions=0'), materialize(19), toNullable(19) FROM numbers_mt(1000000) Error on processing query 'EXPLAIN QUERY TREE passes = true WITH 1091 SELECT 19, materialize('merge_expressions=0'), materialize(19), toNullable(19) FROM numbers_mt(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 493 out of 1000 WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(19), toNullable(19) FROM numbers_mt(toLowCardinality(toFixedString('merge_expressions=0', 19)), 1000000) Error on processing query 'WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(19), toNullable(19) FROM numbers_mt(toLowCardinality(toFixedString('merge_expressions=0', 19)), 1000000)': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(FixedString(19)) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000102799cf 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 494 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(19), toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 495 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(19), toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 496 out of 1000 EXPLAIN ESTIMATE WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(19), toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 497 out of 1000 EXPLAIN WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(19), toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 498 out of 1000 EXPLAIN WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(19), toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 499 out of 1000 EXPLAIN PIPELINE WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(19), toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 500 out of 1000 EXPLAIN PIPELINE WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(19), toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 501 out of 1000 EXPLAIN PIPELINE WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(19), toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 502 out of 1000 EXPLAIN PIPELINE WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(19), toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 503 out of 1000 EXPLAIN WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(19), toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 504 out of 1000 EXPLAIN WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(19), toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 505 out of 1000 EXPLAIN WITH toLowCardinality(1091) SELECT 19, 'merge_expressions=0', materialize(19), toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 506 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 507 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 508 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 509 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 510 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 511 out of 1000 WITH 1091 SELECT materialize(toLowCardinality(toUInt256(19))), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 512 out of 1000 WITH 1091 SELECT materialize(toLowCardinality(toUInt256(19))), 'merge_expressions=0', materialize(19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 513 out of 1000 EXPLAIN AST optimize = true WITH 1091 SELECT toLowCardinality(toUInt256(19)), materialize('merge_expressions=0'), materialize(19), 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN AST optimize = true WITH 1091 SELECT toLowCardinality(toUInt256(19)), materialize('merge_expressions=0'), materialize(19), 19 FROM numbers_mt(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 514 out of 1000 WITH 1091 SELECT materialize(toLowCardinality(19)), 'merge_expressions=0', materialize(19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 515 out of 1000 WITH 1091 SELECT materialize(toLowCardinality(19)), 'merge_expressions=0', materialize(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 516 out of 1000 WITH 1091 SELECT materialize(toLowCardinality(19)), 'merge_expressions=0', materialize(19), 19 FROM numbers_mt(materialize(materialize(100)), 1000000) Error on processing query 'WITH 1091 SELECT materialize(toLowCardinality(19)), 'merge_expressions=0', materialize(19), 19 FROM numbers_mt(materialize(materialize(100)), 1000000)': Received from localhost:9000. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): materialize(materialize(100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000703ad2b 4. /build/src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903a10 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 6. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000010279f8d 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000102799cf 8. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 9. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 517 out of 1000 WITH toLowCardinality(1091) SELECT materialize(toLowCardinality(19)), 'merge_expressions=0', materialize(19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 518 out of 1000 WITH toLowCardinality(1091) SELECT toLowCardinality(19), 'merge_expressions=0', materialize(19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 519 out of 1000 WITH toLowCardinality(1091) SELECT toLowCardinality(toNullable(19)), 'merge_expressions=0', materialize(19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 520 out of 1000 WITH toLowCardinality(1091) SELECT toLowCardinality(toNullable(19)), 'merge_expressions=0', materialize(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 521 out of 1000 WITH toLowCardinality(1091) SELECT toLowCardinality(toNullable(19)), 'merge_expressions=0', materialize(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 522 out of 1000 WITH toLowCardinality(1091) SELECT toLowCardinality(toNullable(toUInt128(toUInt128(19)), 19)), 'merge_expressions=0', materialize(19), 19 FROM numbers_mt(1000000) Error on processing query 'WITH toLowCardinality(1091) SELECT toLowCardinality(toNullable(toUInt128(toUInt128(19)), 19)), 'merge_expressions=0', materialize(19), 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH toLowCardinality(1091) SELECT toLowCardinality(toNullable(toUInt128(toUInt128(19)), 19)), 'merge_expressions=0', materialize(19), 19 FROM numbers_mt(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 523 out of 1000 WITH toLowCardinality(1091) SELECT toLowCardinality(toNullable(19)), 'merge_expressions=0', materialize(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 524 out of 1000 WITH toLowCardinality(1091) SELECT toLowCardinality(toNullable(19)), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 525 out of 1000 WITH toLowCardinality(1091) SELECT toNullable(19), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 526 out of 1000 WITH toLowCardinality(1091) SELECT toNullable(19), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 527 out of 1000 WITH toLowCardinality(1091) SELECT toNullable(19), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 528 out of 1000 WITH 1091 SELECT toNullable(19), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 529 out of 1000 WITH 1091 SELECT toNullable(19), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 530 out of 1000 WITH 1091 SELECT toNullable(19), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 531 out of 1000 WITH 1091 SELECT toNullable(19), 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 532 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 533 out of 1000 WITH 1091 SELECT 19, toFixedString('merge_expressions=0', 19), 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 WITH 1091 SELECT 19, toFixedString('merge_expressions=0'), toUInt256(19), 19 FROM numbers_mt(1000000) Error on processing query 'WITH 1091 SELECT 19, toFixedString('merge_expressions=0'), toUInt256(19), 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope WITH 1091 SELECT 19, toFixedString('merge_expressions=0'), toUInt256(19), 19 FROM numbers_mt(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 535 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) PREWHERE materialize(toLowCardinality(toUInt256(19))) Error on processing query 'WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) PREWHERE materialize(toLowCardinality(toUInt256(19)))': Received from localhost:9000. DB::Exception: Table function storage SystemNumbers (table _table_function.numbers_mt) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b1dc0 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 536 out of 1000 WITH 1091 SELECT 19, toFixedString('merge_expressions=0', 19), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 537 out of 1000 WITH 1091 SELECT 19, toFixedString('merge_expressions=0', 19), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 538 out of 1000 WITH 1091 SELECT 19, toFixedString('merge_expressions=0', 19), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 539 out of 1000 WITH 1091 SELECT 19, toFixedString('merge_expressions=0', 19), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 540 out of 1000 WITH 1091 SELECT 19, toFixedString('merge_expressions=0', 19), 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 541 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 542 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 543 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 544 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 545 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 546 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 547 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 548 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 549 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 550 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 551 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 553 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 554 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 555 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 556 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 47 ('1091'): 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 557 out of 1000 EXPLAIN WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 558 out of 1000 EXPLAIN WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 559 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 560 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) WHERE test_alias_skip_idx__fuzz_0 Error on processing query 'WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) WHERE test_alias_skip_idx__fuzz_0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_0' in scope WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) WHERE test_alias_skip_idx__fuzz_0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 561 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 562 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 564 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 565 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 566 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 567 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 568 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 569 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 570 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 571 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 572 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 573 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 574 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 575 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 576 out of 1000 EXPLAIN WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 577 out of 1000 EXPLAIN WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 578 out of 1000 EXPLAIN WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 579 out of 1000 EXPLAIN WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 580 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 581 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 582 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 583 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 584 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 585 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 586 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 587 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 588 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 589 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 590 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 591 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 592 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 593 out of 1000 EXPLAIN WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 594 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 595 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 596 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 597 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 598 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 599 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 600 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 601 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 602 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 603 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 605 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 606 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 607 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 608 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 609 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 610 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 611 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('1091'): 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 612 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 613 out of 1000 EXPLAIN WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 614 out of 1000 EXPLAIN WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 615 out of 1000 EXPLAIN WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 616 out of 1000 EXPLAIN WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 617 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 618 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 619 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 620 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 621 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 622 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 623 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 624 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 625 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 626 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 627 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 47 ('1091'): 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 628 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 629 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 630 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 631 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 632 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 633 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 634 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 635 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 636 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 637 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 638 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 639 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 640 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 641 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 642 out of 1000 EXPLAIN AST WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 643 out of 1000 EXPLAIN WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 644 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 645 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 646 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 647 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 648 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 649 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 WITH 1091 SELECT 19, 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 651 out of 1000 WITH 1091 SELECT materialize(toUInt128(19)), 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 652 out of 1000 WITH 1091 SELECT materialize(19), 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 653 out of 1000 WITH 1091 SELECT materialize(19), 'merge_expressions=0', 19, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 654 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 655 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 656 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(greater(toLowCardinality(toLowCardinality(100)), a2, 100), 1000000) Error on processing query 'WITH 1091 SELECT 19 FROM numbers_mt(greater(toLowCardinality(toLowCardinality(100)), a2, 100), 1000000)': Received from localhost:9000. DB::Exception: Missing columns: 'a2' while processing query: 'greater(toLowCardinality(_CAST(100, 'LowCardinality(UInt8)')), a2, 100)', required columns: 'a2' 'a2'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 4. /build/src/Interpreters/TreeRewriter.cpp:1544: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x0000000011899335 5. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903331 6. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 7. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000010279f8d 8. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000102799cf 9. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 10. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 657 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt('0', 1000000) Error on processing query 'WITH 1091 SELECT 19 FROM numbers_mt('0', 1000000)': Received from localhost:9000. DB::Exception: Illegal type String expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000102799cf 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 658 out of 1000 WITH toUInt128(1091) SELECT 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 659 out of 1000 WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 660 out of 1000 WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 661 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 662 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('1091'): 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 663 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 664 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 665 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 666 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('1091'): 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 667 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 668 out of 1000 EXPLAIN AST WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 669 out of 1000 EXPLAIN AST WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 670 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 671 out of 1000 EXPLAIN WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 672 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 673 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 674 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 675 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 676 out of 1000 EXPLAIN AST WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 677 out of 1000 WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 679 out of 1000 WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 680 out of 1000 WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 681 out of 1000 WITH materialize(toLowCardinality(1091)) SELECT materialize(toNullable(materialize(toNullable(100)))), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 682 out of 1000 WITH materialize(toLowCardinality(1091)) SELECT materialize(toNullable(materialize(toNullable(100)))), toUInt128(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 683 out of 1000 WITH materialize(1091) SELECT materialize(toNullable(materialize(toNullable(100)))), toUInt128(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 684 out of 1000 WITH 1091 SELECT materialize(toNullable(toNullable(100))), toUInt128(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 685 out of 1000 WITH 1091 SELECT materialize(toNullable(toNullable(toUInt256(100)))), toUInt128(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 686 out of 1000 WITH 1091 SELECT materialize(toNullable(toNullable(toUInt256(100)))), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 687 out of 1000 EXPLAIN PIPELINE `graph=1` = true WITH 1091 SELECT materialize(toNullable(toNullable(toUInt256(100)))), 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true WITH 1091 SELECT materialize(toNullable(toNullable(toUInt256(100)))), 19 FROM numbers_mt(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 688 out of 1000 WITH 1091 SELECT materialize(toNullable(toNullable(toUInt256(100)))), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 689 out of 1000 WITH 1091 SELECT materialize(toNullable(toNullable(toUInt256(100)))), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 690 out of 1000 WITH 1091 SELECT materialize(toNullable(toUInt256(100))), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 691 out of 1000 WITH 1091 SELECT materialize(toNullable(toUInt256(100))), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 692 out of 1000 WITH 1091 SELECT materialize(toNullable(toUInt256(100))), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 693 out of 1000 WITH 1091 SELECT materialize(toNullable(toUInt256(100))), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 694 out of 1000 WITH 1091 SELECT materialize(toNullable(toUInt256(100))), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 695 out of 1000 WITH 1091 SELECT materialize(toNullable(toUInt256(100))), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 696 out of 1000 WITH 1091 SELECT materialize(toNullable(toUInt256(100))), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 697 out of 1000 WITH 1091 SELECT materialize(toNullable(toUInt256(100))), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 698 out of 1000 WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 699 out of 1000 WITH 1091 SELECT materialize(toNullable(100)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 700 out of 1000 WITH 1091 SELECT materialize(greater(toLowCardinality(100), a2, event_date, -2147483649, toNullable(100)), toNullable(100)), 19 FROM numbers_mt(1000000) Error on processing query 'WITH 1091 SELECT materialize(greater(toLowCardinality(100), a2, event_date, -2147483649, toNullable(100)), toNullable(100)), 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope WITH 1091 SELECT materialize(greater(toLowCardinality(100), a2, event_date, -2147483649, toNullable(100)), toNullable(100)), 19 FROM numbers_mt(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 701 out of 1000 WITH 1091 SELECT materialize(100), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 702 out of 1000 WITH 1091 SELECT materialize(100), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 703 out of 1000 WITH 1091 SELECT 100, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 704 out of 1000 WITH 1091 SELECT 100, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 705 out of 1000 WITH 1091 SELECT 100, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 706 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 707 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) PREWHERE toUInt128(toLowCardinality(materialize(toUInt256(19)))) AND 100 AND (thread_id != master_thread_id) Error on processing query 'WITH 1091 SELECT 19 FROM numbers_mt(1000000) PREWHERE toUInt128(toLowCardinality(materialize(toUInt256(19)))) AND 100 AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope WITH 1091 SELECT 19 FROM numbers_mt(1000000) PREWHERE toUInt128(toLowCardinality(materialize(toUInt256(19)))) AND 100 AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 708 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(toLowCardinality(1000000)) Error on processing query 'WITH 1091 SELECT 19 FROM numbers_mt(toLowCardinality(1000000))': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt32) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 709 out of 1000 WITH 1091 SELECT toUInt128(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 710 out of 1000 WITH 1091 SELECT toUInt128(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 711 out of 1000 WITH 1091 SELECT toUInt128(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 712 out of 1000 WITH 1091 SELECT toUInt128(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 713 out of 1000 WITH 1091 SELECT toUInt128(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 714 out of 1000 WITH 1091 SELECT toUInt128(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 715 out of 1000 WITH 1091 SELECT toUInt128(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 716 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 717 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 718 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 719 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 720 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 721 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 722 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 723 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 724 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 725 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 726 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 727 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 728 out of 1000 WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 729 out of 1000 WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 730 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 731 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 732 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 733 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 734 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 735 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 736 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 737 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 738 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 739 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 740 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('1091'): 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 741 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 742 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 743 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 744 out of 1000 EXPLAIN AST WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 745 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 746 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 747 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 748 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 749 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 750 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 751 out of 1000 EXPLAIN AST WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 752 out of 1000 EXPLAIN AST WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 753 out of 1000 EXPLAIN AST WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 754 out of 1000 EXPLAIN AST WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 755 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 756 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 757 out of 1000 EXPLAIN AST WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 758 out of 1000 EXPLAIN AST WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 759 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 760 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 761 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('1091'): 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 762 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 763 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 764 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 765 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 766 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 767 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 768 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 769 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 770 out of 1000 EXPLAIN AST WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 771 out of 1000 EXPLAIN AST WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 772 out of 1000 EXPLAIN AST WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 773 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 774 out of 1000 WITH 1091 SELECT toNullable(toLowCardinality(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 775 out of 1000 WITH 1091 SELECT toNullable(19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 776 out of 1000 WITH 1091 SELECT toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 777 out of 1000 WITH 1091 SELECT toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 778 out of 1000 WITH 1091 SELECT 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 779 out of 1000 WITH 1091 SELECT 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 780 out of 1000 WITH 1091 SELECT 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 781 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 782 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 783 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 784 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 785 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 786 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 787 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 788 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 789 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 790 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 791 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 792 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 793 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 794 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 795 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) GROUP BY toUInt128(materialize(toNullable(toUInt256(19)))) AND toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_3, toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) Error on processing query 'WITH 1091 SELECT 19 FROM numbers_mt(1000000) GROUP BY toUInt128(materialize(toNullable(toUInt256(19)))) AND toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_3, toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope WITH 1091 SELECT 19 FROM numbers_mt(1000000) GROUP BY toUInt128(materialize(toNullable(toUInt256(19)))) AND toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_3, toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 796 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 797 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 798 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 799 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 800 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 801 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) Error on processing query 'WITH 1091 SELECT 19 FROM numbers_mt(1000000) PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH 1091 SELECT 19 FROM numbers_mt(1000000) PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 802 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 803 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 804 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 805 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 806 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 807 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 808 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 809 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 810 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 811 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 812 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 813 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) PREWHERE today() Error on processing query 'WITH 1091 SELECT 19 FROM numbers_mt(1000000) PREWHERE today()': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Date. In query WITH 1091 SELECT 19 FROM numbers_mt(1000000) PREWHERE today(). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 814 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 815 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 816 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 817 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 818 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 819 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 820 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 821 out of 1000 WITH 1091 SELECT 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 822 out of 1000 WITH 1091 SELECT materialize(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 823 out of 1000 WITH 1091 SELECT materialize(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 824 out of 1000 WITH 1091 SELECT materialize(19) FROM numbers_mt(1000000) WHERE a > toLowCardinality(toUInt128(100)) Error on processing query 'WITH 1091 SELECT materialize(19) FROM numbers_mt(1000000) WHERE a > toLowCardinality(toUInt128(100))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope WITH 1091 SELECT materialize(19) FROM numbers_mt(1000000) WHERE a > toLowCardinality(toUInt128(100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 825 out of 1000 WITH 1091 SELECT materialize(19) FROM numbers_mt(1000000) PREWHERE toLowCardinality(toUInt128(19)) Error on processing query 'WITH 1091 SELECT materialize(19) FROM numbers_mt(1000000) PREWHERE toLowCardinality(toUInt128(19))': Received from localhost:9000. DB::Exception: Table function storage SystemNumbers (table _table_function.numbers_mt) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b1dc0 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 826 out of 1000 WITH 1091 SELECT materialize(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 827 out of 1000 WITH 1091 SELECT materialize(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 828 out of 1000 WITH 1091 SELECT toLowCardinality('default_settings'), materialize(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 829 out of 1000 WITH 1091 SELECT 'default_settings', materialize(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 830 out of 1000 WITH 1091 SELECT 'default_settings', materialize(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 831 out of 1000 WITH 1091 SELECT 'default_settings', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 832 out of 1000 WITH 1091 SELECT 'default_settings', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 833 out of 1000 WITH 1091 SELECT 'default_settings', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 834 out of 1000 WITH 1091 SELECT 'default_settings', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 835 out of 1000 WITH 1091 SELECT 'default_settings', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 836 out of 1000 WITH 1091 SELECT 'default_settings', toLowCardinality(19) FROM numbers_mt(test_nested_alias_idx__fuzz_42, 1000000) Error on processing query 'WITH 1091 SELECT 'default_settings', toLowCardinality(19) FROM numbers_mt(test_nested_alias_idx__fuzz_42, 1000000)': Received from localhost:9000. DB::Exception: Missing columns: 'test_nested_alias_idx__fuzz_42' while processing query: 'test_nested_alias_idx__fuzz_42', required columns: 'test_nested_alias_idx__fuzz_42' 'test_nested_alias_idx__fuzz_42'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::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) @ 0x00000000118911ca 4. /build/src/Interpreters/TreeRewriter.cpp:1544: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x0000000011899335 5. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903331 6. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 7. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000010279f8d 8. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000102799cf 9. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 10. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 837 out of 1000 WITH 1091 SELECT 'default_settings', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 838 out of 1000 WITH 1091 SELECT 'default_settings', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 839 out of 1000 WITH 1091 SELECT 'default_settings', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 840 out of 1000 WITH 1091 SELECT 'default_settings', greater(toLowCardinality(100), a2, event_date, -2147483649, 100), 19 FROM numbers_mt('enable_optimizations=0', 1000000) Error on processing query 'WITH 1091 SELECT 'default_settings', greater(toLowCardinality(100), a2, event_date, -2147483649, 100), 19 FROM numbers_mt('enable_optimizations=0', 1000000)': Received from localhost:9000. DB::Exception: Illegal type String expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000102799cf 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 841 out of 1000 WITH 1091 SELECT 'default_settings', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 842 out of 1000 WITH 1091 SELECT 'default_settings', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 843 out of 1000 WITH 1091 SELECT toLowCardinality(12), 'default_settings', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 844 out of 1000 WITH 1091 SELECT toLowCardinality(12), 'default_settings', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 845 out of 1000 WITH 1091 SELECT 12, 'default_settings', 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 846 out of 1000 WITH 1091 SELECT 12, 'default_settings', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 847 out of 1000 WITH 1091 SELECT 12, 'default_settings', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 848 out of 1000 WITH 1091 SELECT 12, 'default_settings', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 849 out of 1000 WITH 1091 SELECT 12, 'default_settings', 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 850 out of 1000 WITH 1091 SELECT 12, toFixedString('default_settings', 16), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 851 out of 1000 WITH 1091 SELECT 12, toFixedString('default_settings', 16), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 852 out of 1000 WITH 1091 SELECT 12, toFixedString('default_settings', 16), 19 FROM numbers_mt(1000000) WHERE event_date Error on processing query 'WITH 1091 SELECT 12, toFixedString('default_settings', 16), 19 FROM numbers_mt(1000000) WHERE event_date': Received from localhost:9000. DB::Exception: Unknown expression identifier 'event_date' in scope WITH 1091 SELECT 12, toFixedString('default_settings', 16), 19 FROM numbers_mt(1000000) WHERE event_date. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 853 out of 1000 WITH 1091 SELECT 12, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 854 out of 1000 WITH 1091 SELECT 12, 19 FROM numbers_mt(1000000) WHERE materialize('0') Error on processing query 'WITH 1091 SELECT 12, 19 FROM numbers_mt(1000000) WHERE materialize('0')': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: String. In query WITH 1091 SELECT 12, 19 FROM numbers_mt(1000000) WHERE materialize('0'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 855 out of 1000 WITH 1091 SELECT 12, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 856 out of 1000 WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 857 out of 1000 WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 858 out of 1000 WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 859 out of 1000 WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 860 out of 1000 WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 861 out of 1000 WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 862 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) GROUP BY equals(currentDatabase()) AND greaterOrEquals(today() - 1), toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) Error on processing query 'EXPLAIN PIPELINE WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) GROUP BY equals(currentDatabase()) AND greaterOrEquals(today() - 1), toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) GROUP BY equals(currentDatabase()) AND greaterOrEquals(today() - 1), toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 22. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 23. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 863 out of 1000 WITH 1091 SELECT 12, 19 FROM numbers_mt(toLowCardinality(1000000)) Error on processing query 'WITH 1091 SELECT 12, 19 FROM numbers_mt(toLowCardinality(1000000))': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt32) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 864 out of 1000 WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 865 out of 1000 WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 866 out of 1000 WITH materialize(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 867 out of 1000 WITH materialize(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 868 out of 1000 WITH materialize(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 869 out of 1000 WITH materialize(1091) SELECT 12, toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26), 19) FROM numbers_mt(1000000) Error on processing query 'WITH materialize(1091) SELECT 12, toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26), 19) FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH materialize(1091) SELECT 12, toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26), 19) FROM numbers_mt(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 870 out of 1000 EXPLAIN PIPELINE WITH materialize(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 871 out of 1000 EXPLAIN PIPELINE WITH materialize(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 872 out of 1000 EXPLAIN AST WITH materialize(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 873 out of 1000 EXPLAIN AST WITH materialize(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 874 out of 1000 EXPLAIN TABLE OVERRIDE WITH materialize(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH materialize(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('materialize'): materialize(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 875 out of 1000 EXPLAIN CURRENT TRANSACTION WITH materialize(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH materialize(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 50 ('materialize'): materialize(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 876 out of 1000 EXPLAIN AST WITH materialize(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 877 out of 1000 EXPLAIN AST WITH materialize(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 878 out of 1000 EXPLAIN AST WITH materialize(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 879 out of 1000 WITH materialize(1091) SELECT 12, toNullable(toUInt256(19)) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 880 out of 1000 WITH materialize(1091) SELECT 12, toUInt256(19) FROM numbers_mt(1000000) PREWHERE toFixedString(toNullable(toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id), 'default_settings', materialize(toNullable(toUInt128(16)))) Error on processing query 'WITH materialize(1091) SELECT 12, toUInt256(19) FROM numbers_mt(1000000) PREWHERE toFixedString(toNullable(toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id), 'default_settings', materialize(toNullable(toUInt128(16))))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH materialize(1091) SELECT 12, toUInt256(19) FROM numbers_mt(1000000) PREWHERE toFixedString(toNullable(toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id), 'default_settings', materialize(toNullable(toUInt128(16)))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 881 out of 1000 WITH materialize(1091) SELECT 12, toNullable(toUInt256(19)) FROM numbers_mt(1000000) Got boring AST Fuzzing step 882 out of 1000 WITH 1091 SELECT 12, toNullable(toUInt256(19)) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 883 out of 1000 WITH 1091 SELECT 12, toNullable(toUInt256(19)) FROM numbers_mt(1000000) Got boring AST Fuzzing step 884 out of 1000 WITH 1091 SELECT 12, toNullable(toUInt256(19)) FROM numbers_mt(1000000) Got boring AST Fuzzing step 885 out of 1000 WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 886 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 887 out of 1000 EXPLAIN WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 888 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 889 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 890 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 891 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 892 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 893 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 894 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 895 out of 1000 WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 896 out of 1000 WITH 1091 SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 897 out of 1000 WITH materialize(toLowCardinality(toNullable(toUInt256(1091)))) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 898 out of 1000 WITH materialize(toNullable(toUInt256(1091))) SELECT 12, 19 FROM numbers_mt(1000000) GROUP BY materialize(toNullable(1)), 19, test_nested_alias_idx__fuzz_1 Error on processing query 'WITH materialize(toNullable(toUInt256(1091))) SELECT 12, 19 FROM numbers_mt(1000000) GROUP BY materialize(toNullable(1)), 19, test_nested_alias_idx__fuzz_1': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope WITH materialize(toNullable(toUInt256(1091))) SELECT 12, 19 FROM numbers_mt(1000000) GROUP BY materialize(toNullable(1)), 19, test_nested_alias_idx__fuzz_1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 899 out of 1000 WITH materialize(toLowCardinality(toNullable(toUInt256(1091)))) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 900 out of 1000 WITH toLowCardinality(toNullable(toUInt256(1091))) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 901 out of 1000 WITH toLowCardinality(toNullable(toUInt256(1091))) SELECT 12, toNullable(19) FROM numbers_mt(toLowCardinality(toLowCardinality(100)), 1000000) Error on processing query 'WITH toLowCardinality(toNullable(toUInt256(1091))) SELECT 12, toNullable(19) FROM numbers_mt(toLowCardinality(toLowCardinality(100)), 1000000)': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt8) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000102799cf 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 902 out of 1000 WITH toLowCardinality(toNullable(1091)) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 903 out of 1000 EXPLAIN PIPELINE compact = true WITH toLowCardinality(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Error on processing query 'EXPLAIN PIPELINE compact = true WITH toLowCardinality(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 904 out of 1000 WITH toLowCardinality(toNullable(1091)) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 905 out of 1000 WITH toLowCardinality(toNullable(1091)) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Got boring AST Fuzzing step 906 out of 1000 WITH toLowCardinality(toNullable(1091)) SELECT 12, toNullable(19) FROM numbers_mt(toUInt256(1000000)) Error on processing query 'WITH toLowCardinality(toNullable(1091)) SELECT 12, toNullable(19) FROM numbers_mt(toUInt256(1000000))': Received from localhost:9000. DB::Exception: Illegal type UInt256 expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 907 out of 1000 WITH toNullable(1091) SELECT 12, toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 908 out of 1000 WITH toNullable(1091) SELECT toUInt128(12), toNullable(19) FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 909 out of 1000 WITH toNullable(1091) SELECT toUInt128(12), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 910 out of 1000 WITH toNullable(1091) SELECT toUInt128(12), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 911 out of 1000 WITH toNullable(1091) SELECT toUInt128(12), materialize(toLowCardinality(toNullable(19))), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 912 out of 1000 WITH toNullable(1091) SELECT toUInt128(12), materialize(toLowCardinality(toNullable(toUInt256(12), 19))), 19 FROM numbers_mt(1000000) Error on processing query 'WITH toNullable(1091) SELECT toUInt128(12), materialize(toLowCardinality(toNullable(toUInt256(12), 19))), 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH toNullable(1091) SELECT toUInt128(12), materialize(toLowCardinality(toNullable(toUInt256(12), 19))), 19 FROM numbers_mt(1000000). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 913 out of 1000 WITH toNullable(1091) SELECT toUInt128(12), materialize(toLowCardinality(toNullable(19))), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 914 out of 1000 WITH toNullable(1091) SELECT toUInt128(12), materialize(toLowCardinality(19)), 19 FROM numbers_mt(1000000) GROUP BY 1091 Error on processing query 'WITH toNullable(1091) SELECT toUInt128(12), materialize(toLowCardinality(19)), 19 FROM numbers_mt(1000000) GROUP BY 1091': Received from localhost:9000. DB::Exception: Positional argument number 1091 is out of bounds. Expected in range [1, 3]. In scope WITH toNullable(1091) SELECT toUInt128(12), materialize(toLowCardinality(19)), 19 FROM numbers_mt(1000000) GROUP BY 1091. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 915 out of 1000 WITH toNullable(1091) SELECT toUInt128(12), toLowCardinality(toNullable(19)), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 916 out of 1000 WITH toNullable(1091) SELECT toUInt128(12), toLowCardinality(toNullable(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 917 out of 1000 WITH toNullable(1091) SELECT toUInt128(12), toLowCardinality(toNullable(19)), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 918 out of 1000 WITH toNullable(1091) SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 919 out of 1000 WITH toNullable(1091) SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 920 out of 1000 WITH toNullable(1091) SELECT 12, toNullable(19), 19 FROM numbers_mt(toUInt128(1000000)) Error on processing query 'WITH toNullable(1091) SELECT 12, toNullable(19), 19 FROM numbers_mt(toUInt128(1000000))': Received from localhost:9000. DB::Exception: Illegal type UInt128 expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 921 out of 1000 WITH toNullable(1091) SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) GROUP BY materialize(toNullable(toNullable(materialize(materialize(toLowCardinality(toUInt256(100)))), toUInt256(100)))), toUInt256(19) >= (today() - toUInt128(1)) Error on processing query 'WITH toNullable(1091) SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) GROUP BY materialize(toNullable(toNullable(materialize(materialize(toLowCardinality(toUInt256(100)))), toUInt256(100)))), toUInt256(19) >= (today() - toUInt128(1))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH toNullable(1091) SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) GROUP BY materialize(toNullable(toNullable(materialize(materialize(toLowCardinality(toUInt256(100)))), toUInt256(100)))), toUInt256(19) >= (today() - toUInt128(1)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 922 out of 1000 WITH 1091 SELECT 12, toNullable(19), materialize(toUInt128(19)) FROM numbers_mt(toNullable(toNullable(toLowCardinality(toNullable(19))), 1091 AS id), 1000000) WHERE toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), 'WITH 01091 AS id SELECT 1;') Error on processing query 'WITH 1091 SELECT 12, toNullable(19), materialize(toUInt128(19)) FROM numbers_mt(toNullable(toNullable(toLowCardinality(toNullable(19))), 1091 AS id), 1000000) WHERE toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), 'WITH 01091 AS id SELECT 1;')': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH 1091 SELECT 12, toNullable(19), materialize(toUInt128(19)) FROM numbers_mt(toNullable(toNullable(toLowCardinality(toNullable(19))), 1091 AS id), 1000000) WHERE toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), 'WITH 01091 AS id SELECT 1;'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x000000001104f0f2 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 923 out of 1000 WITH toNullable(1091) SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 924 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 925 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 926 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 927 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 928 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 929 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 930 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 931 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 55 ('1091'): 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 932 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 933 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 934 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 935 out of 1000 EXPLAIN WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 936 out of 1000 EXPLAIN WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 937 out of 1000 EXPLAIN WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 938 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 939 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 940 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 941 out of 1000 EXPLAIN TABLE OVERRIDE WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 50 ('1091'): 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 942 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 943 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 944 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 945 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 946 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 947 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 948 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 949 out of 1000 WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 950 out of 1000 WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 951 out of 1000 WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 952 out of 1000 WITH 1091 SELECT 12, toNullable(19), 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 953 out of 1000 WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 954 out of 1000 WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(toNullable(1000000)) Error on processing query 'WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(toNullable(1000000))': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 955 out of 1000 WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 956 out of 1000 WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 957 out of 1000 WITH 1091 SELECT 12, 19 FROM numbers_mt(1000000) PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH 1091 SELECT 12, 19 FROM numbers_mt(1000000) PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'event_date' in scope WITH 1091 SELECT 12, 19 FROM numbers_mt(1000000) PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 958 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 959 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 960 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 961 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 962 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 963 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 964 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 55 ('1091'): 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 965 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 966 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 967 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 968 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 969 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 970 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 971 out of 1000 EXPLAIN PIPELINE WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 972 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 973 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 974 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 975 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 976 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 55 ('1091'): 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 977 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 978 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 55 ('1091'): 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 979 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 980 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 981 out of 1000 EXPLAIN WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 982 out of 1000 EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 55 ('1091'): 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 983 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 984 out of 1000 EXPLAIN ESTIMATE WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 985 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 986 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 987 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 988 out of 1000 EXPLAIN WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 989 out of 1000 EXPLAIN WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 990 out of 1000 EXPLAIN WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 991 out of 1000 EXPLAIN WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 992 out of 1000 EXPLAIN QUERY TREE WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 993 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 994 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 995 out of 1000 EXPLAIN SYNTAX WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 996 out of 1000 EXPLAIN AST WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 997 out of 1000 WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Query succeeded, using this AST as a start Fuzzing step 998 out of 1000 WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 999 out of 1000 WITH 1091 SELECT 12, 19, 19 FROM numbers_mt(1000000) Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 2 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 3 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 4 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 5 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 6 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 7 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 8 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 9 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 10 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 11 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 12 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 13 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 14 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 15 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 16 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 17 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 18 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 19 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 20 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 21 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 22 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 23 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 24 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 25 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 26 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 27 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 28 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 29 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 30 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 31 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 32 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 33 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 34 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 35 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 36 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 37 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 38 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 39 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 40 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 41 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 42 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 43 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 44 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 45 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 46 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 47 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 48 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 49 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 50 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 51 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 52 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 53 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 54 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 55 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 56 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 57 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 58 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 59 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 60 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 61 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 62 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 63 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 64 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 65 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 66 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 67 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 68 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 69 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 70 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 71 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 72 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 73 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 74 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 75 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 76 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 77 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 78 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 79 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 80 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 81 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 82 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 83 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 84 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 85 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 86 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 87 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 88 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 89 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 90 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 91 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 92 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 93 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 94 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 95 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 96 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 97 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 98 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 99 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 100 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 101 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 102 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 103 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 104 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 105 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 106 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 107 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 108 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 109 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 110 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 111 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 112 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 113 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 114 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 115 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 116 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 117 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 118 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 119 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 120 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 121 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 122 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 123 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 124 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 125 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 126 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 127 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 128 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 129 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 130 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 131 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 132 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 133 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 134 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 135 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 136 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 137 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 138 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 139 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 140 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 141 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 142 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 143 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 144 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 145 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 146 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 147 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 148 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 149 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 150 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 151 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 152 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 153 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 154 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 155 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 156 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 157 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 158 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 159 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 160 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 161 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 162 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 163 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 164 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 165 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 166 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 167 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 168 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 169 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 170 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 171 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 172 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 173 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 174 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 175 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 176 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 177 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 178 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 179 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 180 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 181 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 182 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 183 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 184 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 185 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 186 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 187 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 188 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 189 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 190 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 191 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 192 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 193 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 194 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 195 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 196 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 197 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 198 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 199 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 200 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 201 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 202 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 203 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 204 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 205 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 206 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 207 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 208 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 209 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 210 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 211 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 212 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 213 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 214 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 215 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 216 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 217 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 218 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 219 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 220 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 221 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 222 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 223 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 224 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 225 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 226 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 227 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 228 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 229 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 230 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 231 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 232 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 233 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 234 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 235 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 236 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 237 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 238 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 239 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 240 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 241 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 242 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 243 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 244 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 245 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 246 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 247 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 248 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 249 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 250 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 251 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 252 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 253 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 254 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 255 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 256 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 257 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 258 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 259 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 260 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 261 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 262 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 263 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 264 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 265 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 266 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 267 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 268 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 269 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 270 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 271 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 272 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 273 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 274 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 275 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 276 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 277 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 278 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 279 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 280 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 281 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 282 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 283 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 284 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 285 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 286 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 287 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 288 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 289 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 290 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 291 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 292 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 293 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 294 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 295 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 296 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 297 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 298 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 299 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 300 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 301 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 302 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 303 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 304 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 305 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 306 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 307 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 308 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 309 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 310 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 311 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 312 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 313 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 314 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 315 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 316 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 317 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 318 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 319 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 320 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 321 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 322 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 323 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 324 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 325 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 326 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 327 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 328 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 329 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 330 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 331 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 332 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 333 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 334 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 335 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 336 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 337 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 338 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 339 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 340 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 341 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 342 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 343 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 344 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 345 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 346 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 347 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 348 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 349 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 350 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 351 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 352 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 353 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 354 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 355 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 356 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 357 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 358 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 359 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 360 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 361 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 362 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 363 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 364 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 365 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 366 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 367 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 368 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 369 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 370 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 371 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 372 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 373 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 374 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 375 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 376 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 377 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 378 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 379 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 380 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 381 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 382 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 383 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 384 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 385 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 386 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 387 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 388 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 389 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 390 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 391 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 392 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 393 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 394 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 395 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 396 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 397 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 398 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 399 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 400 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 401 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 402 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 403 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 404 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 405 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 406 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 407 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 408 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 409 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 410 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 411 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 412 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 413 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 414 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 415 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 416 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 417 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 418 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 419 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 420 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 421 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 422 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 423 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 424 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 425 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 426 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 427 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 428 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 429 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 430 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 431 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 432 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 433 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 434 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 435 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 436 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 437 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 438 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 439 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 440 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 441 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 442 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 443 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 444 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 445 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 446 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 447 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 448 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 449 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 450 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 451 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 452 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 453 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 454 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 455 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 456 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 457 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 458 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 459 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 460 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 461 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 462 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 463 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 464 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 465 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 466 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 467 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 468 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 469 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 470 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 471 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 472 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 473 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 474 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 475 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 476 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 477 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 478 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 479 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 480 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 481 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 482 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 483 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 484 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 485 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 486 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 487 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 488 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 489 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 490 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 491 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 492 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 493 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 494 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 495 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 496 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 497 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 498 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 499 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 500 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 501 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 502 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 503 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 504 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 505 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 506 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 507 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 508 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 509 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 510 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 511 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 512 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 513 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 514 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 515 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 516 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 517 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 518 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 519 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 520 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 521 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 522 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 523 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 524 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 525 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 526 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 527 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 528 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 529 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 530 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 531 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 532 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 533 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 534 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 535 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 536 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 537 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 538 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 539 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 540 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 541 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 542 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 543 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 544 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 545 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 546 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 547 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 548 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 549 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 550 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 551 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 552 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 553 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 554 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 555 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 556 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 557 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 558 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 559 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 560 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 561 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 562 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 563 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 564 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 565 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 566 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 567 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 568 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 569 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 570 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 571 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 572 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 573 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 574 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 575 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 576 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 577 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 578 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 579 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 580 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 581 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 582 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 583 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 584 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 585 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 586 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 587 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 588 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 589 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 590 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 591 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 592 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 593 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 594 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 595 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 596 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 597 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 598 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 599 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 600 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 601 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 602 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 603 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 604 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 605 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 606 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 607 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 608 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 609 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 610 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 611 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 612 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 613 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 614 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 615 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 616 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 617 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 618 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 619 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 620 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 621 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 622 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 623 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 624 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 625 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 626 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 627 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 628 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 629 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 630 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 631 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 632 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 633 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 634 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 635 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 636 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 637 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 638 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 639 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 640 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 641 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 642 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 643 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 644 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 645 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 646 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 647 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 648 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 649 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 650 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 651 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 652 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 653 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 654 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 655 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 656 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 657 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 658 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 659 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 660 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 661 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 662 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 663 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 664 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 665 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 666 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 667 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 668 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 669 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 670 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 671 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 672 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 673 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 674 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 675 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 676 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 677 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 678 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 679 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 680 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 681 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 682 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 683 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 684 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 685 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 686 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 687 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 688 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 689 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 690 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 691 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 692 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 693 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 694 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 695 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 696 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 697 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 698 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 699 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 700 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 701 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 702 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 703 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 704 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 705 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 706 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 707 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 708 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 709 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 710 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 711 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 712 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 713 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 714 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 715 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 716 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 717 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 718 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 719 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 720 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 721 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 722 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 723 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 724 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 725 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 726 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 727 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 728 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 729 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 730 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 731 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 732 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 733 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 734 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 735 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 736 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 737 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 738 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 739 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 740 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 741 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 742 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 743 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 744 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 745 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 746 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 747 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 748 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 749 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 750 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 751 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 752 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 753 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 754 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 755 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 756 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 757 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 758 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 759 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 760 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 761 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 762 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 763 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 764 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 765 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 766 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 767 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 768 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 769 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 770 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 771 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 772 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 773 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 774 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 775 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 776 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 777 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 778 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 779 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 780 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 781 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 782 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 783 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 784 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 785 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 786 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 787 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 788 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 789 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 790 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 791 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 792 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 793 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 794 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 795 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 796 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 797 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 798 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 799 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 800 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 801 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 802 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 803 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 804 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 805 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 806 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 807 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 808 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 809 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 810 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 811 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 812 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 813 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 814 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 815 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 816 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 817 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 818 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 819 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 820 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 821 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 822 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 823 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 824 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 825 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 826 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 827 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 828 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 829 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 830 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 831 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 832 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 833 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 834 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 835 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 836 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 837 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 838 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 839 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 840 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 841 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 842 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 843 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 844 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 845 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 846 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 847 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 848 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 849 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 850 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 851 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 852 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 853 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 854 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 855 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 856 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 857 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 858 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 859 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 860 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 861 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 862 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 863 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 864 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 865 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 866 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 867 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 868 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 869 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 870 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 871 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 872 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 873 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 874 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 875 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 876 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 877 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 878 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 879 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 880 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 881 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 882 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 883 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 884 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 885 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 886 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 887 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 888 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 889 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 890 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 891 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 892 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 893 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 894 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 895 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 896 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 897 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 898 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 899 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 900 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 901 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 902 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 903 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 904 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 905 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 906 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 907 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 908 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 909 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 910 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 911 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 912 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 913 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 914 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 915 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 916 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 917 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 918 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 919 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 920 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 921 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 922 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 923 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 924 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 925 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 926 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 927 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 928 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 929 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 930 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 931 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 932 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 933 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 934 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 935 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 936 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 937 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 938 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 939 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 940 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 941 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 942 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 943 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 944 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 945 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 946 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 947 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 948 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 949 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 950 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 951 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 952 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 953 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 954 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 955 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 956 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 957 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 958 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 959 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 960 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 961 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 962 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 963 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 964 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 965 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 966 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 967 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 968 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 969 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 970 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 971 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 972 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 973 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 974 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 975 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 976 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 977 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 978 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 979 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 980 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 981 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 982 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 983 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 984 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 985 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 986 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 987 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 988 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 989 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 990 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 991 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 992 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 993 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 994 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 995 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 996 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 997 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 998 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 999 out of 1000 SYSTEM FLUSH LOGS Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 2 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 3 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 4 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 5 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 6 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(today(), toLowCardinality(toNullable(1091 AS id)), 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(today(), toLowCardinality(toNullable(1091 AS id)), 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(today(), toLowCardinality(toNullable(1091 AS id)), 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 7 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT toLowCardinality(toLowCardinality(materialize(100), 19, 1), materialize(toLowCardinality(1091)), toLowCardinality(toNullable(19))), uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT toLowCardinality(toLowCardinality(materialize(100), 19, 1), materialize(toLowCardinality(1091)), toLowCardinality(toNullable(19))), uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 3, should be 1: In scope WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT toLowCardinality(toLowCardinality(materialize(100), 19, 1), materialize(toLowCardinality(1091)), toLowCardinality(toNullable(19))), uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 8 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 9 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(test_nested_alias_idx__fuzz_31, event_date, today() - 1) ORDER BY event_time ASC NULLS LAST LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(test_nested_alias_idx__fuzz_31, event_date, today() - 1) ORDER BY event_time ASC NULLS LAST LIMIT -2147483649) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_31' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(test_nested_alias_idx__fuzz_31, event_date, today() - 1) ORDER BY event_time ASC NULLS LAST LIMIT -2147483649) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 14. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 10 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 11 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 12 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus('-214748364.7', today(), 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus('-214748364.7', today(), 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus('-214748364.7', today(), 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 13 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 14 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 15 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 16 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(1)) ORDER BY event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(1)) ORDER BY event_time ASC NULLS LAST LIMIT 255) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(1)) ORDER BY event_time ASC NULLS LAST LIMIT 255) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 17 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query), test_alias_skip_idx__fuzz_33, normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query), test_alias_skip_idx__fuzz_33, normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 255) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_33' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query), test_alias_skip_idx__fuzz_33, normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 255) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 14. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 18 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date) ORDER BY event_time ASC LIMIT 255 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date) ORDER BY event_time ASC LIMIT 255) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date) ORDER BY event_time ASC LIMIT 255) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 19 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(current_database) AND (normalizeQuery(query) = normalizeQuery(materialize(toLowCardinality('with 01091 as id select sum(number) from numbers_mt(1000000);')))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 255 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(current_database) AND (normalizeQuery(query) = normalizeQuery(materialize(toLowCardinality('with 01091 as id select sum(number) from numbers_mt(1000000);')))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 255) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE equals(current_database) AND (normalizeQuery(query) = normalizeQuery(materialize(toLowCardinality('with 01091 as id select sum(number) from numbers_mt(1000000);')))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 255) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 20 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 21 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 22 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE equals(current_database, materialize(materialize(1091), toInt256(-2147483649)), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT test_alias_skip_idx__fuzz_11, uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE greaterOrEquals(test_alias_skip_idx__fuzz_6, event_date, today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE equals(current_database, materialize(materialize(1091), toInt256(-2147483649)), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 255) AS id SELECT test_alias_skip_idx__fuzz_11, uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE greaterOrEquals(test_alias_skip_idx__fuzz_6, event_date, today() - 1) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_11' in scope WITH (SELECT query_id FROM system.query_log PREWHERE equals(current_database, materialize(materialize(1091), toInt256(-2147483649)), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 255) AS id SELECT test_alias_skip_idx__fuzz_11, uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE greaterOrEquals(test_alias_skip_idx__fuzz_6, event_date, today() - 1) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 23 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE equals(current_database, toUInt256(19) >= (today() - toUInt128(1)), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE ((current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);')))) AND (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE equals(current_database, toUInt256(19) >= (today() - toUInt128(1)), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 255) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE ((current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);')))) AND (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope (SELECT query_id FROM system.query_log PREWHERE equals(current_database, toUInt256(19) >= (today() - toUInt128(1)), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 255) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 29. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 30. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 31. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e Fuzzing step 24 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 25 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 255 ) AS id SELECT greater(toLowCardinality(2)) FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND notEquals(toLowCardinality(19, toNullable(toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091)), 1), thread_id, master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 255) AS id SELECT greater(toLowCardinality(2)) FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND notEquals(toLowCardinality(19, toNullable(toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091)), 1), thread_id, master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 255) AS id SELECT greater(toLowCardinality(2)) FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND notEquals(toLowCardinality(19, toNullable(toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091)), 1), thread_id, master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 26 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 27 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= minus(normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;'), query) = normalizeQuery(toFixedString(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);'), 58)), today(), 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 255) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= minus(normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;'), query) = normalizeQuery(toFixedString(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);'), 58)), today(), 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 255) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= minus(normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;'), query) = normalizeQuery(toFixedString(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);'), 58)), today(), 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 28 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(materialize('with 01091 as id select sum(number) from numbers_mt(1000000);'))) AND greaterOrEquals(today() - 1) ORDER BY event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(materialize('with 01091 as id select sum(number) from numbers_mt(1000000);'))) AND greaterOrEquals(today() - 1) ORDER BY event_time ASC NULLS LAST LIMIT 255) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(materialize('with 01091 as id select sum(number) from numbers_mt(1000000);'))) AND greaterOrEquals(today() - 1) ORDER BY event_time ASC NULLS LAST LIMIT 255) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 29 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(materialize('with 01091 as id select sum(number) from numbers_mt(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Current AST is too long, discarding it and using the original AST as a start Fuzzing step 30 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 31 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 32 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1048576 ) AS id SELECT uniqExact(toUInt128(toNullable(toNullable(1))), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 33 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1023 ) AS id SELECT uniqExact(toUInt128(toNullable(toNullable(1))), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 34 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY event_time ASC LIMIT 1023 ) AS id SELECT uniqExact(toUInt128(toNullable(toNullable(1))), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 35 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) WHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY event_time ASC LIMIT 1023 ) AS id SELECT uniqExact(toUInt128(toNullable(toNullable(1))), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 36 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) WHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY event_time ASC LIMIT 1023 ) AS id SELECT uniqExact(toUInt128(toNullable(toNullable(1))), thread_id) > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) WHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY event_time ASC LIMIT 1023) AS id SELECT uniqExact(toUInt128(toNullable(toNullable(1))), thread_id) > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: While processing toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26): While processing (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) WHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY event_time ASC LIMIT 1023) AS id: While processing WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) WHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY event_time ASC LIMIT 1023) AS id SELECT uniqExact(toUInt128(toNullable(toNullable(1))), thread_id) > 2 FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c5263 15. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 17. /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 @ 0x0000000011623ef0 18. /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) @ 0x000000001161f094 19. /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&) @ 0x000000001161beb1 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 22. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 23. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 24. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 26. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 27. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 28. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 30. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 31. /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 @ 0x0000000011622615 Fuzzing step 37 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) WHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) ORDER BY event_time ASC LIMIT 1023 ) AS id SELECT uniqExact(toNullable(toNullable(1)), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 38 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC NULLS LAST LIMIT 1023 ) AS id SELECT uniqExact(toNullable(toNullable(1)), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 39 out of 1000 EXPLAIN PIPELINE `graph=1` = true WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time DESC NULLS FIRST LIMIT 1023 ) AS id SELECT uniqExact(toNullable(toNullable(1)), thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Error on processing query 'EXPLAIN PIPELINE `graph=1` = true WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time DESC NULLS FIRST LIMIT 1023) AS id SELECT uniqExact(toNullable(toNullable(1)), thread_id) IGNORE NULLS > 2 FROM system.query_thread_log': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 40 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC NULLS LAST LIMIT 1023 ) AS id SELECT uniqExact(toNullable(toNullable(1)), thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 41 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC NULLS LAST LIMIT 1023 ) AS id SELECT uniqExact(toNullable(1), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 42 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC NULLS FIRST LIMIT 1023 ) AS id SELECT uniqExact(toNullable(1), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 43 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC NULLS FIRST LIMIT 1023 ) AS id SELECT uniqExact(toNullable(1), thread_id) > 2 FROM system.query_thread_log GROUP BY equals(normalizeQuery(query), toUInt256(1), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))), toUInt128(toNullable(toUInt256(19)), 19, 19) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC NULLS FIRST LIMIT 1023) AS id SELECT uniqExact(toNullable(1), thread_id) > 2 FROM system.query_thread_log GROUP BY equals(normalizeQuery(query), toUInt256(1), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))), toUInt128(toNullable(toUInt256(19)), 19, 19)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 4, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC NULLS FIRST LIMIT 1023) AS id SELECT uniqExact(toNullable(1), thread_id) > 2 FROM system.query_thread_log GROUP BY equals(normalizeQuery(query), toUInt256(1), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))), toUInt128(toNullable(toUInt256(19)), 19, 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 44 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC NULLS LAST LIMIT 1023 ) AS id SELECT uniqExact(toNullable(1), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 45 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC NULLS LAST LIMIT 1023 ) AS id SELECT uniqExact(toNullable(1), a > materialize(100), thread_id) > 2 FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC NULLS LAST LIMIT 1023) AS id SELECT uniqExact(toNullable(1), a > materialize(100), thread_id) > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC NULLS LAST LIMIT 1023) AS id SELECT uniqExact(toNullable(1), a > materialize(100), thread_id) > 2 FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 46 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC LIMIT 1023 ) AS id SELECT uniqExact(toNullable(1), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 47 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC NULLS FIRST LIMIT -1 ) AS id SELECT uniqExact(toNullable(1), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 48 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC NULLS FIRST LIMIT -1 ) AS id SELECT uniqExact(toNullable(1), thread_id) RESPECT NULLS > 2 FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC NULLS FIRST LIMIT -1) AS id SELECT uniqExact(toNullable(1), thread_id) RESPECT NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 49 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC NULLS FIRST LIMIT 65535 ) AS id SELECT uniqExact(1, thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 50 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(materialize('WITH 01091 AS id SELECT 1;'), 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC NULLS FIRST LIMIT 65535 ) AS id SELECT uniqExact(1, thread_id) > toNullable(toUInt128(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 51 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(materialize('WITH 01091 AS id SELECT 1;'), 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC NULLS FIRST LIMIT 65535 ) AS id SELECT uniqExact(1, thread_id) > toNullable(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 52 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(materialize(test_alias_skip_idx__fuzz_5, toLowCardinality(1), 'WITH 01091 AS id SELECT 1;'), 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time ASC LIMIT 65535 ) AS id SELECT uniqExact(1, thread_id) > toNullable(toUInt128(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 53 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(materialize(test_alias_skip_idx__fuzz_5, toLowCardinality(1), 'WITH 01091 AS id SELECT 1;'), 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time DESC LIMIT 65535 ) AS id SELECT uniqExact(1, thread_id) > toNullable(toUInt128(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 54 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(materialize(test_alias_skip_idx__fuzz_5, toLowCardinality(1), 'WITH 01091 AS id SELECT 1;'), 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time DESC LIMIT 65535 ) AS id SELECT uniqExact(1, thread_id) > toNullable(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 55 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(materialize(test_alias_skip_idx__fuzz_5, toLowCardinality(1), 'WITH 01091 AS id SELECT 1;'), 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time DESC LIMIT 65535 ) AS id SELECT uniqExact(1, thread_id) > toNullable(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 56 out of 1000 WITH ( SELECT 22, query_id FROM system.query_log PREWHERE toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1), 'WITH 01091 AS id SELECT 1;', 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) ORDER BY event_time DESC LIMIT 65535 ) AS id SELECT uniqExact(1, thread_id) > toNullable(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 WITH ( SELECT 22, query_id FROM system.query_log PREWHERE toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1), 'WITH 01091 AS id SELECT 1;', 26) WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) GROUP BY toNullable('WITH 01091 AS id SELECT 1;'), a2, toFixedString('enable_optimizations=0', 22), toLowCardinality(100), greater(toLowCardinality(100), a2, event_date, -2147483649, toNullable(100)) ORDER BY event_time DESC LIMIT 65535 ) AS id SELECT uniqExact(1, thread_id) > toNullable(2) FROM system.query_thread_log Current AST is too long, discarding it and using the original AST as a start Fuzzing step 58 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(test_alias_skip_idx__fuzz_22, query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(test_alias_skip_idx__fuzz_22, query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_22' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(test_alias_skip_idx__fuzz_22, query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 17. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 18. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 24. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 27. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 28. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 31. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 Fuzzing step 59 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 60 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 61 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - toUInt256(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - toUInt256(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - toUInt256(1))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 62 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 63 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 100 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 64 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 100 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 100) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 100) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 18. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 19. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 65 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 100 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 66 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time ASC NULLS LAST LIMIT -9223372036854775807 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time ASC NULLS LAST LIMIT -9223372036854775807) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time ASC NULLS LAST LIMIT -9223372036854775807) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 67 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 100 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= minus(1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 100) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= minus(1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 100) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= minus(1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 68 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 100 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 69 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 100 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toUInt128(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 70 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 100 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toUInt128(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 71 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today('merge_expressions=0') - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1024 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toUInt128(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today('merge_expressions=0') - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1024) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toUInt128(toNullable(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function today doesn't match: passed 1, should be 0: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today('merge_expressions=0') - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1024) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 22. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 23. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 29. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 30. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 31. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 Fuzzing step 72 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 100 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toUInt128(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 73 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 100 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toUInt128(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(greater(uniqExact(materialize(toUInt256(1)), thread_id) IGNORE NULLS, test_nested_alias_idx__fuzz_4, materialize(2)), query_id, id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 100) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toUInt128(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(greater(uniqExact(materialize(toUInt256(1)), thread_id) IGNORE NULLS, test_nested_alias_idx__fuzz_4, materialize(2)), query_id, id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_4' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 100) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toUInt128(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(greater(uniqExact(materialize(toUInt256(1)), thread_id) IGNORE NULLS, test_nested_alias_idx__fuzz_4, materialize(2)), query_id, id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 74 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 100 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toUInt128(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 75 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 100 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toUInt128(2) FROM system.query_thread_log WHERE toLowCardinality(toUInt128(materialize(materialize(toLowCardinality(12))))) AND (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 100) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toUInt128(2) FROM system.query_thread_log WHERE toLowCardinality(toUInt128(materialize(materialize(toLowCardinality(12))))) AND (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Illegal type (UInt128) of 1 argument of function and: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 100) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toUInt128(2) FROM system.query_thread_log WHERE toLowCardinality(toUInt128(materialize(materialize(toLowCardinality(12))))) AND (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&, String&&) @ 0x000000000702fdab 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6262 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 76 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 100 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toUInt128(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 77 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 100 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toUInt128(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 78 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(query_id, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(1)) ORDER BY event_time ASC NULLS FIRST LIMIT 100 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toUInt128(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(query_id, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(1)) ORDER BY event_time ASC NULLS FIRST LIMIT 100) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toUInt128(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(query_id, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(1)) ORDER BY event_time ASC NULLS FIRST LIMIT 100) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 79 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 100 ) AS id SELECT materialize(toLowCardinality(1091)), uniqExact(thread_id) IGNORE NULLS > toUInt128(2) FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Current AST is too long, discarding it and using the original AST as a start Fuzzing step 80 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(toLowCardinality(materialize(toNullable(19)), 1091 AS id), current_database, currentDatabase(toNullable(toLowCardinality(toNullable(19)), 100), id)) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(toLowCardinality(materialize(toNullable(19)), 1091 AS id), current_database, currentDatabase(toNullable(toLowCardinality(toNullable(19)), 100), id)) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE equals(toLowCardinality(materialize(toNullable(19)), 1091 AS id), current_database, currentDatabase(toNullable(toLowCardinality(toNullable(19)), 100), id)) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 81 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(toNullable(toUInt128(12)), thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 82 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(toNullable(toUInt128(12)), thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(toNullable(toUInt128(12)), thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE equals(currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 83 out of 1000 EXPLAIN PIPELINE `graph=1` = true WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(toNullable(toUInt128(12)), thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(toNullable(toUInt128(12)), thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 84 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE test_nested_alias_idx__fuzz_1 WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(toNullable(toUInt128(12)), thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE test_nested_alias_idx__fuzz_1 WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(toNullable(toUInt128(12)), thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_1' in scope (SELECT query_id FROM system.query_log PREWHERE test_nested_alias_idx__fuzz_1 WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 85 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(toNullable(toUInt128(12)), thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 86 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(toUInt128(12), thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 87 out of 1000 EXPLAIN PIPELINE compact = true WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase(materialize(toNullable(toUInt256(toLowCardinality(toLowCardinality(toUInt256(2)))))))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(toUInt128(12), thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN PIPELINE compact = true WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase(materialize(toNullable(toUInt256(toLowCardinality(toLowCardinality(toUInt256(2)))))))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(toUInt128(12), thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 88 out of 1000 EXPLAIN AST optimize = true WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(toUInt128(12), thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN AST optimize = true WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(toUInt128(12), thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 89 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT greater(2) FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT greater(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT greater(2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 90 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(toUInt128(12), thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(toUInt128(12), thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 92 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 94 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 95 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase(materialize(1091 AS id))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase(materialize(1091 AS id))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: In scope (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase(materialize(1091 AS id))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 96 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 97 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase(uniqExact(thread_id) > toLowCardinality(2))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase(uniqExact(thread_id) > toLowCardinality(2))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Resolve identifier 'thread_id' from parent scope only supported for constants and CTE. Actual system.query_thread_log.thread_id node type COLUMN. In scope (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase(uniqExact(thread_id) > toLowCardinality(2))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/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&&) @ 0x00000000110784ab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::IdentifierLookup const&, DB::IdentifierResolveScope&) @ 0x000000001105b45b 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a900 6. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 25. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 26. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 29. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 30. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 Fuzzing step 98 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 99 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date, toNullable(toNullable(1, 1091)), today() - 1) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date, toNullable(toNullable(1, 1091)), today() - 1) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date, toNullable(toNullable(1, 1091)), today() - 1) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 22. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 23. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 29. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 30. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 31. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 Fuzzing step 100 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 101 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 102 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND notEquals(toUInt256(16), thread_id, master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND notEquals(toUInt256(16), thread_id, master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND notEquals(toUInt256(16), thread_id, master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 103 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 104 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(toUInt256(19)) Query succeeded, using this AST as a start Fuzzing step 105 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND greaterOrEquals(test_nested_alias_idx__fuzz_33, event_date, today() - 1) ORDER BY event_time DESC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(toUInt256(19)) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND greaterOrEquals(test_nested_alias_idx__fuzz_33, event_date, today() - 1) ORDER BY event_time DESC NULLS LAST LIMIT 3) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(toUInt256(19))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_33' in scope (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND greaterOrEquals(test_nested_alias_idx__fuzz_33, event_date, today() - 1) ORDER BY event_time DESC NULLS LAST LIMIT 3) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 14. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 106 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(toUInt256(19)) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(toUInt256(19))': Received from localhost:9000. DB::Exception: Cannot apply function normalizeQuery to fixed string.: In scope (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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/normalizeQuery.cpp:50: DB::(anonymous namespace)::Impl::vectorFixed(DB::PODArray, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000aa8ad7b 5. /build/src/Functions/FunctionStringToString.h:0: DB::FunctionStringToString, DB::(anonymous namespace)::Impl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8a98e 6. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 7. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 8. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 9. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69770 10. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c32 11. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 12. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 13. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 24. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 25. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 28. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 29. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 31. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc Fuzzing step 107 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE greater(materialize(2)) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE greater(materialize(2)) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log PREWHERE greater(materialize(2)) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 108 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3 ) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(toUInt256(19)) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(toUInt256(19))': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(toUInt256(19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 109 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today(normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);', 58)) - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(toUInt256(19)) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today(normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);', 58)) - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(toUInt256(19))': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today(normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);', 58)) - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 25. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 26. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 29. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 30. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 Fuzzing step 110 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) Query succeeded, using this AST as a start Fuzzing step 111 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 3) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 112 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 3) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 113 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE and(query_id = id) GROUP BY toUInt256(19) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE and(query_id = id) GROUP BY toUInt256(19)': Received from localhost:9000. DB::Exception: Number of arguments for function "and" should be at least 2: passed 1: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 3) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE and(query_id = id) GROUP BY toUInt256(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&, unsigned long&&) @ 0x000000000701d62b 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6318 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 114 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) Query succeeded, using this AST as a start Fuzzing step 115 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) Got boring AST Fuzzing step 116 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND greaterOrEquals(toUInt256(materialize(19)), event_date, today() - 1) WHERE toNullable(1) ORDER BY event_time ASC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND greaterOrEquals(toUInt256(materialize(19)), event_date, today() - 1) WHERE toNullable(1) ORDER BY event_time ASC LIMIT 3) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND greaterOrEquals(toUInt256(materialize(19)), event_date, today() - 1) WHERE toNullable(1) ORDER BY event_time ASC LIMIT 3) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 117 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY test_nested_alias_idx__fuzz_16 ASC, event_time DESC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE materialize(materialize(toNullable(100))) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY test_nested_alias_idx__fuzz_16 ASC, event_time DESC NULLS LAST LIMIT 3) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE materialize(materialize(toNullable(100))) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_16' in scope (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY test_nested_alias_idx__fuzz_16 ASC, event_time DESC NULLS LAST LIMIT 3) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001106f696 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110464c6 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 9. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 118 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND notEquals(master_thread_id) GROUP BY toUInt256(19) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 3) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND notEquals(master_thread_id) GROUP BY toUInt256(19)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 3) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND notEquals(master_thread_id) GROUP BY toUInt256(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 119 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 3) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 3) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 120 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) Got boring AST Fuzzing step 121 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 122 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND greaterOrEquals(event_date, toLowCardinality(toNullable(toUInt256(19))), today() - 1) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND greaterOrEquals(event_date, toLowCardinality(toNullable(toUInt256(19))), today() - 1) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND greaterOrEquals(event_date, toLowCardinality(toNullable(toUInt256(19))), today() - 1) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 3) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 31. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 Fuzzing step 123 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND toNullable(toLowCardinality(toLowCardinality(19))) AND (thread_id != master_thread_id) GROUP BY GROUPING SETS ((toUInt256(19))) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 3) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND toNullable(toLowCardinality(toLowCardinality(19))) AND (thread_id != master_thread_id) GROUP BY GROUPING SETS ((toUInt256(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 124 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 125 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase(toUInt128(19))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - toLowCardinality(1))) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase(toUInt128(19))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - toLowCardinality(1))) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: In scope (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase(toUInt128(19))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - toLowCardinality(1))) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 9223372036854775806) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 126 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 9223372036854775806 ) AS id SELECT materialize(toNullable(toUInt128(1091))), uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 9223372036854775806) AS id SELECT materialize(toNullable(toUInt128(1091))), uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 9223372036854775806) AS id SELECT materialize(toNullable(toUInt128(1091))), uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 127 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND toNullable(toUInt256(100)) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND toNullable(toUInt256(100)) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Illegal type (Nullable(UInt256)) of 2 argument of function and: In scope (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND toNullable(toUInt256(100)) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 9223372036854775806) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&, String&&) @ 0x000000000702fdab 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6262 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 14. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 128 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 129 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query)) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query)) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 2147483647) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query)) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 2147483647) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 31. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 Fuzzing step 130 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(1)) ORDER BY event_time DESC LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 131 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase(materialize(test_alias_skip_idx__fuzz_24, 1091))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(1)) ORDER BY event_time DESC LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase(materialize(test_alias_skip_idx__fuzz_24, 1091))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(1)) ORDER BY event_time DESC LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_24' in scope (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase(materialize(test_alias_skip_idx__fuzz_24, 1091))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(1)) ORDER BY event_time DESC LIMIT 9223372036854775806) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 20. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 21. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 24. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 27. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 28. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 29. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 30. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 31. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a Fuzzing step 132 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(1)) ORDER BY event_time ASC LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 133 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(1)) ORDER BY event_time ASC LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE c AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(1)) ORDER BY event_time ASC LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE c AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'c' in scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(1)) ORDER BY event_time ASC LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE c AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 134 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(1)) ORDER BY event_time ASC LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 135 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(1)) ORDER BY event_time ASC LIMIT 9223372036854775806 ) AS id SELECT greater(uniqExact(thread_id), toNullable(19), 2) FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(1)) ORDER BY event_time ASC LIMIT 9223372036854775806) AS id SELECT greater(uniqExact(thread_id), toNullable(19), 2) FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(1)) ORDER BY event_time ASC LIMIT 9223372036854775806) AS id SELECT greater(uniqExact(thread_id), toNullable(19), 2) FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 136 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(1)) ORDER BY event_time ASC LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 137 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - toNullable(1))) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 138 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - toNullable(1))) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE equals(id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - toNullable(1))) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE equals(id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - toNullable(1))) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE equals(id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 139 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - toNullable(1))) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 140 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE equals(normalizeQuery(query)) AND 22 AND (event_date >= (today() - toNullable(1))) WHERE toNullable(toNullable(1)) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(toLowCardinality(toNullable(toNullable(19))), 19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE equals(normalizeQuery(query)) AND 22 AND (event_date >= (today() - toNullable(1))) WHERE toNullable(toNullable(1)) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(toLowCardinality(toNullable(toNullable(19))), 19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log PREWHERE equals(normalizeQuery(query)) AND 22 AND (event_date >= (today() - toNullable(1))) WHERE toNullable(toNullable(1)) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 141 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt256(materialize(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 142 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 143 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time DESC LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time DESC LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time DESC LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 144 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 145 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(toNullable(toUInt128(1)))) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(toNullable(toUInt128(1)))) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:603: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165caf9 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:537: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105449c 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 14. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 146 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toLowCardinality(toLowCardinality(toNullable(100))), toNullable(toNullable(1))) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toLowCardinality(toLowCardinality(toNullable(100))), toNullable(toNullable(1))) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toLowCardinality(toLowCardinality(toNullable(100))), toNullable(toNullable(1))) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 13. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 14. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 23. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 24. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 28. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 147 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Got boring AST Fuzzing step 148 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE equals(materialize(toLowCardinality(toNullable(100))), normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE equals(materialize(toLowCardinality(toNullable(100))), normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log PREWHERE equals(materialize(toLowCardinality(toNullable(100))), normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775806) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 149 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today(19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))))) - 1)) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today(19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))))) - 1)) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today(19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))))) - 1)) WHERE toNullable(toNullable(toNullable(1))) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69ee0 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c5d 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:195: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a91b 17. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 18. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 19. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 22. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 25. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 28. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 29. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 31. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc Fuzzing step 150 out of 1000 WITH ( SELECT toNullable(1), query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(1)) ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND notEquals(thread_id, (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id), master_thread_id) GROUP BY materialize(19) WITH ROLLUP Error on processing query 'WITH (SELECT toNullable(1), query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(1)) ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND notEquals(thread_id, (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id), master_thread_id) GROUP BY materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Scalar subquery returned empty result of type Tuple(Nullable(UInt8), String) which cannot be Nullable. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110562aa 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 151 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(toNullable(1)) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 152 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 153 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (query_id = id) AND notEquals(thread_id, toNullable(toNullable(toUInt256(100))), master_thread_id) GROUP BY materialize(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (query_id = id) AND notEquals(thread_id, toNullable(toNullable(toUInt256(100))), master_thread_id) GROUP BY materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (query_id = id) AND notEquals(thread_id, toNullable(toNullable(toUInt256(100))), master_thread_id) GROUP BY materialize(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 154 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 155 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toNullable(1) ORDER BY event_time DESC LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE toNullable(1) ORDER BY event_time DESC LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 156 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(materialize(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 157 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(materialize(19)) WITH ROLLUP Got boring AST Fuzzing step 158 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE uniqExact(toNullable(toNullable(1)), thread_id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE uniqExact(toNullable(toNullable(1)), thread_id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Aggregate function uniqExact(toNullable(toNullable(1)), thread_id) is found in WHERE in query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x000000001109a911 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001109a870 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001109a870 7. /build/contrib/llvm-project/libcxx/include/string:1499: DB::assertNoAggregateFunctionNodes(std::shared_ptr const&, String const&) @ 0x000000001109ab0f 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x00000000110965d8 9. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 11. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 12. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 16. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 159 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE equals(normalizeQuery(query), toUInt128(materialize(19)), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE and(thread_id != master_thread_id) GROUP BY materialize(materialize(toUInt128(materialize(toNullable(toUInt256(19)))) AND toNullable(materialize(toLowCardinality(100))) AND (thread_id != master_thread_id), 19)) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE equals(normalizeQuery(query), toUInt128(materialize(19)), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE and(thread_id != master_thread_id) GROUP BY materialize(materialize(toUInt128(materialize(toNullable(toUInt256(19)))) AND toNullable(materialize(toLowCardinality(100))) AND (thread_id != master_thread_id), 19)) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function "and" should be at least 2: passed 1: In scope WITH (SELECT query_id FROM system.query_log PREWHERE equals(normalizeQuery(query), toUInt128(materialize(19)), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE and(thread_id != master_thread_id) GROUP BY materialize(materialize(toUInt128(materialize(toNullable(toUInt256(19)))) AND toNullable(materialize(toLowCardinality(100))) AND (thread_id != master_thread_id), 19)) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&, unsigned long&&) @ 0x000000000701d62b 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6318 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 160 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 161 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Got boring AST Fuzzing step 162 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Got boring AST Fuzzing step 163 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Got boring AST Fuzzing step 164 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Got boring AST Fuzzing step 165 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Got boring AST Fuzzing step 166 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 167 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Got boring AST Fuzzing step 168 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 169 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 170 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Got boring AST Fuzzing step 171 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 172 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 173 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Got boring AST Fuzzing step 174 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 175 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Got boring AST Fuzzing step 176 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 177 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 178 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 179 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Got boring AST Fuzzing step 180 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 181 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 182 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 183 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Got boring AST Fuzzing step 184 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 185 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 186 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 187 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE and(query_id = id) GROUP BY 19 WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE and(query_id = id) GROUP BY 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function "and" should be at least 2: passed 1: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE and(query_id = id) GROUP BY 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&, unsigned long&&) @ 0x000000000701d62b 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6318 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 188 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT toLowCardinality(19, toNullable(toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091)), 1, materialize(toLowCardinality(1091)), toNullable(19)), uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775806) AS id SELECT toLowCardinality(19, toNullable(toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091)), 1, materialize(toLowCardinality(1091)), toNullable(19)), uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_5' in scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS LAST LIMIT 9223372036854775806) AS id SELECT toLowCardinality(19, toNullable(toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091)), 1, materialize(toLowCardinality(1091)), toNullable(19)), uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 19. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 189 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Got boring AST Fuzzing step 190 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery(materialize(100), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery(materialize(100), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery(materialize(100), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 191 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= minus(today())) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= minus(today())) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= minus(today())) WHERE toNullable(1) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 192 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toNullable(1) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE toNullable(1) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 193 out of 1000 EXPLAIN PIPELINE `graph=1` = true WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(test_nested_alias_idx__fuzz_25, 19) WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE `graph=1` = true WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(test_nested_alias_idx__fuzz_25, 19) WITH ROLLUP': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 194 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) WHERE toNullable(1) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 195 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today(greater(2)) - 1)) WHERE toNullable(1) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today(greater(2)) - 1)) WHERE toNullable(1) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today(greater(2)) - 1)) WHERE toNullable(1) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 25. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 26. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 29. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 30. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 Fuzzing step 196 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 197 out of 1000 EXPLAIN QUERY TREE dump_ast = true, passes = true WITH ( SELECT query_id FROM system.query_log PREWHERE test_alias_skip_idx__fuzz_26 AND (normalizeQuery(toLowCardinality(toNullable(toUInt128(1091))), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND toLowCardinality(22) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 100 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Error on processing query 'EXPLAIN QUERY TREE dump_ast = true, passes = true WITH (SELECT query_id FROM system.query_log PREWHERE test_alias_skip_idx__fuzz_26 AND (normalizeQuery(toLowCardinality(toNullable(toUInt128(1091))), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND toLowCardinality(22) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 100) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 198 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Got boring AST Fuzzing step 199 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE equals('merge_expressions=0', normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE equals('merge_expressions=0', normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (query_id = id) AND (thread_id != master_thread_id) WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log PREWHERE equals('merge_expressions=0', normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 200 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY toUInt128(toNullable(toUInt256(19)), 19, 19) ASC, event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY toUInt128(toNullable(toUInt256(19)), 19, 19) ASC, event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt128'. Expected 1 argument, got 3 arguments: In scope (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY toUInt128(toNullable(toUInt256(19)), 19, 19) ASC, event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001106f696 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110464c6 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 201 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Got boring AST Fuzzing step 202 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT -2 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT -2) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x0000000011057aee 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 203 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY test_alias_skip_idx__fuzz_14 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY test_alias_skip_idx__fuzz_14 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_14' in scope (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY test_alias_skip_idx__fuzz_14 ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001106f696 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110464c6 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 9. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 204 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Got boring AST Fuzzing step 205 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(toLowCardinality(1048576), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(toLowCardinality(1048576), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(toLowCardinality(1048576), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 206 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers_mt(1000000);'))) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1025 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE and(query_id = id) GROUP BY GROUPING SETS ((materialize(19))) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers_mt(1000000);'))) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1025) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE and(query_id = id) GROUP BY GROUPING SETS ((materialize(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 207 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Got boring AST Fuzzing step 208 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT greater(toLowCardinality(toNullable(12)), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT greater(toLowCardinality(toNullable(12)), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT greater(toLowCardinality(toNullable(12)), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 209 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= minus(toLowCardinality(materialize(toNullable(19)), 1091 AS id), today(), toLowCardinality(1))) ORDER BY event_time ASC LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= minus(toLowCardinality(materialize(toNullable(19)), 1091 AS id), today(), toLowCardinality(1))) ORDER BY event_time ASC LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= minus(toLowCardinality(materialize(toNullable(19)), 1091 AS id), today(), toLowCardinality(1))) ORDER BY event_time ASC LIMIT 9223372036854775806) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 22. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 23. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 29. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 30. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 31. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 Fuzzing step 210 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 211 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT greater(uniqExact(toLowCardinality(toUInt256(26)), thread_id)) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT greater(uniqExact(toLowCardinality(toUInt256(26)), thread_id)) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT greater(uniqExact(toLowCardinality(toUInt256(26)), thread_id)) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 212 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toLowCardinality(toNullable(12))) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 213 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toLowCardinality(toNullable(12))) AND 22 AND (event_date >= (today() - materialize(toUInt256(1)))) ORDER BY event_time ASC NULLS FIRST LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toLowCardinality(toNullable(12))) AND 22 AND (event_date >= (today() - materialize(toUInt256(1)))) ORDER BY event_time ASC NULLS FIRST LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x0000000010fdf321 17. /build/src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block const&) const @ 0x0000000010fde334 18. /build/contrib/llvm-project/libcxx/include/vector:1348: DB::SourceStepWithFilter::applyPrewhereActions(DB::Block, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001320f85a 19. /build/contrib/llvm-project/libcxx/include/__hash_table:1473: DB::MergeTreeSelectProcessor::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001291dcac 20. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::shared_ptr, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool, std::optional>, std::optional (DB::ParallelReadRequest)>>, std::optional) @ 0x000000001319b9f2 21. /build/contrib/llvm-project/libcxx/include/optional:260: std::__unique_if::__unique_single std::make_unique[abi:v15007], std::allocator>>, std::shared_ptr, std::vector> const&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::shared_ptr&&, std::vector> const&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x00000000128751dc 22. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:928: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::shared_ptr, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x0000000012862b54 23. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001286291e 24. /build/src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x0000000012a91c4f 25. /build/src/Processors/QueryPlan/QueryPlan.h:53: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001167d0a4 26. /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&) @ 0x000000001167675c 27. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011661c30 28. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:603: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165caf9 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 31. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:537: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105449c Fuzzing step 214 out of 1000 WITH ( SELECT toUInt128(toLowCardinality(19)), query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toLowCardinality(toNullable(12))) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP Error on processing query 'WITH (SELECT toUInt128(toLowCardinality(19)), query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toLowCardinality(toNullable(12))) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Scalar subquery returned empty result of type Tuple(LowCardinality(UInt128), String) which cannot be Nullable. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110562aa 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 215 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toNullable(12)) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(materialize(toUInt256(26)), thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND toNullable('WITH 01091 AS id SELECT 1;', 26) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toNullable(12)) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT uniqExact(materialize(toUInt256(26)), thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND toNullable('WITH 01091 AS id SELECT 1;', 26) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toNullable(12)) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT uniqExact(materialize(toUInt256(26)), thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND toNullable('WITH 01091 AS id SELECT 1;', 26) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 20. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 21. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 216 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toLowCardinality(toNullable(12))) AND event_date AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toLowCardinality(toNullable(12))) AND event_date AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Illegal type (Date) of 3 argument of function and: In scope (SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toLowCardinality(toNullable(12))) AND event_date AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 9223372036854775806) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&, String&&) @ 0x000000000702fdab 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6262 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 14. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 217 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toLowCardinality(toNullable(12))) AND 22 AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 218 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE (normalizeQuery(query) = normalizeQuery(materialize('with 01091 as id select sum(number) from numbers_mt(1000000);'))) AND materialize(toLowCardinality(toNullable(12))) AND 22 AND (event_date >= (today() - 1)) WHERE toUInt128(materialize(1091)) ORDER BY event_time ASC LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(19) WITH ROLLUP Current AST is too long, discarding it and using the original AST as a start Fuzzing step 219 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY a2 > materialize(100), test_nested_alias_idx__fuzz_2, toUInt128(16) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY a2 > materialize(100), test_nested_alias_idx__fuzz_2, toUInt128(16)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY a2 > materialize(100), test_nested_alias_idx__fuzz_2, toUInt128(16). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 220 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 221 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(today())) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(today())) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(today())) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 222 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(test_nested_alias_idx, thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(a, 1091), greater(toLowCardinality(100), a2, 100) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(test_nested_alias_idx, thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(a, 1091), greater(toLowCardinality(100), a2, 100)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(test_nested_alias_idx, thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(a, 1091), greater(toLowCardinality(100), a2, 100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 223 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE toNullable('default_settings', 16) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE toNullable('default_settings', 16) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log WHERE toNullable('default_settings', 16) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 224 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(thread_id) GROUP BY 1048577 Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(thread_id) GROUP BY 1048577': Received from localhost:9000. DB::Exception: Cannot apply function normalizeQuery to fixed string.: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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/normalizeQuery.cpp:50: DB::(anonymous namespace)::Impl::vectorFixed(DB::PODArray, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000aa8ad7b 5. /build/src/Functions/FunctionStringToString.h:0: DB::FunctionStringToString, DB::(anonymous namespace)::Impl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8a98e 6. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 7. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 8. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 9. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69770 10. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c32 11. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 12. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 13. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 24. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 25. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 28. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 29. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 31. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc Fuzzing step 225 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 226 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log PREWHERE toNullable('WITH 01091 AS id SELECT 1;', 26) WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 13. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 14. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 23. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 24. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 28. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 227 out of 1000 EXPLAIN PIPELINE header = true WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN PIPELINE header = true WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 228 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 229 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 230 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toUInt256(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toUInt256(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toUInt256(1))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 231 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - toNullable(1))) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 232 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(uniqExact(materialize(toLowCardinality(12)), thread_id) > 2)) AND (event_date >= (today() - toNullable(1))) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(uniqExact(materialize(toLowCardinality(12)), thread_id) > 2)) AND (event_date >= (today() - toNullable(1))) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Resolve identifier 'thread_id' from parent scope only supported for constants and CTE. Actual system.query_thread_log.thread_id node type COLUMN. In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(uniqExact(materialize(toLowCardinality(12)), thread_id) > 2)) AND (event_date >= (today() - toNullable(1))) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/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&&) @ 0x00000000110784ab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::IdentifierLookup const&, DB::IdentifierResolveScope&) @ 0x000000001105b45b 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a900 6. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 25. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 26. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 29. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 30. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 Fuzzing step 233 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - toNullable(1))) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 234 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(toUInt128(toLowCardinality(toNullable(toNullable(1)))), query_id, id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(toUInt128(toLowCardinality(toNullable(toNullable(1)))), query_id, id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(toUInt128(toLowCardinality(toNullable(toNullable(1)))), query_id, id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 235 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 236 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND greaterOrEquals(toUInt128(materialize(toUInt256(19)), 19, 19), event_date, today() - 1) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (query_id = id) AND notEquals(thread_id, toLowCardinality(toLowCardinality(19, 1), 1091, 19), master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND greaterOrEquals(toUInt128(materialize(toUInt256(19)), 19, 19), event_date, today() - 1) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (query_id = id) AND notEquals(thread_id, toLowCardinality(toLowCardinality(19, 1), 1091, 19), master_thread_id)': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt128'. Expected 1 argument, got 3 arguments: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND greaterOrEquals(toUInt128(materialize(toUInt256(19)), 19, 19), event_date, today() - 1) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 21. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 22. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 25. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 28. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 29. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 30. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 31. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee Fuzzing step 237 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT '1' ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT '1') AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual '1'. In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT '1') AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011057a6b 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 238 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 239 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 240 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 241 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 242 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 243 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 244 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 245 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 246 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 247 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 248 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 249 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ASC, event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ASC, event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log ORDER BY toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ASC, event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001106f696 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110464c6 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 14. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 250 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 251 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 252 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT greater(toLowCardinality(2)) FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1) AS id SELECT greater(toLowCardinality(2)) FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1) AS id SELECT greater(toLowCardinality(2)) FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 253 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 254 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1048575 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1048575) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 255 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 256 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY test_nested_alias_idx__fuzz_45, materialize(toLowCardinality(toUInt128(22))), toNullable(materialize(test_alias_skip_idx__fuzz_5, toLowCardinality(1), 'WITH 01091 AS id SELECT 1;'), 26) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(100), uniqExact(materialize(materialize(100)), thread_id) IGNORE NULLS > toUInt128(2) Error on processing query 'WITH (SELECT query_id FROM system.query_log GROUP BY test_nested_alias_idx__fuzz_45, materialize(toLowCardinality(toUInt128(22))), toNullable(materialize(test_alias_skip_idx__fuzz_5, toLowCardinality(1), 'WITH 01091 AS id SELECT 1;'), 26) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY materialize(100), uniqExact(materialize(materialize(100)), thread_id) IGNORE NULLS > toUInt128(2)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_45' in scope (SELECT query_id FROM system.query_log GROUP BY test_nested_alias_idx__fuzz_45, materialize(toLowCardinality(toUInt128(22))), toNullable(materialize(test_alias_skip_idx__fuzz_5, toLowCardinality(1), 'WITH 01091 AS id SELECT 1;'), 26) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 10. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 257 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT -2 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT -2) AS id SELECT uniqExact(thread_id) > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x0000000011057aee 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 258 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 259 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 EXPLAIN AST graph = true WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(thread_id) Error on processing query 'EXPLAIN AST graph = true WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(thread_id)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 261 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 2 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 2) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 2) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 262 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(test_nested_alias_idx__fuzz_46, thread_id, master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(test_nested_alias_idx__fuzz_46, thread_id, master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_46' in scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(test_nested_alias_idx__fuzz_46, thread_id, master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 263 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 264 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today(a) - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today(a) - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today(a) - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 265 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(100) WHERE materialize(materialize(19)) ORDER BY toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ASC, event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(100) WHERE materialize(materialize(19)) ORDER BY toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ASC, event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log PREWHERE toNullable(100) WHERE materialize(materialize(19)) ORDER BY toNullable('WITH 01091 AS id SELECT 1;', toUInt256(26)) ASC, event_time ASC NULLS LAST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001106f696 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110464c6 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 14. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 266 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 267 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toLowCardinality(2) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 268 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 269 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(toUInt128(toLowCardinality(toLowCardinality(1), 1091)), thread_id, master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(toUInt128(toLowCardinality(toLowCardinality(1), 1091)), thread_id, master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(toUInt128(toLowCardinality(toLowCardinality(1), 1091)), thread_id, master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 270 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 271 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 272 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 273 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 274 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 275 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(materialize(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 276 out of 1000 EXPLAIN PIPELINE header = true WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(materialize(1)))) AND (query_id = id) AND notEquals(thread_id, (current_database = currentDatabase()) AND greaterOrEquals(19, materialize('default_settings'), today() - toUInt128(toNullable(1))), master_thread_id) Error on processing query 'EXPLAIN PIPELINE header = true WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(materialize(1)))) AND (query_id = id) AND notEquals(thread_id, (current_database = currentDatabase()) AND greaterOrEquals(19, materialize('default_settings'), today() - toUInt128(toNullable(1))), master_thread_id)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 277 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(materialize(1)))) AND equals(id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(materialize(1)))) AND equals(id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(materialize(1)))) AND equals(id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 278 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(materialize(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 279 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(materialize(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 280 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(materialize(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 281 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= minus(materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= minus(materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= minus(materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 282 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(materialize(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 283 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 284 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toNullable(2) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 285 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toNullable(2) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 286 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toNullable(2) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toUInt128(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toNullable(2) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toUInt128(1)))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x0000000010fdf321 17. /build/src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block const&) const @ 0x0000000010fde334 18. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fcc150 19. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001316d043 20. /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&) @ 0x000000001163a878 21. /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>>&) @ 0x0000000011668f69 22. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662c15 23. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 24. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 25. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 287 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26), 2) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26), 2) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toNullable(toFixedString('WITH 01091 AS id SELECT 1;', 26), 2) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 288 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > toNullable(2) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 289 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 0 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, toLowCardinality(toLowCardinality(19, toLowCardinality(toFixedString(toLowCardinality(toNullable('merge_expressions=0')), 19), 1)), materialize(toLowCardinality(1091)), toNullable(19)), today() - materialize(1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 0) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, toLowCardinality(toLowCardinality(19, toLowCardinality(toFixedString(toLowCardinality(toNullable('merge_expressions=0')), 19), 1)), materialize(toLowCardinality(1091)), toNullable(19)), today() - materialize(1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 0) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, toLowCardinality(toLowCardinality(19, toLowCardinality(toFixedString(toLowCardinality(toNullable('merge_expressions=0')), 19), 1)), materialize(toLowCardinality(1091)), toNullable(19)), today() - materialize(1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 290 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 291 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 292 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(19, thread_id, master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(19, thread_id, master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(19, thread_id, master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 293 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT -1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT -1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x0000000011057aee 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 294 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toLowCardinality(toNullable(1))))) AND (query_id = id) AND notEquals(master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toLowCardinality(toNullable(1))))) AND (query_id = id) AND notEquals(master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toLowCardinality(toNullable(1))))) AND (query_id = id) AND notEquals(master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 295 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 296 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 297 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 298 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 299 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 300 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 301 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 302 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 303 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 256) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 304 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 305 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1048577 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1048577) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 306 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 307 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 308 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 309 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 310 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT greater(2) FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT greater(2) FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT greater(2) FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 311 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(today())) AND equals(query_id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(today())) AND equals(query_id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(today())) AND equals(query_id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 312 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 313 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 314 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE greaterOrEquals(event_date, normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;')), today() - materialize(1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE greaterOrEquals(event_date, normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;')), today() - materialize(1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE greaterOrEquals(event_date, normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;')), today() - materialize(1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 315 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 316 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 317 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT greater(uniqExact(thread_id), toLowCardinality(toLowCardinality(19, 1), 1091, 19), 2) FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT greater(uniqExact(thread_id), toLowCardinality(toLowCardinality(19, 1), 1091, 19), 2) FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT greater(uniqExact(thread_id), toLowCardinality(toLowCardinality(19, 1), 1091, 19), 2) FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 318 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 319 out of 1000 EXPLAIN AST graph = true WITH ( SELECT toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), materialize(toNullable(26)), 19), query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN AST graph = true WITH (SELECT toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), materialize(toNullable(26)), 19), query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 320 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 321 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 322 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 323 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 7 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(today())) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(today())) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 7) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(today())) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 324 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE greaterOrEquals(materialize(toLowCardinality(1)), event_date, today() - materialize(1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE greaterOrEquals(materialize(toLowCardinality(1)), event_date, today() - materialize(1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE greaterOrEquals(materialize(toLowCardinality(1)), event_date, today() - materialize(1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 325 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(toLowCardinality(2), today(), materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN ESTIMATE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(toLowCardinality(2), today(), materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(toLowCardinality(2), today(), materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 326 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND equals(id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 327 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(today())) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(today())) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(today())) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 328 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY event_date >= (today() - 1), uniqExact(toFixedString('merge_expressions=0', 19), thread_id) > 2, event_date >= (today() - toLowCardinality(1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND equals(query_id, toUInt128(toNullable(toUInt256(19))) AND toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id), id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log GROUP BY event_date >= (today() - 1), uniqExact(toFixedString('merge_expressions=0', 19), thread_id) > 2, event_date >= (today() - toLowCardinality(1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND equals(query_id, toUInt128(toNullable(toUInt256(19))) AND toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id), id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Illegal type (Nullable(UInt128)) of 1 argument of function and: In scope WITH (SELECT query_id FROM system.query_log GROUP BY event_date >= (today() - 1), uniqExact(toFixedString('merge_expressions=0', 19), thread_id) > 2, event_date >= (today() - toLowCardinality(1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND equals(query_id, toUInt128(toNullable(toUInt256(19))) AND toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id), id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&, String&&) @ 0x000000000702fdab 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6262 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 329 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 330 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 331 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 332 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 333 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 334 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today(today() - materialize(1)) - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today(today() - materialize(1)) - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function today doesn't match: passed 1, should be 0: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today(today() - materialize(1)) - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 335 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 336 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toNullable(toNullable(toLowCardinality(19)), 1091 AS id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toNullable(toNullable(toLowCardinality(19)), 1091 AS id)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toNullable(toNullable(toLowCardinality(19)), 1091 AS id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 337 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 338 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 255 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 339 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 255 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 340 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 255 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 341 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 255 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(test_alias_skip_idx__fuzz_2, 2) FROM system.query_thread_log Error on processing query 'EXPLAIN QUERY TREE WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 255) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(test_alias_skip_idx__fuzz_2, 2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_2' in scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 255) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(test_alias_skip_idx__fuzz_2, 2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 18. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 19. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 342 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 255 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > materialize(2) FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 255) AS id SELECT uniqExact(thread_id) RESPECT NULLS > materialize(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 343 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 255 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 344 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 255 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 345 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 255 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 346 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 255 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 347 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 255 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 348 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 255 ) AS id SELECT uniqExact(thread_id) > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 349 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 255 ) AS id SELECT uniqExact(thread_id) > materialize(materialize(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 350 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 255 ) AS id SELECT uniqExact(thread_id) > materialize(materialize(2)) FROM system.query_thread_log Got boring AST Fuzzing step 351 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 255 ) AS id SELECT uniqExact(thread_id) > materialize(materialize(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 352 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 255 ) AS id SELECT uniqExact(thread_id) > materialize(materialize(2)) FROM system.query_thread_log Got boring AST Fuzzing step 353 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 255 ) AS id SELECT uniqExact(thread_id) > materialize(materialize(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT 255 ) AS id SELECT uniqExact(thread_id) > materialize(materialize(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 355 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) > materialize(materialize(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 356 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(materialize(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 357 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 358 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 359 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 2147483647 ) AS id SELECT greater(uniqExact(thread_id) IGNORE NULLS, (current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))))), materialize(2)) FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 2147483647) AS id SELECT greater(uniqExact(thread_id) IGNORE NULLS, (current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))))), materialize(2)) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope WITH (SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 2147483647) AS id SELECT greater(uniqExact(thread_id) IGNORE NULLS, (current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))))), materialize(2)) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69ee0 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c5d 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:195: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a91b 17. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 18. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 19. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 22. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 25. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 28. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 29. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 31. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe Fuzzing step 360 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS LAST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT greater(uniqExact(thread_id) IGNORE NULLS, 58, materialize(2)) FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS LAST, event_time ASC NULLS LAST LIMIT 2147483647) AS id SELECT greater(uniqExact(thread_id) IGNORE NULLS, 58, materialize(2)) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS LAST, event_time ASC NULLS LAST LIMIT 2147483647) AS id SELECT greater(uniqExact(thread_id) IGNORE NULLS, 58, materialize(2)) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 361 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 362 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS FIRST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 363 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 364 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 365 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 366 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS LAST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19))))) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS LAST, event_time ASC NULLS LAST LIMIT 2147483647) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19)))))': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(Nullable(UInt128)) of column toUInt128(toLowCardinality(materialize(_CAST('19'_Nullable(UInt256), 'Nullable(UInt256)'_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x0000000012fcc497 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001316d043 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&) @ 0x000000001163a878 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>>&) @ 0x0000000011668f69 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662c15 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 10. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 11. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 367 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 368 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 369 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 370 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 372 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 373 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 374 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 377 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 378 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647) AS id SELECT uniqEx. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 379 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 380 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 381 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 382 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 383 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 384 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 385 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 386 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647) AS id 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 387 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 388 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 389 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 390 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 391 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 392 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 393 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 394 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647) AS id 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 395 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 396 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 398 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 399 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647) AS id SELECT uniqEx. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 400 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 401 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 402 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 403 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 404 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 405 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 406 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 407 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 408 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 409 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 410 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 411 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 412 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 413 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 414 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 415 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 416 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 417 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Got boring AST Fuzzing step 418 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > materialize(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 420 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Got boring AST Fuzzing step 421 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Got boring AST Fuzzing step 422 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY toUInt256(materialize(toNullable(12))) DESC, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Got boring AST Fuzzing step 423 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(1), toLowCardinality(toUInt128(1)), toUInt256(toNullable(100)), toLowCardinality('default_settings') ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS LAST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 424 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(1), toUInt128(1), toNullable(100), toLowCardinality('default_settings') ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS LAST, event_time ASC NULLS LAST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 425 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(1), toUInt128(1), toNullable(100), toLowCardinality('default_settings') ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS LAST, event_time ASC LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 426 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, 100, toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 427 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, 100, toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 428 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 429 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 430 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 431 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 432 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 433 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 434 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 435 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 436 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 437 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 438 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT 2147483647) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')': Received from localhost:9000. DB::Exception: Column `event_time` is not under aggregate function and not in GROUP BY. Have columns: ['materialize(toNullable(12))','toUInt256(materialize(toNullable(12)))','__grouping_set','toNullable(12)','12','query_id']: While processing toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS FIRST: While processing (SELECT query_id FROM system.query_log GROUP BY query_id, query_id, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT 2147483647) AS id: While processing WITH (SELECT query_id FROM system.query_log GROUP BY query_id, query_id, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT 2147483647) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTIdentifier const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e6afb 5. /build/src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e6798 6. /build/src/Interpreters/ActionsVisitor.cpp:812: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111ec6d8 7. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 8. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendOrderBy(DB::ExpressionActionsChain&, bool, bool, std::vector, std::allocator>>&) @ 0x00000000111c8fee 10. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cea7b 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 12. /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 @ 0x0000000011623ef0 13. /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) @ 0x000000001161f094 14. /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&) @ 0x000000001161beb1 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 21. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 22. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 23. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 25. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 26. /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 @ 0x0000000011622615 27. /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) @ 0x000000001161f094 28. /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) @ 0x000000001161bd8c 29. /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&) @ 0x000000001161baf1 30. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 31. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 Fuzzing step 439 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 440 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 441 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS FIRST LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 442 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time ASC LIMIT 2147483647 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 443 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toLowCardinality('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 444 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC . Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 446 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 447 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(toUInt128(materialize(equals(normalizeQuery(query)) AND 22 AND (event_date >= (today() - toNullable(1))), toNullable(toUInt256(19)))), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Error on processing query 'WITH (SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(toUInt128(materialize(equals(normalizeQuery(query)) AND 22 AND (event_date >= (today() - toNullable(1))), toNullable(toUInt256(19)))), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(toUInt128(materialize(equals(normalizeQuery(query)) AND 22 AND (event_date >= (today() - toNullable(1))), toNullable(toUInt256(19)))), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 24. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 27. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 28. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 31. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 Fuzzing step 448 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 449 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 450 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')': Received from localhost:9000. DB::Exception: Column `event_time` is not under aggregate function and not in GROUP BY. Have columns: ['materialize(toNullable(12))','toUInt256(materialize(toNullable(12)))','__grouping_set','toNullable(12)','12','query_id']: While processing toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC: While processing (SELECT query_id FROM system.query_log GROUP BY query_id, query_id, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537) AS id: While processing WITH (SELECT query_id FROM system.query_log GROUP BY query_id, query_id, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTIdentifier const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e6afb 5. /build/src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e6798 6. /build/src/Interpreters/ActionsVisitor.cpp:812: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111ec6d8 7. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 8. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendOrderBy(DB::ExpressionActionsChain&, bool, bool, std::vector, std::allocator>>&) @ 0x00000000111c8fee 10. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cea7b 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 12. /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 @ 0x0000000011623ef0 13. /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) @ 0x000000001161f094 14. /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&) @ 0x000000001161beb1 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 21. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 22. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 23. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 25. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 26. /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 @ 0x0000000011622615 27. /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) @ 0x000000001161f094 28. /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) @ 0x000000001161bd8c 29. /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&) @ 0x000000001161baf1 30. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 31. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 Fuzzing step 451 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 452 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')': Received from localhost:9000. DB::Exception: Column `event_time` is not under aggregate function and not in GROUP BY. Have columns: ['materialize(toNullable(12))','toUInt256(materialize(toNullable(12)))','__grouping_set','toNullable(12)','12','query_id']: While processing toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC: While processing (SELECT query_id FROM system.query_log GROUP BY query_id, query_id, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537) AS id: While processing WITH (SELECT query_id FROM system.query_log GROUP BY query_id, query_id, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTIdentifier const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e6afb 5. /build/src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e6798 6. /build/src/Interpreters/ActionsVisitor.cpp:812: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111ec6d8 7. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 8. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendOrderBy(DB::ExpressionActionsChain&, bool, bool, std::vector, std::allocator>>&) @ 0x00000000111c8fee 10. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cea7b 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 12. /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 @ 0x0000000011623ef0 13. /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) @ 0x000000001161f094 14. /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&) @ 0x000000001161beb1 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 21. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 22. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 23. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 25. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 26. /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 @ 0x0000000011622615 27. /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) @ 0x000000001161f094 28. /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) @ 0x000000001161bd8c 29. /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&) @ 0x000000001161baf1 30. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 31. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 Fuzzing step 453 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 454 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 455 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 456 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 457 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 458 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time ASC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 459 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time ASC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 460 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 461 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 462 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time DESC NULLS FIRST LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time DESC NULLS FIRST LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 464 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time DESC NULLS FIRST LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 465 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 466 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 467 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, 100, 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS LAST LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(materialize(toFixedString('default_settings', 16)), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Error on processing query 'WITH (SELECT query_id FROM system.query_log GROUP BY 1, 1, 100, 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS LAST LIMIT 65537) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(materialize(toFixedString('default_settings', 16)), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log GROUP BY 1, 1, 100, 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS LAST, event_time ASC NULLS LAST LIMIT 65537) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(materialize(toFixedString('default_settings', 16)), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 468 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE equals(normalizeQuery(query)) Error on processing query 'WITH (SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 65537) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE equals(normalizeQuery(query))': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 65537) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE equals(normalizeQuery(query)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 469 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 65537 ) AS id SELECT greater(2) FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Error on processing query 'WITH (SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 65537) AS id SELECT greater(2) FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), 'default_settings' WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 65537) AS id SELECT greater(2) FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 470 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toNullable('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 471 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 1, 1, toLowCardinality(100), toNullable('default_settings') WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Got boring AST Fuzzing step 472 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (1), (1), (toLowCardinality(100)), (toNullable('default_settings'))) WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 473 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (materialize(1)), (1), (toLowCardinality(100)), (toNullable('default_settings'))) WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 474 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (materialize(1)), (1), (toLowCardinality(100)), (toNullable('default_settings'))) WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time DESC NULLS FIRST LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 475 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (materialize(1)), (1), (toLowCardinality(100)), (toNullable('default_settings'))) WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS FIRST, event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 476 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (materialize(1)), (materialize(1)), (toLowCardinality(100)), (toNullable('default_settings'))) WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS LAST, event_time ASC NULLS FIRST LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 477 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (materialize(test_nested_alias_idx__fuzz_10, 1)), (1), (toLowCardinality(100)), (toNullable('default_settings'))) WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS LAST, event_time ASC NULLS FIRST LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 478 out of 1000 EXPLAIN QUERY TREE dump_ast = true, passes = true WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (materialize(test_nested_alias_idx__fuzz_10, 1)), (1), (toLowCardinality(100)), (toNullable('default_settings'))) WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS LAST, event_time ASC NULLS FIRST LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Error on processing query 'EXPLAIN QUERY TREE dump_ast = true, passes = true WITH (SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ((materialize(test_nested_alias_idx__fuzz_10, 1)), (1), (toLowCardinality(100)), (toNullable('default_settings'))) WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS LAST, event_time ASC NULLS FIRST LIMIT -2147483648) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 479 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (materialize(test_nested_alias_idx__fuzz_10, 1)), (1), (toLowCardinality(100)), (toNullable('default_settings'))) WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS LAST, event_time DESC NULLS LAST LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 480 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (test_nested_alias_idx__fuzz_10, 1), (1), (toLowCardinality(100)), ('default_settings')) WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) DESC NULLS LAST, event_time ASC NULLS FIRST LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 481 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (test_nested_alias_idx__fuzz_10, 1), (1), (toLowCardinality(100)), ('default_settings')) WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time ASC NULLS FIRST LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 482 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (test_nested_alias_idx__fuzz_10, 1), (1), (toLowCardinality(100)), ('default_settings')) WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Query succeeded, using this AST as a start Fuzzing step 483 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (test_nested_alias_idx__fuzz_10, 1), (1), (toLowCardinality(100)), ('default_settings')) WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time ASC LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers_mt(1000000);')) Query succeeded, using this AST as a start Fuzzing step 484 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (test_nested_alias_idx__fuzz_10, 1), (1), (toLowCardinality(100)), ('default_settings')) WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers_mt(1000000);')) Query succeeded, using this AST as a start Fuzzing step 485 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (test_nested_alias_idx__fuzz_10, 1), (1), (toLowCardinality(toNullable(100))), ('default_settings')) WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers_mt(1000000);')) Query succeeded, using this AST as a start Fuzzing step 486 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (test_nested_alias_idx__fuzz_10, 1), (1), (toLowCardinality(100)), ('default_settings')) WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers_mt(1000000);')) Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY GROUPING SETS ( (test_nested_alias_idx__fuzz_10, 1), (materialize(toLowCardinality(1))), (toLowCardinality(100)), ('default_settings')) WITH ROLLUP ORDER BY toUInt256(materialize(toNullable(12))) ASC NULLS FIRST, event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers_mt(1000000);')) Current AST is too long, discarding it and using the original AST as a start Fuzzing step 488 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 489 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 490 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 491 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 492 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 493 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 494 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 495 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 496 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 497 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 498 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 499 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 500 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 501 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 502 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 503 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 504 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 505 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 506 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 507 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 508 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(num. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 509 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) fro. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 510 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 511 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 512 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 513 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 514 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 515 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 516 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 517 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 518 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 519 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 520 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26)) - 1)) ORDER BY event_time DESC LIMIT 1048576 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26)) - 1)) ORDER BY event_time DESC LIMIT 1048576) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26)) - 1)) ORDER BY event_time DESC LIMIT 1048576) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 25. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 26. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 29. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 30. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 Fuzzing step 521 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 522 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 523 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(num. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 524 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 525 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 526 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 527 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(num. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 528 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 529 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 530 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 531 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 532 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 533 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 535 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 536 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 537 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 538 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 539 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 540 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) fro. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 541 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(num. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 542 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 543 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 544 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 545 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(num. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 546 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 547 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 548 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 549 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 550 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 551 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 552 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 553 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 554 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 555 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 556 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) fro. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 557 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 558 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 559 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 560 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 561 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 562 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 564 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) GROUP BY a2 > 100, toFixedString(toFixedString('nested_alias', 12), 12) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) GROUP BY a2 > 100, toFixedString(toFixedString('nested_alias', 12), 12) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) GROUP BY a2 > 100, toFixedString(toFixedString('nested_alias', 12), 12) ORDER BY event_time ASC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 13. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 14. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 23. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 24. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 28. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 565 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 566 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 567 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, toLowCardinality(toNullable(toLowCardinality(1), 1091), 19), id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, toLowCardinality(toNullable(toLowCardinality(1), 1091), 19), id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, toLowCardinality(toNullable(toLowCardinality(1), 1091), 19), id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 568 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 569 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 570 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log PREWHERE toUInt256(19) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log PREWHERE toUInt256(19) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 571 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today(10000000000.) - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today(10000000000.) - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 573 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 574 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 575 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 576 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 577 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 578 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT toUInt128(toUInt128(1091)), uniqExact(thread_id) > materialize(toNullable(2)) FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 579 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toUInt256(materialize(toNullable(12))), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT toUInt128(1091), uniqExact(thread_id) > materialize(toNullable(2)) FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toUInt256(materialize(toNullable(12))), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT toUInt128(1091), uniqExact(thread_id) > materialize(toNullable(2)) FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toUInt256(materialize(toNullable(12))), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 580 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT toUInt128(1091), uniqExact(thread_id) > materialize(toNullable(2)) FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 581 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT toUInt128(1091), uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 582 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT toUInt128(1091), uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT toUInt128(1091), uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 584 out of 1000 WITH ( SELECT toUInt128(uniqExact(materialize(materialize(toNullable(19))), materialize(1), thread_id) IGNORE NULLS, 26), query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) WHERE toNullable('default_settings') ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT toUInt128(1091), uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT toUInt128(uniqExact(materialize(materialize(toNullable(19))), materialize(1), thread_id) IGNORE NULLS, 26), query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) WHERE toNullable('default_settings') ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT toUInt128(1091), uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Resolve identifier 'thread_id' from parent scope only supported for constants and CTE. Actual system.query_thread_log.thread_id node type COLUMN. In scope (SELECT toUInt128(uniqExact(materialize(materialize(toNullable(19))), materialize(1), thread_id) IGNORE NULLS, 26), query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) WHERE toNullable('default_settings') ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/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&&) @ 0x00000000110784ab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::IdentifierLookup const&, DB::IdentifierResolveScope&) @ 0x000000001105b45b 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a900 6. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 18. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 19. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 22. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 25. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 26. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 28. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 29. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 Fuzzing step 585 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT toUInt128(1091), uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 586 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(100) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(100) Query succeeded, using this AST as a start Fuzzing step 588 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(100) Got boring AST Fuzzing step 589 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC NULLS LAST LIMIT '-0.0000000001' ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(100) Query succeeded, using this AST as a start Fuzzing step 590 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT '-0.0000000001' ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 591 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT '-0.0000000001' ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(toLowCardinality(100)) Got boring AST Fuzzing step 592 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT '-0.0000000001' ) AS id SELECT 1091, uniqExact(thread_id) > materialize(normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;'), 2) FROM system.query_thread_log PREWHERE materialize(toLowCardinality(100)) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT '-0.0000000001') AS id SELECT 1091, uniqExact(thread_id) > materialize(normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;'), 2) FROM system.query_thread_log PREWHERE materialize(toLowCardinality(100))': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT '-0.0000000001') AS id SELECT 1091, uniqExact(thread_id) > materialize(normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;'), 2) FROM system.query_thread_log PREWHERE materialize(toLowCardinality(100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 593 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT '102.5' ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 594 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT '102.5' ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 595 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT '102.5' ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(toLowCardinality(100)) Got boring AST Fuzzing step 596 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT '102.5' ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 597 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT '102.5' ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 598 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT '102.5' ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 599 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time ASC NULLS FIRST LIMIT '102.5' ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 600 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT '102.5' ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 601 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT '102.5' ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(toLowCardinality(100)) Got boring AST Fuzzing step 602 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) ORDER BY event_time DESC NULLS LAST LIMIT '102.5' ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(100) Query succeeded, using this AST as a start Fuzzing step 603 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) WHERE toLowCardinality(19) ORDER BY event_time DESC LIMIT '102.5' ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(100) Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) WHERE toLowCardinality(19) ORDER BY event_time DESC LIMIT '102.5' ) AS id SELECT 1091, uniqExact(thread_id) > materialize(2) FROM system.query_thread_log PREWHERE materialize(100) Got boring AST Fuzzing step 605 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) WHERE toLowCardinality(19) ORDER BY event_time DESC LIMIT '102.5' ) AS id SELECT toNullable(1091), uniqExact(thread_id) RESPECT NULLS > materialize(2) FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) WHERE toLowCardinality(19) ORDER BY event_time DESC LIMIT '102.5') AS id SELECT toNullable(1091), uniqExact(thread_id) RESPECT NULLS > materialize(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 606 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) WHERE toLowCardinality(19) ORDER BY event_time ASC LIMIT '102.5' ) AS id SELECT 1091, uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE materialize(100) Query succeeded, using this AST as a start Fuzzing step 607 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(materialize(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 'nested_alias'), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) WHERE toLowCardinality(19) ORDER BY event_time ASC NULLS LAST LIMIT '102.5' ) AS id SELECT 1091, uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE materialize(100) Current AST is too long, discarding it and using the original AST as a start Fuzzing step 608 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 609 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(materialize(toNullable(12)), today(), 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(materialize(toNullable(12)), today(), 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(materialize(toNullable(12)), today(), 1)) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 610 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 611 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND toLowCardinality(materialize(100)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 65537) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND toLowCardinality(materialize(100)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 65537) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 612 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT greater(test_alias_skip_idx__fuzz_11, uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT greater(test_alias_skip_idx__fuzz_11, uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_11' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT greater(test_alias_skip_idx__fuzz_11, uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 613 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(num. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 614 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 615 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(materialize(toNullable(toNullable(toUInt256(100))))) - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(materialize(toNullable(toNullable(toUInt256(100))))) - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function today doesn't match: passed 1, should be 0: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(materialize(toNullable(toNullable(toUInt256(100))))) - 1)) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 22. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 23. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 29. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 30. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 31. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 Fuzzing step 616 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) ASC, event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) ASC, event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'id' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) ASC, event_time DESC NULLS FIRST LIMIT 1) AS id. Maybe you meant: ['id']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001106f696 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110464c6 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 15. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 16. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 19. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 22. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 25. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 26. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 30. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 Fuzzing step 617 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 618 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(current_database = currentDatabase(), event_date, minus(today(), toLowCardinality('default_settings', 16), 1)) AND (query_id = id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT -2147483649) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(current_database = currentDatabase(), event_date, minus(today(), toLowCardinality('default_settings', 16), 1)) AND (query_id = id)': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log WHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT -2147483649) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(current_database = currentDatabase(), event_date, minus(today(), toLowCardinality('default_settings', 16), 1)) AND (query_id = id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 619 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 620 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 621 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND toNullable(toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND toNullable(toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND toNullable(toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 622 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 623 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY test_nested_alias_idx__fuzz_41, toUInt256(toNullable(19)), currentDatabase(), number Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY test_nested_alias_idx__fuzz_41, toUInt256(toNullable(19)), currentDatabase(), number': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_41' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY test_nested_alias_idx__fuzz_41, toUInt256(toNullable(19)), currentDatabase(), number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 624 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 2147483648 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 625 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(toNullable(toLowCardinality(toUInt256(19)), materialize(19)), current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 2147483648 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(toNullable(toLowCardinality(toUInt256(19)), materialize(19)), current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 2147483648) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log WHERE equals(toNullable(toLowCardinality(toUInt256(19)), materialize(19)), current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 2147483648) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 626 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query), greaterOrEquals(today() - toUInt256(1)), normalizeQuery(toFixedString(22, 'nested_alias', 12, 12), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 2147483648 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query), greaterOrEquals(today() - toUInt256(1)), normalizeQuery(toFixedString(22, 'nested_alias', 12, 12), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 2147483648) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query), greaterOrEquals(today() - toUInt256(1)), normalizeQuery(toFixedString(22, 'nested_alias', 12, 12), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 2147483648) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 29. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 30. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 31. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e Fuzzing step 627 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query)) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 2147483648 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query)) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 2147483648) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query)) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 2147483648) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 628 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 2147483648 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 2147483648) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 2147483648) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 629 out of 1000 WITH ( SELECT toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 2147483648 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 2147483648) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope (SELECT toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), 'WITH 01091 AS id SELECT 1;'), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 2147483648) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 630 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 2147483648 ) AS id SELECT greater(uniqExact(1, thread_id), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, toLowCardinality(2), id) AND notEquals(thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 2147483648) AS id SELECT greater(uniqExact(1, thread_id), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, toLowCardinality(2), id) AND notEquals(thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 2147483648) AS id SELECT greater(uniqExact(1, thread_id), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, toLowCardinality(2), id) AND notEquals(thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 631 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(toUInt128(toLowCardinality(toNullable(toNullable(1)))), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 2147483648 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(toUInt128(toLowCardinality(toNullable(toNullable(1)))), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 2147483648) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(toUInt128(toLowCardinality(toNullable(toNullable(1)))), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 2147483648) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 632 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 65535 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 633 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 65535 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Current AST is too long, discarding it and using the original AST as a start Fuzzing step 634 out of 1000 WITH ( SELECT toNullable(materialize(100)), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT toNullable(materialize(100)), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned empty result of type Tuple(Nullable(UInt8), String) which cannot be Nullable. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110562aa 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 635 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 636 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 637 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - materialize(toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - materialize(toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - materialize(toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 638 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 639 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - toNullable(1))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_27 WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - toNullable(1))) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_27 WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_27' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - toNullable(1))) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE test_alias_skip_idx__fuzz_27 WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 640 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 641 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 0 ) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN PIPELINE WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 0) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 0) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 642 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(toNullable(1))))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 643 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(toNullable(1))))) AND equals(query_id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(toNullable(1))))) AND equals(query_id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(toNullable(1))))) AND equals(query_id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 644 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(toNullable(toNullable(1)))))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 645 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery((event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND toLowCardinality(19, 1) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(materialize(toLowCardinality(toNullable(12))), today(), materialize(toNullable(toNullable(toNullable(1)))))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery((event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND toLowCardinality(19, 1) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(materialize(toLowCardinality(toNullable(12))), today(), materialize(toNullable(toNullable(toNullable(1)))))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery((event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id), query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND toLowCardinality(19, 1) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(materialize(toLowCardinality(toNullable(12))), today(), materialize(toNullable(toNullable(toNullable(1)))))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 646 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(toNullable(toNullable(1)))))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 647 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE test_alias_skip_idx__fuzz_11 WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(toNullable(toNullable(1)))))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE test_alias_skip_idx__fuzz_11 WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(toNullable(toNullable(1)))))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_11' in scope (SELECT query_id FROM system.query_log PREWHERE test_alias_skip_idx__fuzz_11 WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 648 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(test_alias_skip_idx__fuzz_37, event_date, today() - toNullable(toNullable(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(test_alias_skip_idx__fuzz_37, event_date, today() - toNullable(toNullable(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_37' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(test_alias_skip_idx__fuzz_37, event_date, today() - toNullable(toNullable(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 649 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(toNullable(1))))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query)) AND greaterOrEquals(event_date, 'with 01091 as id select sum(number) from numbers_mt(1000000);', today() - 1) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(materialize(toNullable(toFixedString(materialize(toLowCardinality('merge_expressions=0')), 19), toNullable(1))))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query)) AND greaterOrEquals(event_date, 'with 01091 as id select sum(number) from numbers_mt(1000000);', today() - 1) ORDER BY event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(materialize(toNullable(toFixedString(materialize(toLowCardinality('merge_expressions=0')), 19), toNullable(1))))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(query)) AND greaterOrEquals(event_date, 'with 01091 as id select sum(number) from numbers_mt(1000000);', today() - 1) ORDER BY event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(materialize(toNullable(toFixedString(materialize(toLowCardinality('merge_expressions=0')), 19), toNullable(1))))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 651 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(1)) ORDER BY event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(1)) ORDER BY event_time ASC LIMIT 0) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 652 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(toNullable(1))))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 653 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(toNullable(1))))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 654 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(toNullable(1))))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(toNullable(1))))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 655 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toNullable(toNullable(1))))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 656 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 657 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 658 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toUInt256(toLowCardinality(toUInt256(2))))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toUInt256(toLowCardinality(toUInt256(2))))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toUInt256(toLowCardinality(toUInt256(2))))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 659 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(toLowCardinality(toNullable(19)), today(), 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 0 ) AS id SELECT greater(toUInt256(16), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(toLowCardinality(toNullable(19)), today(), 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 0) AS id SELECT greater(toUInt256(16), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(toLowCardinality(toNullable(19)), today(), 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 0) AS id SELECT greater(toUInt256(16), uniqExact(thread_id), 2) FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 660 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date, (current_database = currentDatabase()) AND (normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;'), query) = normalizeQuery(toFixedString(toNullable('with 01091 as id select sum(number) from numbers(1000000);'), 58))) AND (event_date >= (today() - 1)), today() - 1) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date, (current_database = currentDatabase()) AND (normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;'), query) = normalizeQuery(toFixedString(toNullable('with 01091 as id select sum(number) from numbers(1000000);'), 58))) AND (event_date >= (today() - 1)), today() - 1) ORDER BY event_time ASC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date, (current_database = currentDatabase()) AND (normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;'), query) = normalizeQuery(toFixedString(toNullable('with 01091 as id select sum(number) from numbers(1000000);'), 58))) AND (event_date >= (today() - 1)), today() - 1) ORDER BY event_time ASC LIMIT 0) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 25. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 26. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 29. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 30. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 Fuzzing step 661 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) GROUP BY -1, test_alias_skip_idx__fuzz_39 ORDER BY event_time ASC LIMIT -9223372036854775808 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(materialize(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) GROUP BY -1, test_alias_skip_idx__fuzz_39 ORDER BY event_time ASC LIMIT -9223372036854775808) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(materialize(1)))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_39' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) GROUP BY -1, test_alias_skip_idx__fuzz_39 ORDER BY event_time ASC LIMIT -9223372036854775808) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 10. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 662 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 663 out of 1000 WITH ( SELECT toLowCardinality(toUInt256(1)), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(test_nested_alias_idx__fuzz_7, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT toLowCardinality(toUInt256(1)), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(test_nested_alias_idx__fuzz_7, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_7' in scope (SELECT toLowCardinality(toUInt256(1)), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(test_nested_alias_idx__fuzz_7, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 0) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 17. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 18. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 24. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 27. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 28. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 31. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 Fuzzing step 664 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toNullable(toNullable(toLowCardinality(100)), 1091 AS id) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(toNullable(toLowCardinality(toLowCardinality(100))), today(), toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toNullable(toLowCardinality(100)), 1091 AS id) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(toNullable(toLowCardinality(toLowCardinality(100))), today(), toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log PREWHERE toNullable(toNullable(toLowCardinality(100)), 1091 AS id) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(toNullable(toLowCardinality(toLowCardinality(100))), today(), toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 665 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 0 ) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY greaterOrEquals(today() - 1), 1091 Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 0) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY greaterOrEquals(today() - 1), 1091': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 0) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY greaterOrEquals(today() - 1), 1091. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 666 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 667 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19))))) AND toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id), event_date, today() - toNullable(1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19))))) AND toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id), event_date, today() - toNullable(1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Illegal type (Nullable(UInt128)) of 1 argument of function and: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19))))) AND toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id), event_date, today() - toNullable(1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&, String&&) @ 0x000000000702fdab 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6262 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 668 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - materialize(toUInt256(1)))) ORDER BY event_time DESC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, test_alias_skip_idx__fuzz_29, today() - toNullable(1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - materialize(toUInt256(1)))) ORDER BY event_time DESC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, test_alias_skip_idx__fuzz_29, today() - toNullable(1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_29' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - materialize(toUInt256(1)))) ORDER BY event_time DESC LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, test_alias_skip_idx__fuzz_29, today() - toNullable(1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 669 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 670 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - toNullable(1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - toNullable(1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 0) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - toNullable(1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 671 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 672 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 673 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))) AND (event_date >= minus(toLowCardinality(toNullable(12)), today(), 1)) ORDER BY event_time DESC NULLS LAST LIMIT 0 ) AS id SELECT uniqExact(materialize(toLowCardinality(100)), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 674 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))) AND (event_date >= minus(toLowCardinality(toNullable(12)), today(), 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 0 ) AS id SELECT uniqExact(materialize(100), thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 675 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))) AND (event_date >= minus(toLowCardinality(toNullable(12)), today(), 1)) GROUP BY toUInt128(materialize(toNullable(toUInt256(19)))) AND toUInt256(100) AND (thread_id != master_thread_id), toLowCardinality(materialize(toLowCardinality(100))), test_nested_alias_idx__fuzz_41, 65536 ORDER BY event_time DESC NULLS FIRST LIMIT 0 ) AS id SELECT uniqExact(100, thread_id) > 2 FROM system.query_thread_log Current AST is too long, discarding it and using the original AST as a start Fuzzing step 676 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE test_nested_alias_idx__fuzz_6 WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))) AND (event_date >= (today() - 1)) GROUP BY test_nested_alias_idx__fuzz_43, toLowCardinality(26) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE test_nested_alias_idx__fuzz_6 WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))) AND (event_date >= (today() - 1)) GROUP BY test_nested_alias_idx__fuzz_43, toLowCardinality(26) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_6' in scope (SELECT query_id FROM system.query_log PREWHERE test_nested_alias_idx__fuzz_6 WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))) AND (event_date >= (today() - 1)) GROUP BY test_nested_alias_idx__fuzz_43, toLowCardinality(26) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 677 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable(toUInt128(toLowCardinality(toNullable(1091)))), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 679 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(toFixedString('default_settings', 16), query) = normalizeQuery(toNullable(toLowCardinality(toNullable(1091))), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date, toLowCardinality(1091), today() - 1) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE materialize(toNullable(toUInt128(12))) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(toFixedString('default_settings', 16), query) = normalizeQuery(toNullable(toLowCardinality(toNullable(1091))), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date, toLowCardinality(1091), today() - 1) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE materialize(toNullable(toUInt128(12)))': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt128) of column materialize(_CAST('12'_Nullable(UInt128), 'Nullable(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x0000000012fcc497 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001316d043 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&) @ 0x000000001163a878 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>>&) @ 0x0000000011668f69 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662c15 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 10. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 11. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 680 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toUInt128(toLowCardinality(toNullable(1091))), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 681 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(toUInt128(toNullable(1091)), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - materialize(1))) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 682 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(toUInt128(toNullable(1091)), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 683 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(toUInt128(toNullable(1091)), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 684 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(toUInt128(1091), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 685 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(toUInt128(1091), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(currentDatabase()) - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 686 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(toUInt128(1091), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(currentDatabase(toLowCardinality(2147483647))) - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 687 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(toUInt128(1091), current_database, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(currentDatabase(toLowCardinality(2147483647))) - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 688 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(toUInt128(1091), current_database, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(currentDatabase(toLowCardinality(2147483647))) - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT greater(uniqExact(thread_id), -9223372036854775808, 2) FROM system.query_thread_log GROUP BY uniqExact(thread_id) IGNORE NULLS > materialize(2) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(toUInt128(1091), current_database, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(currentDatabase(toLowCardinality(2147483647))) - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT greater(uniqExact(thread_id), -9223372036854775808, 2) FROM system.query_thread_log GROUP BY uniqExact(thread_id) IGNORE NULLS > materialize(2)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(toUInt128(1091), current_database, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(currentDatabase(toLowCardinality(2147483647))) - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT greater(uniqExact(thread_id), -9223372036854775808, 2) FROM system.query_thread_log GROUP BY uniqExact(thread_id) IGNORE NULLS > materialize(2). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 689 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(normalizeQuery(toUInt128(1091), current_database, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(currentDatabase(toLowCardinality(2147483647))) - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 690 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(equals(normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))))) AND equals(normalizeQuery(1091, current_database, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(currentDatabase(toLowCardinality(2147483647))) - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 691 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(equals(normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))))) AND equals(normalizeQuery(1091, current_database, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(currentDatabase(2147483647)) - toLowCardinality(1))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 692 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 693 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE uniqExact(thread_id) > materialize(toNullable(toUInt256(toLowCardinality(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), toLowCardinality(toUInt256(2)))))) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 694 out of 1000 WITH ( SELECT test_alias_skip_idx__fuzz_0, query_id FROM system.query_log WHERE uniqExact(thread_id) RESPECT NULLS > toNullable(toUInt256(toLowCardinality(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), toLowCardinality(toUInt256(2))))) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 695 out of 1000 WITH ( SELECT test_alias_skip_idx__fuzz_0, query_id FROM system.query_log WHERE uniqExact(thread_id) RESPECT NULLS > toNullable(toLowCardinality(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), toLowCardinality(toUInt256(2)))) ORDER BY event_time DESC NULLS LAST LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 696 out of 1000 WITH ( SELECT test_alias_skip_idx__fuzz_0, query_id FROM system.query_log WHERE uniqExact(thread_id) RESPECT NULLS > toNullable(toLowCardinality(toNullable(toNullable(19), 100, 1091 AS id), toUInt256(2))) ORDER BY event_time DESC NULLS LAST LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 697 out of 1000 WITH ( SELECT test_alias_skip_idx__fuzz_0, query_id FROM system.query_log WHERE uniqExact(thread_id) RESPECT NULLS > toNullable(toLowCardinality(toNullable(toNullable(19), 100, 1091 AS id), toUInt256(2))) ORDER BY event_time DESC NULLS LAST LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 698 out of 1000 WITH ( SELECT test_alias_skip_idx__fuzz_0, query_id FROM system.query_log PREWHERE toUInt256(toLowCardinality(100)) WHERE uniqExact(thread_id) RESPECT NULLS > toNullable(toLowCardinality(toNullable(toNullable(19), 100, 1091 AS id), toUInt256(equals(normalizeQuery(query), toUInt256(1), 'WITH 01091 AS id SELECT 1;', normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))), 2))) ORDER BY event_time DESC NULLS LAST LIMIT 0 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Current AST is too long, discarding it and using the original AST as a start Fuzzing step 699 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT '922337203685477580.7' ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT '922337203685477580.7') AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 700 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, toNullable(toUInt128(2)), id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, toNullable(toUInt128(2)), id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id, toNullable(toUInt128(2)), id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 701 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 702 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(materialize(toLowCardinality(toNullable(toLowCardinality(1), 1091), 19))) - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(toFixedString('merge_expressions=0', 19, toLowCardinality(19)), thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(materialize(toLowCardinality(toNullable(toLowCardinality(1), 1091), 19))) - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(toFixedString('merge_expressions=0', 19, toLowCardinality(19)), thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(materialize(toLowCardinality(toNullable(toLowCardinality(1), 1091), 19))) - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(toFixedString('merge_expressions=0', 19, toLowCardinality(19)), thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 703 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT -2147483649) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x0000000011057aee 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 704 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND equals(query_id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 705 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(thread_id, toLowCardinality(toNullable(toUInt256(19))), master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(thread_id, toLowCardinality(toNullable(toUInt256(19))), master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function notEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(thread_id, toLowCardinality(toNullable(toUInt256(19))), master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 706 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 707 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log Got boring AST Fuzzing step 708 out of 1000 EXPLAIN QUERY TREE dump_passes = true WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log Error on processing query 'EXPLAIN QUERY TREE dump_passes = true WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 709 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 710 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - toNullable(1))) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 711 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - toNullable(1))) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log Got boring AST Fuzzing step 712 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - toNullable(1))) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 713 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - toNullable(1))) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log Got boring AST Fuzzing step 714 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(1091) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 715 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, 1091) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 716 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, 1091) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 717 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toUInt256(1), materialize(minmax, 1091) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(uniqExact(materialize(toLowCardinality(12)), thread_id), 2)) FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log GROUP BY toUInt256(1), materialize(minmax, 1091) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(uniqExact(materialize(toLowCardinality(12)), thread_id), 2)) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt128'. Expected 1 argument, got 2 arguments: In scope WITH (SELECT query_id FROM system.query_log GROUP BY toUInt256(1), materialize(minmax, 1091) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(uniqExact(materialize(toLowCardinality(12)), thread_id), 2)) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 20. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 718 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 719 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 720 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 721 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 722 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 723 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 724 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 725 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 726 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 727 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 728 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 729 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 730 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 731 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 732 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 733 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 734 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 735 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 736 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 737 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649) AS id . Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 738 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 739 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 740 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 741 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 742 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 743 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 744 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 745 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 746 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 747 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, 1091) ORDER BY event_time DESC LIMIT 257 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > toUInt256(toUInt128(2)) FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, 1091) ORDER BY event_time DESC LIMIT 257) AS id SELECT uniqExact(thread_id) RESPECT NULLS > toUInt256(toUInt128(2)) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 748 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649) AS id . Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 749 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(1)), materialize(minmax, toUInt128(1091)) ORDER BY event_time DESC LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt256(toUInt128(2)) FROM system.query_thread_log Got boring AST Fuzzing step 750 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(toUInt256(toLowCardinality(1))), materialize(minmax, 1091) ORDER BY event_time DESC NULLS FIRST LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 751 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toUInt256(toLowCardinality(1)), materialize(minmax, 1091) ORDER BY event_time ASC NULLS LAST LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 752 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toUInt256(toLowCardinality(1)), materialize(minmax, 1091) ORDER BY event_time ASC NULLS LAST LIMIT -2147483649 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Got boring AST Fuzzing step 753 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(1), materialize(minmax, 1091) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 754 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(1), materialize(minmax, 1091) ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Got boring AST Fuzzing step 755 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 756 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Got boring AST Fuzzing step 757 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Got boring AST Fuzzing step 758 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(materialize(22), 1), minmax, 1091 ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 759 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 760 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 761 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 762 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Got boring AST Fuzzing step 763 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 764 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 765 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Got boring AST Fuzzing step 766 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Got boring AST Fuzzing step 767 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Got boring AST Fuzzing step 768 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Positional argument out of bounds: 1091 (expected in range [1, 1]: While processing SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806: While processing WITH (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x000000001199a4f8 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&) @ 0x000000001189c5c0 6. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, false, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001189c925 7. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, false, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001189c91d 8. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, false, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001189c91d 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, false, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001189c91d 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, false, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001189c91d 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: 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) @ 0x0000000011897797 12. /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 @ 0x0000000011891fc6 13. /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 @ 0x0000000011622615 14. /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) @ 0x000000001161f094 15. /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) @ 0x000000001161bd8c 16. /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&) @ 0x000000001161baf1 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 18. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 20. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 22. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 23. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 769 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 770 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Positional argument out of bounds: 1091 (expected in range [1, 1]: While processing SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806: While processing WITH (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x000000001199a4f8 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&) @ 0x000000001189c5c0 6. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, false, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001189c925 7. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, false, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001189c91d 8. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, false, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001189c91d 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, false, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001189c91d 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, false, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001189c91d 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: 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) @ 0x0000000011897797 12. /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 @ 0x0000000011891fc6 13. /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 @ 0x0000000011622615 14. /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) @ 0x000000001161f094 15. /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) @ 0x000000001161bd8c 16. /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&) @ 0x000000001161baf1 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 18. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 20. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 22. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 23. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 771 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Positional argument out of bounds: 1091 (expected in range [1, 1]: While processing SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806: While processing WITH (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x000000001199a4f8 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&) @ 0x000000001189c5c0 6. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, false, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001189c925 7. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, false, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001189c91d 8. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, false, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001189c91d 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, false, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001189c91d 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, false, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001189c91d 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: 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) @ 0x0000000011897797 12. /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 @ 0x0000000011891fc6 13. /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 @ 0x0000000011622615 14. /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) @ 0x000000001161f094 15. /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) @ 0x000000001161bd8c 16. /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&) @ 0x000000001161baf1 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 18. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 20. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 22. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 23. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 772 out of 1000 EXPLAIN CURRENT TRANSACTION WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Error on processing query 'EXPLAIN CURRENT TRANSACTION WITH (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('('): (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806) AS 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 773 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 774 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Got boring AST Fuzzing step 775 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Got boring AST Fuzzing step 776 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Got boring AST Fuzzing step 777 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 778 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Got boring AST Fuzzing step 779 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 780 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Got boring AST Fuzzing step 781 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(22, 1), minmax, 1091 ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Got boring AST Fuzzing step 782 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 783 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 784 out of 1000 WITH ( SELECT toUInt256(toLowCardinality(materialize(toLowCardinality(1)), 19)), query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 9223372036854775806 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 785 out of 1000 WITH ( SELECT toUInt256(toLowCardinality(materialize(toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1)), 19)), query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 257 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 786 out of 1000 WITH ( SELECT toUInt256(test_alias_skip_idx__fuzz_12, toLowCardinality(materialize(toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1)), 19)), query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 257 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 787 out of 1000 WITH ( SELECT toUInt256(test_alias_skip_idx__fuzz_12, toLowCardinality(materialize(toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1)), 19)), query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 257 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Got boring AST Fuzzing step 788 out of 1000 WITH ( SELECT toUInt256(test_alias_skip_idx__fuzz_12, toLowCardinality(materialize(toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1)), 19)), query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 ORDER BY event_time ASC NULLS LAST LIMIT 257 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Got boring AST Fuzzing step 789 out of 1000 WITH ( SELECT toUInt256(test_alias_skip_idx__fuzz_12, toLowCardinality(materialize(toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1)), 19)), query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT uniqExact(thread_id) > toUInt128(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 790 out of 1000 WITH ( SELECT toUInt256(test_alias_skip_idx__fuzz_12, toLowCardinality(toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1), 19)), query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 791 out of 1000 WITH ( SELECT toUInt256(test_alias_skip_idx__fuzz_12, toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19)), query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 ORDER BY event_time ASC LIMIT 257 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 792 out of 1000 WITH ( SELECT toUInt256(test_alias_skip_idx__fuzz_12, toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19)), query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 ORDER BY event_time ASC LIMIT 257 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 793 out of 1000 WITH ( SELECT toUInt256(test_alias_skip_idx__fuzz_12, toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19)), query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 WITH ( SELECT toUInt256(test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19), query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 795 out of 1000 WITH ( SELECT toUInt256(test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19), query_id FROM system.query_log GROUP BY 22, toNullable(1), minmax, 1091 ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 796 out of 1000 WITH ( SELECT toUInt256(test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19), query_id FROM system.query_log GROUP BY 22, toNullable(1), minmax, 1091 ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 797 out of 1000 WITH ( SELECT toUInt256(test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19), query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 798 out of 1000 WITH ( SELECT toUInt256(test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19), query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 799 out of 1000 WITH ( SELECT toUInt256(test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19), query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 WITH ( SELECT test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19, query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 801 out of 1000 WITH ( SELECT test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19, query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 257 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 802 out of 1000 WITH ( SELECT test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19, query_id FROM system.query_log GROUP BY 22, 1, minmax, 1091 WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 257 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 803 out of 1000 WITH ( SELECT test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19, query_id FROM system.query_log PREWHERE toUInt256(toNullable(12)) GROUP BY 22, 1, minmax, 1091 WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 804 out of 1000 WITH ( SELECT test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19, query_id FROM system.query_log WHERE toUInt256(toNullable(12)) GROUP BY 22, 1, minmax, 1091 WITH CUBE WITH TOTALS ORDER BY event_time ASC NULLS LAST LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 805 out of 1000 WITH ( SELECT test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19, query_id FROM system.query_log PREWHERE uniqExact(toNullable(1), thread_id) > 2 WHERE toUInt256(toNullable(12)) GROUP BY 22, 1, minmax, toNullable(1091) WITH CUBE WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 806 out of 1000 WITH ( SELECT test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19, query_id FROM system.query_log PREWHERE uniqExact(toNullable(1), thread_id) > 2 WHERE toUInt256(toNullable(12)) GROUP BY 22, 1, minmax, toNullable(1091) WITH CUBE WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 807 out of 1000 WITH ( SELECT test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19, query_id FROM system.query_log PREWHERE uniqExact(toNullable(1), thread_id) > 2 WHERE toUInt256(toNullable(12)) GROUP BY 22, 1, minmax, toNullable(1091) WITH CUBE WITH TOTALS ORDER BY event_time ASC NULLS FIRST LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 808 out of 1000 WITH ( SELECT test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, toLowCardinality(19), query_id FROM system.query_log PREWHERE uniqExact(toNullable(1), thread_id) > 2 WHERE toUInt256(12) GROUP BY 22, 1, minmax, toNullable(1091) WITH CUBE WITH TOTALS ORDER BY uniqExact(materialize(toLowCardinality(12)), thread_id) ASC, event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Current AST is too long, discarding it and using the original AST as a start Fuzzing step 809 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 810 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 811 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase((current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))))))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase((current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))))))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase((current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))))))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69ee0 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c5d 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:195: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a91b 17. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 18. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 19. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 22. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 25. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 28. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 29. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 31. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc Fuzzing step 812 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 813 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toLowCardinality(materialize(19)), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(toUInt256(materialize(26)), event_date, today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt128(toNullable(toUInt256(19))) AND toUInt256(100) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_47 Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toLowCardinality(materialize(19)), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(toUInt256(materialize(26)), event_date, today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt128(toNullable(toUInt256(19))) AND toUInt256(100) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_47': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toLowCardinality(materialize(19)), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(toUInt256(materialize(26)), event_date, today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toUInt128(toNullable(toUInt256(19))) AND toUInt256(100) AND (thread_id != master_thread_id), test_alias_skip_idx__fuzz_47. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 814 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, materialize(19)) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, materialize(19))': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, materialize(19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 815 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)) AND (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)) AND (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Cannot apply function normalizeQuery to fixed string.: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)) AND (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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/normalizeQuery.cpp:50: DB::(anonymous namespace)::Impl::vectorFixed(DB::PODArray, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000aa8ad7b 5. /build/src/Functions/FunctionStringToString.h:0: DB::FunctionStringToString, DB::(anonymous namespace)::Impl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8a98e 6. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 7. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 8. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 9. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69770 10. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c32 11. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 12. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 13. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 816 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 817 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > toLowCardinality(toUInt256(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 256) AS id SELECT uniqExact(thread_id) > toLowCardinality(toUInt256(2)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 818 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 819 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date) ORDER BY event_time DESC NULLS FIRST LIMIT 256 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date) ORDER BY event_time DESC NULLS FIRST LIMIT 256) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 820 out of 1000 EXPLAIN AST optimize = true WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'EXPLAIN AST optimize = true WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 256) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 821 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 256 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 822 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 256 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Current AST is too long, discarding it and using the original AST as a start Fuzzing step 823 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 824 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 825 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 826 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 827 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT greater(uniqExact(thread_id)) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 828 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(toLowCardinality(materialize(100)), today(), 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(toLowCardinality(materialize(100)), today(), 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(toLowCardinality(materialize(100)), today(), 1)) ORDER BY event_time ASC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 829 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(greater(100, a2, toLowCardinality(toLowCardinality(19, toLowCardinality(1)), toLowCardinality(1091), toNullable(19)), event_date, 1091, -2147483649, 100), normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 257 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(greater(100, a2, toLowCardinality(toLowCardinality(19, toLowCardinality(1)), toLowCardinality(1091), toNullable(19)), event_date, 1091, -2147483649, 100), normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 257) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(greater(100, a2, toLowCardinality(toLowCardinality(19, toLowCardinality(1)), toLowCardinality(1091), toNullable(19)), event_date, 1091, -2147483649, 100), normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 257) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 17. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 18. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 24. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 27. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 28. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 31. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 Fuzzing step 830 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 831 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(today() - 1) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(today() - 1) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(today() - 1) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 832 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(16) - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(16) - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function today doesn't match: passed 1, should be 0: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today(16) - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 833 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id), normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id), normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id), normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 834 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(materialize(toLowCardinality(toLowCardinality(1), 1091, 19)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(materialize(toLowCardinality(toLowCardinality(1), 1091, 19)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 3, should be 1: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(materialize(toLowCardinality(toLowCardinality(1), 1091, 19)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 25. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 26. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 29. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 30. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 Fuzzing step 835 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND notEquals(test_nested_alias_idx__fuzz_24, thread_id, master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND notEquals(test_nested_alias_idx__fuzz_24, thread_id, master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(today() - 1) AND (query_id = id) AND notEquals(test_nested_alias_idx__fuzz_24, thread_id, master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 836 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(1)) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(1)) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 20. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 29. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 30. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 Fuzzing step 837 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(today(), test_nested_alias_idx__fuzz_45, 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(today(), test_nested_alias_idx__fuzz_45, 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_45' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= minus(today(), test_nested_alias_idx__fuzz_45, 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 838 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 839 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(toLowCardinality(greater(toLowCardinality(toLowCardinality(toNullable(100))), a2, event_date, -2147483649, 100), 'WITH 01091 AS id SELECT 1;'), today(), 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(toLowCardinality(greater(toLowCardinality(toLowCardinality(toNullable(100))), a2, event_date, -2147483649, 100), 'WITH 01091 AS id SELECT 1;'), today(), 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(toLowCardinality(greater(toLowCardinality(toLowCardinality(toNullable(100))), a2, event_date, -2147483649, 100), 'WITH 01091 AS id SELECT 1;'), today(), 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 19. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 23. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 24. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 27. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 28. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 30. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 31. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda Fuzzing step 840 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 841 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE toUInt128(toLowCardinality(19)) AND (event_date >= (today() - 1)) AND (thread_id != master_thread_id) GROUP BY materialize(materialize(1091), toInt256(-2147483649)), -9223372036854775808, -1 Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE toUInt128(toLowCardinality(19)) AND (event_date >= (today() - 1)) AND (thread_id != master_thread_id) GROUP BY materialize(materialize(1091), toInt256(-2147483649)), -9223372036854775808, -1': Received from localhost:9000. DB::Exception: Illegal type (UInt128) of 1 argument of function and: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE toUInt128(toLowCardinality(19)) AND (event_date >= (today() - 1)) AND (thread_id != master_thread_id) GROUP BY materialize(materialize(1091), toInt256(-2147483649)), -9223372036854775808, -1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&, String&&) @ 0x000000000702fdab 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6262 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 842 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 843 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - materialize(1))) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 844 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(current_database, toLowCardinality(toUInt256(26)), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - materialize(1))) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(current_database, toLowCardinality(toUInt256(26)), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - materialize(1))) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log WHERE equals(current_database, toLowCardinality(toUInt256(26)), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - materialize(1))) ORDER BY event_time ASC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 845 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - materialize(1))) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 846 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 847 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 848 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable(materialize(materialize(19))), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 849 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable(materialize(19)), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 850 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable(materialize(19)), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log Got boring AST Fuzzing step 851 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable(19), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toUInt256(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 852 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(test_alias_skip_idx__fuzz_44, query) = normalizeQuery(toNullable(19), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 853 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(test_alias_skip_idx__fuzz_44, query) = normalizeQuery(19, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 854 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(test_alias_skip_idx__fuzz_44, query) = normalizeQuery(19, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 855 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(test_alias_skip_idx__fuzz_44, query) = normalizeQuery(19, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 856 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(test_alias_skip_idx__fuzz_44, query) = normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 857 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(test_alias_skip_idx__fuzz_44) = normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(test_alias_skip_idx__fuzz_44) = normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT -2147483648) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 858 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 859 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time ASC LIMIT 65537 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 860 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', toNullable(toNullable(toUInt256(100))), 61))) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 861 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19, 'with 01091 as id select sum(number) from numbers_mt(1000000);', toNullable(toNullable(toUInt256(100))), 61)) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 862 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19, 'with 01091 as id select sum(number) from numbers_mt(1000000);', toNullable(a2 > materialize(100), toNullable(toUInt256(100))), 61)) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 863 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19, 'with 01091 as id select sum(number) from numbers_mt(1000000);', toNullable(a2 > materialize(100), toNullable(toUInt256(100))), 61)) AND greaterOrEquals(today() - toLowCardinality(1)) ORDER BY event_time ASC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 864 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19, 'with 01091 as id select sum(number) from numbers_mt(1000000);', a2 > materialize(100), toNullable(toUInt256(100)), 61)) AND greaterOrEquals(today() - toLowCardinality(1)) ORDER BY event_time DESC LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 865 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19)) AND greaterOrEquals(today() - toLowCardinality(1)) ORDER BY event_time DESC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 866 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19)) AND greaterOrEquals(today() - 1) ORDER BY event_time DESC NULLS FIRST LIMIT 3 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 867 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, toLowCardinality(greater(toLowCardinality(100), a2, 100), 'WITH 01091 AS id SELECT 1;'), materialize(19))) AND greaterOrEquals(today() - 1) ORDER BY event_time DESC NULLS LAST LIMIT 0.0001 ) AS id SELECT uniqExact(thread_id) > toNullable(toUInt256(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 868 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, toLowCardinality(greater(toLowCardinality(100), a2, 100), 'WITH 01091 AS id SELECT 1;'), materialize(19))) AND greaterOrEquals(today() - 1) ORDER BY event_time DESC LIMIT 0.0001 ) AS id SELECT uniqExact(thread_id) > toNullable(toUInt256(2)) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 869 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, toLowCardinality(greater(toLowCardinality(100), a2, 100), 'WITH 01091 AS id SELECT 1;'), materialize(event_date >= minus(materialize(1)), 19))) AND greaterOrEquals(today() - 1) GROUP BY today() - 1, 0.0001 ORDER BY event_time DESC LIMIT 0.0001 ) AS id SELECT uniqExact(thread_id) > toNullable(toUInt256(2)) FROM system.query_thread_log Current AST is too long, discarding it and using the original AST as a start Fuzzing step 870 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT -9223372036854775808 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS LAST LIMIT -9223372036854775808) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x0000000011057aee 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046a02 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 871 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 872 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 873 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 874 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND ((current_database = currentDatabase()) AND (normalizeQuery(test_alias_skip_idx__fuzz_44, query) = normalizeQuery(toNullable(19), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1))) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775807 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND ((current_database = currentDatabase()) AND (normalizeQuery(test_alias_skip_idx__fuzz_44, query) = normalizeQuery(toNullable(19), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1))) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775807) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_44' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND ((current_database = currentDatabase()) AND (normalizeQuery(test_alias_skip_idx__fuzz_44, query) = normalizeQuery(toNullable(19), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1))) AND (event_date >= (today() - toLowCardinality(1))) ORDER BY event_time DESC NULLS FIRST LIMIT 9223372036854775807) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 20. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 21. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 24. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 27. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 28. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 29. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 30. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 31. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a Fuzzing step 875 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY 1000000 ASC NULLS FIRST, event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY 1000000 ASC NULLS FIRST, event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Positional argument number 1000000 is out of bounds. Expected in range [1, 1]. In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY 1000000 ASC NULLS FIRST, event_time DESC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046471 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 9. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 876 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers_mt(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_25 AND (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers_mt(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_25 AND (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_25' in scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers_mt(1000000);'))) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE test_alias_skip_idx__fuzz_25 AND (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 877 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 878 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 879 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS LAST LIMIT -2 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 880 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC NULLS FIRST LIMIT -2 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 881 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toLowCardinality(toNullable(toUInt256(12))))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time ASC LIMIT -2 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 882 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toLowCardinality(toNullable(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time ASC LIMIT -2 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 883 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toLowCardinality(toNullable(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time ASC LIMIT -2 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 884 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toLowCardinality(toNullable(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time DESC LIMIT -2 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 885 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toLowCardinality(toNullable(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time DESC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 886 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toLowCardinality(toNullable(toLowCardinality(12))))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(today())) ORDER BY event_time DESC NULLS FIRST LIMIT 10 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 887 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time DESC NULLS FIRST LIMIT 10 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 888 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time DESC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 889 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time DESC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 890 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time DESC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log Got boring AST Fuzzing step 891 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time DESC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 892 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 893 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 894 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 895 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 896 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 897 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 898 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 899 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 900 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 901 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 902 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 903 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 904 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 905 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 906 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 907 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 908 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 909 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 910 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 911 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 912 out of 1000 EXPLAIN SYNTAX WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Error on processing query 'EXPLAIN SYNTAX WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Aggregate function uniqExact(100, thread_id) is found in WHERE in query: While processing uniqExact(100, thread_id): While processing (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10) AS id: While processing WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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/Interpreters/GetAggregatesVisitor.h:0: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x00000000111da221 5. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111d9e29 6. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x00000000111da4d9 7. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x00000000111da4e4 8. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x00000000111da4e4 9. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x00000000111da4e4 10. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x00000000118981e8 11. /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 @ 0x00000000118953c0 12. /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 @ 0x0000000011622615 13. /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) @ 0x000000001161f094 14. /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&) @ 0x000000001161beb1 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116b1995 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116afdac 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001170bb15 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170b401 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:181: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000117084a2 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001170824a 21. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011707bb5 22. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707cf9 23. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011707d04 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x0000000011898031 25. /build/src/Interpreters/TreeRewriter.cpp:1392: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011893a83 26. /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 @ 0x0000000011622615 27. /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) @ 0x000000001161f094 28. /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) @ 0x000000001161bd8c 29. /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&) @ 0x000000001161baf1 30. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 31. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 Fuzzing step 913 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 914 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 915 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 916 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 917 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 918 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 919 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))), 12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC NULLS FIRST LIMIT 10 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > toNullable(2) FROM system.query_thread_log Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))), 12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC NULLS FIRST LIMIT 10) AS id SELECT uniqExact(thread_id) RESPECT NULLS > toNullable(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 920 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 921 out of 1000 EXPLAIN PIPELINE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 922 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 923 out of 1000 EXPLAIN QUERY TREE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 924 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 925 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 926 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 927 out of 1000 EXPLAIN TABLE OVERRIDE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Error on processing query 'EXPLAIN TABLE OVERRIDE WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('query_id'): query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01. Expected one of: token sequence, Dot, token, Comma, ClosingRoundBracket, OR, AND, IS NOT DISTINCT FROM, IS NULL, IS NOT NULL, BETWEEN, NOT BETWEEN, LIKE, ILIKE, NOT LIKE, NOT ILIKE, REGEXP, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, MOD, DIV, alias, AS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 928 out of 1000 EXPLAIN WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 929 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 930 out of 1000 EXPLAIN AST WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Got boring AST Fuzzing step 931 out of 1000 EXPLAIN ESTIMATE WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 932 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toNullable(toLowCardinality(12)))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(100, thread_id) RESPECT NULLS >= event_date) ORDER BY event_time ASC LIMIT 10 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 933 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toLowCardinality(12))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (uniqExact(materialize(100), thread_id) RESPECT NULLS >= event_date) ORDER BY event_time ASC LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Query succeeded, using this AST as a start Fuzzing step 934 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase(toLowCardinality(12))) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND ((current_database = currentDatabase()) AND equals(normalizeQuery(toUInt128(1091), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals((normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)), event_date, today(currentDatabase()) - 1)) AND (uniqExact(100, thread_id) RESPECT NULLS >= event_date) ORDER BY event_time ASC LIMIT -2147483648 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log Current AST is too long, discarding it and using the original AST as a start Fuzzing step 935 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 936 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) GROUP BY toFixedString('merge_expressions=0', toUInt256(19)), toUInt128(materialize(materialize(toLowCardinality(12)))) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) GROUP BY toFixedString('merge_expressions=0', toUInt256(19)), toUInt128(materialize(materialize(toLowCardinality(12)))) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Column system.query_log.event_time is not under aggregate function and not in GROUP BY keys. In query (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) GROUP BY toFixedString('merge_expressions=0', toUInt256(19)), toUInt128(materialize(materialize(toLowCardinality(12)))) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x000000001109825e 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x00000000110972dd 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 11. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 937 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 938 out of 1000 WITH ( SELECT toLowCardinality(toNullable('nested_alias', 12)), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(test_nested_alias_idx__fuzz_36, thread_id, master_thread_id) Error on processing query 'WITH (SELECT toLowCardinality(toNullable('nested_alias', 12)), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND notEquals(test_nested_alias_idx__fuzz_36, thread_id, master_thread_id)': 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('nested_alias', 12)), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 18. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 19. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 22. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 25. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 26. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 28. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 29. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 Fuzzing step 939 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 940 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toUInt128(1))) AND (query_id = id) AND notEquals(thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toUInt128(1))) AND (query_id = id) AND notEquals(thread_id)': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toUInt128(1))) AND (query_id = id) AND notEquals(thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 941 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(a > materialize(100), today(), 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, toUInt256(26), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(a > materialize(100), today(), 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, toUInt256(26), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= minus(a > materialize(100), today(), 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(event_date, toUInt256(26), today() - 1) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 942 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 943 out of 1000 WITH ( SELECT query_id FROM system.query_log PREWHERE toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', toNullable(toNullable(toUInt256(100))), 61) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log PREWHERE toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', toNullable(toNullable(toUInt256(100))), 61) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope (SELECT query_id FROM system.query_log PREWHERE toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', toNullable(toNullable(toUInt256(100))), 61) WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 13. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 14. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 23. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 24. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 28. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 944 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date, thread_id, today() - 1) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date, thread_id, today() - 1) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Resolve identifier 'thread_id' from parent scope only supported for constants and CTE. Actual system.query_thread_log.thread_id node type COLUMN. In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND greaterOrEquals(event_date, thread_id, today() - 1) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/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&&) @ 0x00000000110784ab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::IdentifierLookup const&, DB::IdentifierResolveScope&) @ 0x000000001105b45b 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a900 6. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 16. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 945 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(materialize(1)) - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(materialize(1)) - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > toNullable(2) FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function today doesn't match: passed 1, should be 0: In scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today(materialize(1)) - 1)) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 22. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 23. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 29. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 30. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 31. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 Fuzzing step 946 out of 1000 WITH ( SELECT toUInt256(toNullable(100)), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT toUInt256(toNullable(100)), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned empty result of type Tuple(Nullable(UInt256), String) which cannot be Nullable. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110562aa 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 947 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND equals(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), normalizeQuery(query), normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 17. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 18. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 24. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 27. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 28. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 31. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 Fuzzing step 948 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 949 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toUInt128(1))) AND equals(id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toUInt128(1))) AND equals(id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope WITH (SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toUInt128(1))) AND equals(id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 26. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 27. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 30. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 31. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 Fuzzing step 950 out of 1000 WITH ( SELECT query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - 1)) ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 951 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(toLowCardinality(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 952 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE equals(test_nested_alias_idx__fuzz_26, query_id, id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE equals(test_nested_alias_idx__fuzz_26, query_id, id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_26' in scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE equals(test_nested_alias_idx__fuzz_26, query_id, id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 953 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 954 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 955 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 956 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 957 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 958 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 959 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 960 out of 1000 WITH ( SELECT today() - toLowCardinality((normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))), 1), query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT today() - toLowCardinality((normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))), 1), query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope (SELECT today() - toLowCardinality((normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))), 1), query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 18. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 19. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 22. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 25. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 26. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 28. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 29. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 Fuzzing step 961 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 962 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 963 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(toLowCardinality(100), event_date, today() - 1) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(toLowCardinality(100), event_date, today() - 1) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) > 2 FROM system.query_thread_log WHERE greaterOrEquals(toLowCardinality(100), event_date, today() - 1) AND (query_id = id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 964 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 965 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toLowCardinality(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 966 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 967 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND notEquals(thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND notEquals(thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT greater(2) FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND notEquals(thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 968 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log WHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 969 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= minus(toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) RESPECT NULLS > 2 FROM system.query_thread_log WHERE (event_date >= minus(toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Function uniqExact does not support RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(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/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getAssociatedFunctionByNullsAction(String const&, DB::NullsAction) const @ 0x00000000104ccffa 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::AggregateFunctionFactory::tryGetProperties(String, DB::NullsAction) const @ 0x00000000104cbcbc 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104cb1f3 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011062e41 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 970 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 971 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(event_date >= minus(today()), today(), toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) WHERE toNullable(materialize('WITH 01091 AS id SELECT 1;'), 26) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(event_date >= minus(today()), today(), toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) WHERE toNullable(materialize('WITH 01091 AS id SELECT 1;'), 26)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(event_date >= minus(today()), today(), toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) WHERE toNullable(materialize('WITH 01091 AS id SELECT 1;'), 26). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 21. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 972 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 973 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND equals(query_id, event_date >= minus(toLowCardinality(toNullable(12)), today(), materialize(toNullable(toNullable(1)))), id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND equals(query_id, event_date >= minus(toLowCardinality(toNullable(12)), today(), materialize(toNullable(toNullable(1)))), id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND equals(query_id, event_date >= minus(toLowCardinality(toNullable(12)), today(), materialize(toNullable(toNullable(1)))), id) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 974 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 975 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 976 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Got boring AST Fuzzing step 977 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 978 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(materialize(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Query succeeded, using this AST as a start Fuzzing step 979 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 2147483646 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(materialize(1)))) AND (query_id = id) AND (thread_id != master_thread_id) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS LAST LIMIT 2147483646) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(materialize(1)))) AND (query_id = id) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 980 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091) Query succeeded, using this AST as a start Fuzzing step 981 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND equals(query_id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND equals(query_id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND equals(query_id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 982 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY 1091 Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY 1091': Received from localhost:9000. DB::Exception: Positional argument number 1091 is out of bounds. Expected in range [1, 1]. In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY 1091. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 983 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091) Query succeeded, using this AST as a start Fuzzing step 984 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091) Query succeeded, using this AST as a start Fuzzing step 985 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY toLowCardinality(19, toNullable(toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091)), 1) ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND equals(normalizeQuery(query), toUInt256(1), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) AND (thread_id != master_thread_id) GROUP BY toNullable(1091) Error on processing query 'WITH (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(19, toNullable(toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091)), 1) ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND equals(normalizeQuery(query), toUInt256(1), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) AND (thread_id != master_thread_id) GROUP BY toNullable(1091)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_5' in scope (SELECT query_id FROM system.query_log GROUP BY toLowCardinality(19, toNullable(toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091)), 1) ORDER BY event_time DESC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 22. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 23. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 26. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 29. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 30. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 31. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 Fuzzing step 986 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(toUInt256(materialize(26)), 1091) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(toUInt256(materialize(26)), 1091)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(toUInt256(materialize(26)), 1091). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 987 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY 1091 Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY 1091': Received from localhost:9000. DB::Exception: Positional argument number 1091 is out of bounds. Expected in range [1, 1]. In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY 1091. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 988 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT greater(2) FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT greater(2) FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT greater(2) FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 989 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 2 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time DESC LIMIT 2) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091)': Received from localhost:9000. DB::Exception: Scalar subquery returned more than one row. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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:571: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105616e 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104cc2f 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 990 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091) Got boring AST Fuzzing step 991 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY test_nested_alias_idx__fuzz_27, toNullable(toLowCardinality(toUInt128(1))) ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091) Error on processing query 'WITH (SELECT query_id FROM system.query_log GROUP BY test_nested_alias_idx__fuzz_27, toNullable(toLowCardinality(toUInt128(1))) ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_27' in scope (SELECT query_id FROM system.query_log GROUP BY test_nested_alias_idx__fuzz_27, toNullable(toLowCardinality(toUInt128(1))) ORDER BY event_time ASC LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 10. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 992 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(toNullable(toUInt128(1))))) AND (query_id = id) AND (thread_id != master_thread_id) WHERE uniqExact(thread_id) > materialize(toNullable(toUInt256(2))) GROUP BY GROUPING SETS ((toNullable(1091))) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - materialize(toNullable(toUInt128(1))))) AND (query_id = id) AND (thread_id != master_thread_id) WHERE uniqExact(thread_id) > materialize(toNullable(toUInt256(2))) GROUP BY GROUPING SETS ((toNullable(1091)))': Received from localhost:9000. DB::Exception: Aggregate function uniqExact(thread_id) is found in WHERE in query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x000000001109a911 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001109a870 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001109a870 7. /build/contrib/llvm-project/libcxx/include/string:1499: DB::assertNoAggregateFunctionNodes(std::shared_ptr const&, String const&) @ 0x000000001109ab0f 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x00000000110965d8 9. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 11. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 12. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 16. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 993 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY 1091 Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY 1091': Received from localhost:9000. DB::Exception: Positional argument number 1091 is out of bounds. Expected in range [1, 1]. In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY 1091. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 994 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND equals(query_id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND equals(query_id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091)': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND equals(query_id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 995 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091) Got boring AST Fuzzing step 996 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091) Query succeeded, using this AST as a start Fuzzing step 997 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(today())) AND equals(query_id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091) Error on processing query 'WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(today())) AND equals(query_id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope WITH (SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS LAST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= minus(today())) AND equals(query_id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 998 out of 1000 WITH ( SELECT query_id FROM system.query_log GROUP BY equals(normalizeQuery(toUInt128(1091), 'with 01091 as id select sum(number) from numbers_mt(1000000);')), toLowCardinality(100) ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091) Error on processing query 'WITH (SELECT query_id FROM system.query_log GROUP BY equals(normalizeQuery(toUInt128(1091), 'with 01091 as id select sum(number) from numbers_mt(1000000);')), toLowCardinality(100) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091)': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope (SELECT query_id FROM system.query_log GROUP BY equals(normalizeQuery(toUInt128(1091), 'with 01091 as id select sum(number) from numbers_mt(1000000);')), toLowCardinality(100) ORDER BY event_time ASC NULLS FIRST LIMIT 1) AS id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x00000000110595d8 18. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001105a401 19. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104ca3e 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 22. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 25. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 26. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 28. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 29. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 Fuzzing step 999 out of 1000 WITH ( SELECT query_id FROM system.query_log ORDER BY event_time ASC NULLS FIRST LIMIT 1 ) AS id SELECT uniqExact(thread_id) IGNORE NULLS > 2 FROM system.query_thread_log PREWHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) GROUP BY toNullable(1091) 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 50 Query succeeded, using this AST as a start Fuzzing step 1 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_0 ( `c` UInt32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 2 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_1 ( `c` Array(UInt32), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_alias_skip_idx__fuzz_1 (`c` Array(UInt32), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(UInt32) and UInt8 of arguments of function plus: While processing c + 1 AS a: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 3 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_2 ( `c` UInt32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 4 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_3 ( `c` UInt32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 5 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_4 ( `c` UInt32, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 6 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_5 ( `c` Nullable(UInt32), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 7 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_6 ( `c` LowCardinality(Nullable(UInt32)), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 8 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_7 ( `c` UInt16, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 9 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_8 ( `c` LowCardinality(UInt16), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 10 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_9 ( `c` LowCardinality(Nullable(UInt16)), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 11 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_10 ( `c` LowCardinality(Nullable(UInt16)), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 12 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_11 ( `c` LowCardinality(UInt16), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 13 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_12 ( `c` UInt64, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 14 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_13 ( `c` UInt64, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 15 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_14 ( `c` UInt64, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 16 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_15 ( `c` UInt64, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 17 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_16 ( `c` UInt16, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 18 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_17 ( `c` Tuple(Float64, DateTime, UInt16), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_alias_skip_idx__fuzz_17 (`c` Tuple(Float64, DateTime, UInt16), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Tuple(Float64, DateTime, UInt16) and UInt8 of arguments of function plus: While processing c + 1 AS a: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 19 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_18 ( `c` LowCardinality(UInt16), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 20 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_19 ( `c` UInt16, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 21 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_20 ( `c` UInt16, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 22 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_21 ( `c` LowCardinality(UInt16), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 23 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_22 ( `c` UInt16, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 24 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_23 ( `c` Array(UInt16), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_alias_skip_idx__fuzz_23 (`c` Array(UInt16), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(UInt16) and UInt8 of arguments of function plus: While processing c + 1 AS a: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 25 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_24 ( `c` Nullable(UInt16), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 26 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_25 ( `c` Nullable(UUID), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_alias_skip_idx__fuzz_25 (`c` Nullable(UUID), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types UUID and UInt8 of arguments of function plus: While processing c + 1 AS a: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 27 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_26 ( `c` Nullable(UInt16), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 28 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_27 ( `c` UInt16, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 29 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_28 ( `c` Nullable(UInt16), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 30 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_29 ( `c` Nullable(UInt16), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 31 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_30 ( `c` UInt8, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 32 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_31 ( `c` UInt8, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 33 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_32 ( `c` UInt8, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 34 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_33 ( `c` Array(UInt8), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_alias_skip_idx__fuzz_33 (`c` Array(UInt8), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(UInt8) and UInt8 of arguments of function plus: While processing c + 1 AS a: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 35 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_34 ( `c` FixedString(8), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_alias_skip_idx__fuzz_34 (`c` FixedString(8), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types FixedString(8) and UInt8 of arguments of function plus: While processing c + 1 AS a: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 36 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_35 ( `c` UInt8, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 37 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_36 ( `c` UInt8, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 38 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_37 ( `c` UInt8, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 39 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_38 ( `c` Array(UInt8), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_alias_skip_idx__fuzz_38 (`c` Array(UInt8), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(UInt8) and UInt8 of arguments of function plus: While processing c + 1 AS a: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 40 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_39 ( `c` UInt8, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 41 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_40 ( `c` Nullable(UInt8), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 42 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_41 ( `c` Array(Nullable(UInt8)), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_alias_skip_idx__fuzz_41 (`c` Array(Nullable(UInt8)), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(Nullable(UInt8)) and UInt8 of arguments of function plus: While processing c + 1 AS a: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 43 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_42 ( `c` Nullable(UInt8), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 44 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_43 ( `c` Nullable(String), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_alias_skip_idx__fuzz_43 (`c` Nullable(String), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types String and UInt8 of arguments of function plus: While processing c + 1 AS a: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 45 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_44 ( `c` LowCardinality(Nullable(UInt8)), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 46 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_45 ( `c` LowCardinality(Nullable(UInt8)), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 47 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_46 ( `c` UInt8, `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 48 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_47 ( `c` LowCardinality(UInt8), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 49 out of 50 CREATE TABLE test_alias_skip_idx__fuzz_48 ( `c` LowCardinality(UInt8), `a` ALIAS c + 1, INDEX idx_a a TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 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_alias_skip_idx__fuzz_31 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_13 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_10 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_45 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_8 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_7 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_9 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_48 SELECT number FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_6 SELECT number FROM numbers(10) Fuzzing step 0 out of 1 Query succeeded, using this AST as a start INSERT INTO test_alias_skip_idx__fuzz_31 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_13 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_10 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_45 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_8 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_7 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_9 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_48 SELECT number + 200 FROM numbers(10) INSERT INTO test_alias_skip_idx__fuzz_6 SELECT number + 200 FROM numbers(10) Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 2 out of 1000 SELECT 'merge_expressions=0' PREWHERE test_alias_skip_idx__fuzz_42 Error on processing query 'SELECT 'merge_expressions=0' PREWHERE test_alias_skip_idx__fuzz_42': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_42' in scope SELECT 'merge_expressions=0' PREWHERE test_alias_skip_idx__fuzz_42. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 3 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 4 out of 1000 EXPLAIN PIPELINE header = true SELECT 'merge_expressions=0' Error on processing query 'EXPLAIN PIPELINE header = true SELECT 'merge_expressions=0'': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 5 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 6 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 7 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 8 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 9 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 10 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 11 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 12 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 13 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 14 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 15 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 16 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 17 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 18 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 19 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 20 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 21 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 22 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 23 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 24 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 25 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 26 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 27 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 28 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 29 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 30 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 31 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 32 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 33 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 34 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 35 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 36 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 37 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 38 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 39 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 40 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 41 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 42 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 43 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 44 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 45 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 46 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 47 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 48 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 49 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 50 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 51 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 52 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 53 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 54 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 55 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 56 out of 1000 SELECT 'merge_expressions=0' Got boring AST Fuzzing step 57 out of 1000 SELECT toFixedString('merge_expressions=0', 19) Query succeeded, using this AST as a start Fuzzing step 58 out of 1000 SELECT toFixedString(toLowCardinality('merge_expressions=0'), 19) Query succeeded, using this AST as a start Fuzzing step 59 out of 1000 SELECT toFixedString(toLowCardinality('merge_expressions=0'), 19) Got boring AST Fuzzing step 60 out of 1000 SELECT toFixedString(toLowCardinality('merge_expressions=0'), 19) Got boring AST Fuzzing step 61 out of 1000 SELECT toFixedString('merge_expressions=0', 19) Query succeeded, using this AST as a start Fuzzing step 62 out of 1000 SELECT toFixedString('merge_expressions=0', 19) Got boring AST Fuzzing step 63 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 64 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 65 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 66 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 67 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 68 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 69 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 70 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 71 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 72 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 73 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 74 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 75 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 76 out of 1000 SELECT 'merge_expressions=0', 19 PREWHERE currentDatabase(toLowCardinality(2147483647)) Error on processing query 'SELECT 'merge_expressions=0', 19 PREWHERE currentDatabase(toLowCardinality(2147483647))': Received from localhost:9000. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: In scope SELECT 'merge_expressions=0', 19 PREWHERE currentDatabase(toLowCardinality(2147483647)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 77 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 78 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 79 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 80 out of 1000 SELECT 'merge_expressions=0', 19 GROUP BY equals(19, current_database, toNullable(toLowCardinality(22), toLowCardinality(19)), currentDatabase()), toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19), toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19))))) AND toNullable(100) AND (thread_id != master_thread_id) Error on processing query 'SELECT 'merge_expressions=0', 19 GROUP BY equals(19, current_database, toNullable(toLowCardinality(22), toLowCardinality(19)), currentDatabase()), toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19), toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19))))) AND toNullable(100) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT 'merge_expressions=0', 19 GROUP BY equals(19, current_database, toNullable(toLowCardinality(22), toLowCardinality(19)), currentDatabase()), toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19), toUInt128(toLowCardinality(materialize(toNullable(toUInt256(19))))) AND toNullable(100) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 81 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 82 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 83 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 84 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 85 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 86 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 87 out of 1000 SELECT 'merge_expressions=0', toUInt256(19) Query succeeded, using this AST as a start Fuzzing step 88 out of 1000 SELECT 'merge_expressions=0', toUInt256(toLowCardinality(19)) Query succeeded, using this AST as a start Fuzzing step 89 out of 1000 SELECT 'merge_expressions=0', toUInt256(19) Query succeeded, using this AST as a start Fuzzing step 90 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 92 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 93 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 94 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 95 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 96 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 97 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 98 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 99 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 100 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 101 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 102 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 103 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 104 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 105 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 106 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 107 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 108 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 (''merge_expressions=0''): 'merge_expressions=0', 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 109 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 (''merge_expressions=0''): 'merge_expressions=0', 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 110 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 111 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 112 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 113 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 114 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 115 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 116 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 117 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 118 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 119 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 120 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 121 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 122 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 123 out of 1000 SELECT 'merge_expressions=0', materialize(19) Query succeeded, using this AST as a start Fuzzing step 124 out of 1000 SELECT 'merge_expressions=0', 19 Query succeeded, using this AST as a start Fuzzing step 125 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 126 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 127 out of 1000 EXPLAIN json = true, sorting = true SELECT toNullable(toNullable(toLowCardinality(1), 1091)), 'merge_expressions=0', 19 Error on processing query 'EXPLAIN json = true, sorting = true SELECT toNullable(toNullable(toLowCardinality(1), 1091)), 'merge_expressions=0', 19': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 128 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 129 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 130 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 131 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 132 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 133 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 134 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 135 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 136 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 137 out of 1000 SELECT 'merge_expressions=0', 19 Got boring AST Fuzzing step 138 out of 1000 SELECT toLowCardinality(toFixedString('merge_expressions=0', 19)), 19 Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 SELECT toLowCardinality(toFixedString('merge_expressions=0', 19)), 19 Got boring AST Fuzzing step 140 out of 1000 SELECT toLowCardinality(toFixedString('merge_expressions=0', 19)), 19 Got boring AST Fuzzing step 141 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19 Query succeeded, using this AST as a start Fuzzing step 142 out of 1000 SELECT 'merge_expressions=0', 19, 19 Query succeeded, using this AST as a start Fuzzing step 143 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 144 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 145 out of 1000 SELECT 'merge_expressions=0', 19, 19 WHERE toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, toLowCardinality(-2147483649, toNullable(100))), 'WITH 01091 AS id SELECT 1;') Error on processing query 'SELECT 'merge_expressions=0', 19, 19 WHERE toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, toLowCardinality(-2147483649, toNullable(100))), 'WITH 01091 AS id SELECT 1;')': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT 'merge_expressions=0', 19, 19 WHERE toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, toLowCardinality(-2147483649, toNullable(100))), 'WITH 01091 AS id SELECT 1;'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 146 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 147 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 148 out of 1000 SELECT 'merge_expressions=0', 19, 19 WHERE normalizeQuery(query) = normalizeQuery(toNullable(19), 'with 01091 as id select sum(number) from numbers_mt(1000000);') Error on processing query 'SELECT 'merge_expressions=0', 19, 19 WHERE normalizeQuery(query) = normalizeQuery(toNullable(19), 'with 01091 as id select sum(number) from numbers_mt(1000000);')': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT 'merge_expressions=0', 19, 19 WHERE normalizeQuery(query) = normalizeQuery(toNullable(19), 'with 01091 as id select sum(number) from numbers_mt(1000000);'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 149 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 150 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 151 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 152 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 153 out of 1000 SELECT 'merge_expressions=0', 19, 19 Got boring AST Fuzzing step 154 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 155 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality(19) Got boring AST Fuzzing step 156 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toLowCardinality(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toLowCardinality(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 (''merge_expressions=0''): 'merge_expressions=0', 19, toLowCardinality(19). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 157 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality(toUInt256(19)) Query succeeded, using this AST as a start Fuzzing step 158 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 159 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19, toLowCardinality(toUInt256(19)) Query succeeded, using this AST as a start Fuzzing step 160 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19, toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 161 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19, toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 162 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19, toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 163 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19, toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 164 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19, toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 165 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19, toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 166 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19, toLowCardinality(toUInt256(toNullable(toUInt256(19)))) Query succeeded, using this AST as a start Fuzzing step 167 out of 1000 SELECT toFixedString('merge_expressions=0', 19), 19, toLowCardinality(toUInt256(toNullable(toUInt256(19)))) Got boring AST Fuzzing step 168 out of 1000 SELECT toFixedString('merge_expressions=0', 19), materialize(19), toLowCardinality(toUInt256(toUInt256(19))) Query succeeded, using this AST as a start Fuzzing step 169 out of 1000 SELECT toFixedString('merge_expressions=0', 19), materialize(19), toLowCardinality(toUInt256(toUInt256(19))) Got boring AST Fuzzing step 170 out of 1000 SELECT toFixedString('merge_expressions=0'), materialize(19), toLowCardinality(toUInt256(toUInt256(19))) Error on processing query 'SELECT toFixedString('merge_expressions=0'), materialize(19), toLowCardinality(toUInt256(toUInt256(19)))': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope SELECT toFixedString('merge_expressions=0'), materialize(19), toLowCardinality(toUInt256(toUInt256(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 171 out of 1000 SELECT toFixedString('merge_expressions=0', 19), materialize(19), toLowCardinality(toUInt256(toUInt256(19))) Got boring AST Fuzzing step 172 out of 1000 SELECT toFixedString('merge_expressions=0', 19), materialize(19), toLowCardinality(toUInt256(toUInt256(19))) Got boring AST Fuzzing step 173 out of 1000 SELECT 'merge_expressions=0', 19, materialize(19), toLowCardinality(toUInt256(toUInt256(19))) Query succeeded, using this AST as a start Fuzzing step 174 out of 1000 SELECT 'merge_expressions=0', 19, materialize(19), toLowCardinality(toUInt256(toUInt256(19))) Got boring AST Fuzzing step 175 out of 1000 SELECT 'merge_expressions=0', 19, 19, toLowCardinality(toUInt256(toUInt256(19))) Query succeeded, using this AST as a start Fuzzing step 176 out of 1000 SELECT 'merge_expressions=0', 19, 19, toLowCardinality(toUInt256(toUInt256(19))) Got boring AST Fuzzing step 177 out of 1000 SELECT 'merge_expressions=0', 19, 19, toLowCardinality(toUInt256(19)) Query succeeded, using this AST as a start Fuzzing step 178 out of 1000 SELECT 'merge_expressions=0', 19, 19, toLowCardinality(toUInt256(19)) PREWHERE toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19) Error on processing query 'SELECT 'merge_expressions=0', 19, 19, toLowCardinality(toUInt256(19)) PREWHERE toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_30' in scope SELECT 'merge_expressions=0', 19, 19, toLowCardinality(toUInt256(19)) PREWHERE toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 179 out of 1000 SELECT 'merge_expressions=0', 19, 19, toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 180 out of 1000 SELECT 'merge_expressions=0', 19, 19, toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 181 out of 1000 SELECT 'merge_expressions=0', 19, 19, toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 182 out of 1000 SELECT toNullable('merge_expressions=0'), 19, 19, toLowCardinality(materialize(1), toUInt256(19)) Error on processing query 'SELECT toNullable('merge_expressions=0'), 19, 19, toLowCardinality(materialize(1), toUInt256(19))': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toNullable('merge_expressions=0'), 19, 19, toLowCardinality(materialize(1), toUInt256(19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 183 out of 1000 SELECT 'merge_expressions=0', 19, 19, toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 184 out of 1000 SELECT 'merge_expressions=0', 19, 19, toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 185 out of 1000 SELECT 'merge_expressions=0', 19, 19, toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 186 out of 1000 SELECT 'merge_expressions=0', 19, 19, toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 187 out of 1000 SELECT 'merge_expressions=0', 19, 19, toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 188 out of 1000 SELECT 'merge_expressions=0', 19, 19, toLowCardinality(toUInt256(19)) Got boring AST Fuzzing step 189 out of 1000 SELECT materialize('merge_expressions=0'), 19, 19, toUInt256(19) Query succeeded, using this AST as a start Fuzzing step 190 out of 1000 SELECT materialize('merge_expressions=0'), 19, 19, toUInt256(19) Got boring AST Fuzzing step 191 out of 1000 SELECT materialize('merge_expressions=0'), 19, 19, toUInt256(19) Got boring AST Fuzzing step 192 out of 1000 SELECT materialize('merge_expressions=0'), 19, 19, toUInt256(19) Got boring AST Fuzzing step 193 out of 1000 SELECT materialize('merge_expressions=0'), 19, 19, toUInt256(19) Got boring AST Fuzzing step 194 out of 1000 SELECT materialize('merge_expressions=0'), 19, toLowCardinality(toNullable(19)), toUInt256(19) Query succeeded, using this AST as a start Fuzzing step 195 out of 1000 SELECT 'merge_expressions=0', 19, toLowCardinality(toNullable(19)), toUInt256(19) Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 SELECT 'merge_expressions=0', 19, toNullable(19), toUInt256(19) Query succeeded, using this AST as a start Fuzzing step 197 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, toNullable(19), toUInt256(materialize(19)) Query succeeded, using this AST as a start Fuzzing step 198 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, toNullable(19), toUInt256(materialize(19)) Got boring AST Fuzzing step 199 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toNullable(19), toUInt256(materialize(19)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toNullable(19), toUInt256(materialize(19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 (''merge_expressions=0''): 'merge_expressions=0', 19, toNullable(19), toUInt256(materialize(19)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 200 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, toNullable(19), toUInt256(materialize(19)) Got boring AST Fuzzing step 201 out of 1000 SELECT 'merge_expressions=0', 19, 19, toUInt256(materialize(19)) Query succeeded, using this AST as a start Fuzzing step 202 out of 1000 SELECT 'merge_expressions=0', 19, 19, toUInt256(materialize(19)) Got boring AST Fuzzing step 203 out of 1000 SELECT 'merge_expressions=0', 19, 19, toUInt256(materialize(19)) Got boring AST Fuzzing step 204 out of 1000 SELECT 'merge_expressions=0', 19, 19, materialize(19) Query succeeded, using this AST as a start Fuzzing step 205 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 206 out of 1000 SELECT toLowCardinality('merge_expressions=0'), 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 207 out of 1000 SELECT toLowCardinality('merge_expressions=0'), 19, 19, 19 Got boring AST Fuzzing step 208 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 WHERE materialize(toLowCardinality(1)) Query succeeded, using this AST as a start Fuzzing step 209 out of 1000 SELECT 'merge_expressions=0', toNullable(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 210 out of 1000 SELECT 'merge_expressions=0', toNullable(19), 19, 19 WHERE equals(normalizeQuery(query), toUInt256(1), toFixedString('WITH 01091 AS id SELECT 1;', 26), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) Error on processing query 'SELECT 'merge_expressions=0', toNullable(19), 19, 19 WHERE equals(normalizeQuery(query), toUInt256(1), toFixedString('WITH 01091 AS id SELECT 1;', 26), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);')))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT 'merge_expressions=0', toNullable(19), 19, 19 WHERE equals(normalizeQuery(query), toUInt256(1), toFixedString('WITH 01091 AS id SELECT 1;', 26), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 211 out of 1000 SELECT 'merge_expressions=0', toNullable(19), 19, 19 Got boring AST Fuzzing step 212 out of 1000 SELECT 'merge_expressions=0', toNullable(19), 19, 19 Got boring AST Fuzzing step 213 out of 1000 SELECT 'merge_expressions=0', toNullable(19), 19, 19 Got boring AST Fuzzing step 214 out of 1000 SELECT 'merge_expressions=0', toNullable(19), 19, 19 Got boring AST Fuzzing step 215 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 216 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 217 out of 1000 SELECT 'merge_expressions=0', 19, toNullable(19), 19 Query succeeded, using this AST as a start Fuzzing step 218 out of 1000 SELECT 'merge_expressions=0', 19, toNullable(toLowCardinality(19)), 19 Query succeeded, using this AST as a start Fuzzing step 219 out of 1000 SELECT 'merge_expressions=0', 19, toNullable(toLowCardinality(19)), 19 WHERE toNullable(19, 19) Error on processing query 'SELECT 'merge_expressions=0', 19, toNullable(toLowCardinality(19)), 19 WHERE toNullable(19, 19)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 'merge_expressions=0', 19, toNullable(toLowCardinality(19)), 19 WHERE toNullable(19, 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 220 out of 1000 SELECT 'merge_expressions=0', 19, toNullable(toLowCardinality(19)), 19 Got boring AST Fuzzing step 221 out of 1000 SELECT 'merge_expressions=0', 19, toNullable(toLowCardinality(19)), 19 Got boring AST Fuzzing step 222 out of 1000 SELECT 'merge_expressions=0', 19, toNullable(19), 19 Query succeeded, using this AST as a start Fuzzing step 223 out of 1000 SELECT 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 224 out of 1000 SELECT 'merge_expressions=0', 19, toNullable(19), toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 225 out of 1000 EXPLAIN PIPELINE header = true SELECT 'merge_expressions=0', 19, toNullable(19), 19 Error on processing query 'EXPLAIN PIPELINE header = true SELECT 'merge_expressions=0', 19, toNullable(19), 19': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 226 out of 1000 SELECT 'merge_expressions=0', 19, toNullable(19), toLowCardinality(19) Got boring AST Fuzzing step 227 out of 1000 SELECT 'merge_expressions=0', 19, toNullable(19), toLowCardinality(19) Got boring AST Fuzzing step 228 out of 1000 SELECT 'merge_expressions=0', 19, toNullable(19), toLowCardinality(19) Got boring AST Fuzzing step 229 out of 1000 SELECT 'merge_expressions=0', 19, 19, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 230 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 231 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 232 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 233 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 234 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 235 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 236 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 237 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 238 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 239 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 240 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 241 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 242 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 243 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 GROUP BY current_database = currentDatabase(), 61, toNullable(26), toLowCardinality(19, 1), 1091, 19, greater(toLowCardinality(toUInt128(100)), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;' Error on processing query 'SELECT 'merge_expressions=0', 19, 19, 19 GROUP BY current_database = currentDatabase(), 61, toNullable(26), toLowCardinality(19, 1), 1091, 19, greater(toLowCardinality(toUInt128(100)), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'': Received from localhost:9000. DB::Exception: Positional argument number 61 is out of bounds. Expected in range [1, 4]. In scope SELECT 'merge_expressions=0', 19, 19, 19 GROUP BY current_database = currentDatabase(), 61, toNullable(26), toLowCardinality(19, 1), 1091, 19, greater(toLowCardinality(toUInt128(100)), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 244 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 245 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 246 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 247 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 248 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 249 out of 1000 SELECT 'merge_expressions=0', 19, materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 250 out of 1000 SELECT 'merge_expressions=0', 19, materialize(19), 19 Got boring AST Fuzzing step 251 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 252 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 253 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 254 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 255 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 256 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 257 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 258 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 259 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 260 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 261 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 262 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 263 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 264 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 265 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 266 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 267 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 268 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 269 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 270 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 271 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, 19, 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, 19, 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''merge_expressions=0''): 'merge_expressions=0', 19, 19, 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 272 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 273 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 274 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 275 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 276 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 277 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 278 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 279 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 280 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 281 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 282 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 283 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 284 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 285 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 286 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 287 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 288 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 289 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 290 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 291 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 292 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 293 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 294 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 295 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 296 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 297 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 298 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 GROUP BY toLowCardinality(toNullable(materialize(19)), 1091 AS id), uniqExact(toUInt256(1), thread_id) IGNORE NULLS Error on processing query 'SELECT 'merge_expressions=0', 19, 19, 19 GROUP BY toLowCardinality(toNullable(materialize(19)), 1091 AS id), uniqExact(toUInt256(1), thread_id) IGNORE NULLS': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 'merge_expressions=0', 19, 19, 19 GROUP BY toLowCardinality(toNullable(materialize(19)), 1091 AS id), uniqExact(toUInt256(1), thread_id) IGNORE NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 299 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 300 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 301 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 302 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 303 out of 1000 SELECT normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)), 'merge_expressions=0', toLowCardinality(19), 19, 19 Error on processing query 'SELECT normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)), 'merge_expressions=0', toLowCardinality(19), 19, 19': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'number' in scope SELECT normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)), 'merge_expressions=0', toLowCardinality(19), 19, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 304 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 305 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 306 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 307 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 308 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 309 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 310 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 311 out of 1000 SELECT 'merge_expressions=0', toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 312 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 313 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19, 19, 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19, 19, 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 44 (''merge_expressions=0''): 'merge_expressions=0', 19, 19, 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 314 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 315 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 316 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 317 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 318 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 319 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 320 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 321 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 322 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 323 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 324 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 326 out of 1000 EXPLAIN PIPELINE header = true SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Error on processing query 'EXPLAIN PIPELINE header = true SELECT 'merge_expressions=0', 19, toUInt128(19), 19': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 327 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 328 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toUInt128(19), 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''merge_expressions=0''): 'merge_expressions=0', 19, toUInt128(19), 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 329 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 330 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 331 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 332 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 333 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toUInt128(19), 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''merge_expressions=0''): 'merge_expressions=0', 19, toUInt128(19), 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 334 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 335 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 336 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toUInt128(19), 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''merge_expressions=0''): 'merge_expressions=0', 19, toUInt128(19), 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 337 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 338 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19, toUInt128(19), 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 44 (''merge_expressions=0''): 'merge_expressions=0', 19, toUInt128(19), 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 339 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 340 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 341 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 342 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 343 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 344 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 345 out of 1000 EXPLAIN ESTIMATE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 346 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toUInt128(19), 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''merge_expressions=0''): 'merge_expressions=0', 19, toUInt128(19), 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 347 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 348 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 349 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 350 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 351 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toUInt128(19), 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''merge_expressions=0''): 'merge_expressions=0', 19, toUInt128(19), 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 352 out of 1000 EXPLAIN AST SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 353 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 355 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 356 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 357 out of 1000 EXPLAIN QUERY TREE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 358 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 359 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 360 out of 1000 EXPLAIN SYNTAX SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 361 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toUInt128(19), 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''merge_expressions=0''): 'merge_expressions=0', 19, toUInt128(19), 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 362 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 363 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 364 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 365 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 366 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 367 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 368 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 369 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 370 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 WHERE normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);') Error on processing query 'SELECT 'merge_expressions=0', 19, toUInt128(19), 19 WHERE normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_30' in scope SELECT 'merge_expressions=0', 19, toUInt128(19), 19 WHERE normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 371 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 372 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 373 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 374 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 375 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 376 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 377 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 378 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 379 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'merge_expressions=0', 19, toUInt128(19), 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 44 (''merge_expressions=0''): 'merge_expressions=0', 19, toUInt128(19), 19. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 380 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 381 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(uniqExact(thread_id) > toUInt256(minus(toLowCardinality(65536, toNullable(12)), today(), 1), 2), 19), 19 Error on processing query 'SELECT 'merge_expressions=0', 19, toUInt128(uniqExact(thread_id) > toUInt256(minus(toLowCardinality(65536, toNullable(12)), today(), 1), 2), 19), 19': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 'merge_expressions=0', 19, toUInt128(uniqExact(thread_id) > toUInt256(minus(toLowCardinality(65536, toNullable(12)), today(), 1), 2), 19), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 382 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 383 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 384 out of 1000 EXPLAIN PIPELINE compact = true SELECT 'merge_expressions=0', toNullable(19), 19, 19 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 'merge_expressions=0', toNullable(19), 19, 19': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 385 out of 1000 EXPLAIN PIPELINE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 386 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 387 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 388 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 389 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 390 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 391 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'merge_expressions=0', 19, toUInt128(19), 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''merge_expressions=0''): 'merge_expressions=0', 19, toUInt128(19), 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 392 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 393 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 394 out of 1000 EXPLAIN SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 395 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 396 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 397 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), materialize(19) Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), materialize(19) Got boring AST Fuzzing step 399 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), materialize(19) Got boring AST Fuzzing step 400 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), materialize(19) Got boring AST Fuzzing step 401 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), materialize(19) GROUP BY toUInt256(toLowCardinality(100)), event_date, toLowCardinality(toNullable(toLowCardinality('merge_expressions=0'))) Error on processing query 'SELECT 'merge_expressions=0', 19, toUInt128(19), materialize(19) GROUP BY toUInt256(toLowCardinality(100)), event_date, toLowCardinality(toNullable(toLowCardinality('merge_expressions=0')))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'event_date' in scope SELECT 'merge_expressions=0', 19, toUInt128(19), materialize(19) GROUP BY toUInt256(toLowCardinality(100)), event_date, toLowCardinality(toNullable(toLowCardinality('merge_expressions=0'))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 402 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 404 out of 1000 SELECT (event_date >= (today() - toLowCardinality(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id), 'merge_expressions=0', 19, toUInt128(19), 19 Error on processing query 'SELECT (event_date >= (today() - toLowCardinality(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id), 'merge_expressions=0', 19, toUInt128(19), 19': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'event_date' in scope SELECT (event_date >= (today() - toLowCardinality(toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id), 'merge_expressions=0', 19, toUInt128(19), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 405 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 406 out of 1000 SELECT 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 407 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 408 out of 1000 SELECT 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 409 out of 1000 SELECT 'merge_expressions=0', 19, toNullable(19), 19 Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 SELECT 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 411 out of 1000 SELECT 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 412 out of 1000 SELECT 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 413 out of 1000 SELECT 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 414 out of 1000 SELECT toUInt256(toLowCardinality(100)), 'merge_expressions=0', 19, toNullable(19), 19 Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 SELECT toLowCardinality(100), 'merge_expressions=0', 19, toNullable(19), 19 Query succeeded, using this AST as a start Fuzzing step 416 out of 1000 SELECT 100, 'merge_expressions=0', 19, toNullable(19), 19 Query succeeded, using this AST as a start Fuzzing step 417 out of 1000 SELECT 100, 'merge_expressions=0', 19, toNullable(19), materialize(toUInt128(19)) WHERE normalizeQuery(1091, current_database, 'with 01091 as id select sum(number) from numbers_mt(1000000);') Error on processing query 'SELECT 100, 'merge_expressions=0', 19, toNullable(19), materialize(toUInt128(19)) WHERE normalizeQuery(1091, current_database, 'with 01091 as id select sum(number) from numbers_mt(1000000);')': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT 100, 'merge_expressions=0', 19, toNullable(19), materialize(toUInt128(19)) WHERE normalizeQuery(1091, current_database, 'with 01091 as id select sum(number) from numbers_mt(1000000);'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 418 out of 1000 SELECT 100, 'merge_expressions=0', 19, toNullable(toLowCardinality(toNullable(toNullable(1))), 19), 19 PREWHERE toLowCardinality(toUInt256(normalizeQuery(1091, current_database, 'with 01091 as id select sum(number) from numbers_mt(1000000);'), toNullable(toUInt256(19)))) Error on processing query 'SELECT 100, 'merge_expressions=0', 19, toNullable(toLowCardinality(toNullable(toNullable(1))), 19), 19 PREWHERE toLowCardinality(toUInt256(normalizeQuery(1091, current_database, 'with 01091 as id select sum(number) from numbers_mt(1000000);'), toNullable(toUInt256(19))))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 100, 'merge_expressions=0', 19, toNullable(toLowCardinality(toNullable(toNullable(1))), 19), 19 PREWHERE toLowCardinality(toUInt256(normalizeQuery(1091, current_database, 'with 01091 as id select sum(number) from numbers_mt(1000000);'), toNullable(toUInt256(19)))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 419 out of 1000 SELECT 100, 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 420 out of 1000 SELECT 100, 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 421 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 422 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, 19 PREWHERE toNullable(toLowCardinality(toNullable(toNullable(19), 100, 1091 AS id), toUInt256(2))) Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19, 19 PREWHERE toNullable(toLowCardinality(toNullable(toNullable(19), 100, 1091 AS id), toUInt256(2)))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 3, should be 1: In scope SELECT 100, 'merge_expressions=0', 19, 19, 19 PREWHERE toNullable(toLowCardinality(toNullable(toNullable(19), 100, 1091 AS id), toUInt256(2))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 423 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 424 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 425 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 426 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 427 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 428 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, toNullable(19) Query succeeded, using this AST as a start Fuzzing step 429 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, toNullable(19) Got boring AST Fuzzing step 430 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, toNullable(19) PREWHERE 65536 Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19, toNullable(19) PREWHERE 65536': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 431 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, toNullable(19) Got boring AST Fuzzing step 432 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, toNullable(19) Got boring AST Fuzzing step 433 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, toNullable(19) GROUP BY greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), MergeTree, thread_id != master_thread_id Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19, toNullable(19) GROUP BY greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), MergeTree, thread_id != master_thread_id': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT 100, 'merge_expressions=0', 19, 19, toNullable(19) GROUP BY greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), MergeTree, thread_id != master_thread_id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 434 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, toNullable(19) WHERE uniqExact(toUInt128(toNullable(toNullable(1))), thread_id) Error on processing query 'SELECT 100, 'merge_expressions=0', 19, 19, toNullable(19) WHERE uniqExact(toUInt128(toNullable(toNullable(1))), thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 100, 'merge_expressions=0', 19, 19, toNullable(19) WHERE uniqExact(toUInt128(toNullable(toNullable(1))), thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 435 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, toNullable(19) Got boring AST Fuzzing step 436 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, toNullable(19) Got boring AST Fuzzing step 437 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, toNullable(19) Got boring AST Fuzzing step 438 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, toNullable(19) Got boring AST Fuzzing step 439 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, toNullable(19) Got boring AST Fuzzing step 440 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 441 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, toUInt256(19) Query succeeded, using this AST as a start Fuzzing step 442 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, toUInt256(19) Got boring AST Fuzzing step 443 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT materialize(100), 'merge_expressions=0', 19, 19, toUInt256(19) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT materialize(100), 'merge_expressions=0', 19, 19, toUInt256(19)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 444 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, toUInt256(19) Got boring AST Fuzzing step 445 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, toUInt256(19) Got boring AST Fuzzing step 446 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, toUInt256(19) Got boring AST Fuzzing step 447 out of 1000 SELECT 100, 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 448 out of 1000 SELECT 100, materialize(toNullable(toUInt256(19))), 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 449 out of 1000 SELECT equals(1048575, current_database, event_date, currentDatabase()), 100, materialize(toNullable(19)), 'merge_expressions=0', 19, 19, 19 Error on processing query 'SELECT equals(1048575, current_database, event_date, currentDatabase()), 100, materialize(toNullable(19)), 'merge_expressions=0', 19, 19, 19': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT equals(1048575, current_database, event_date, currentDatabase()), 100, materialize(toNullable(19)), 'merge_expressions=0', 19, 19, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 450 out of 1000 SELECT toUInt128(materialize(100)), 100, materialize(toNullable(toUInt256(19))), 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 451 out of 1000 SELECT toUInt128(materialize(100)), 100, materialize(toNullable(toUInt256(toNullable(19)))), toLowCardinality('merge_expressions=0'), 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 452 out of 1000 SELECT toUInt128(materialize(100)), 100, materialize(toNullable(toUInt256(toNullable(19)))), toLowCardinality('merge_expressions=0'), 19, 19, 19 Got boring AST Fuzzing step 453 out of 1000 SELECT toUInt128(materialize(100)), 100, materialize(toUInt256(toNullable(19))), toLowCardinality('merge_expressions=0'), 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 454 out of 1000 SELECT toUInt128(materialize(100)), 100, materialize(toUInt256(toNullable(19))), 'merge_expressions=0', 19, 19, materialize(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 455 out of 1000 SELECT toUInt128(materialize(100)), 100, materialize(toUInt256(19)), 'merge_expressions=0', 19, 19, materialize(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 456 out of 1000 SELECT toUInt128(materialize(100)), 100, materialize(19), 'merge_expressions=0', 19, 19, materialize(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 457 out of 1000 SELECT toUInt128(materialize(100)), 100, 19, 'merge_expressions=0', 19, 19, materialize(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 458 out of 1000 SELECT toUInt128(100), 100, 19, 'merge_expressions=0', 19, 19, toNullable(19) Query succeeded, using this AST as a start Fuzzing step 459 out of 1000 SELECT toUInt128(100), 100, materialize(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Query succeeded, using this AST as a start Fuzzing step 460 out of 1000 SELECT toUInt128(100), 100, materialize(toNullable(toFixedString('merge_expressions=0')), 100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Error on processing query 'SELECT toUInt128(100), 100, materialize(toNullable(toFixedString('merge_expressions=0')), 100), 19, 'merge_expressions=0', 19, toNullable(19), 19': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope SELECT toUInt128(100), 100, materialize(toNullable(toFixedString('merge_expressions=0')), 100), 19, 'merge_expressions=0', 19, toNullable(19), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 461 out of 1000 SELECT toUInt128(100), 100, materialize(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 462 out of 1000 EXPLAIN AST SELECT toUInt128(100), 100, 100, 19, 'merge_expressions=0', 19, toNullable(19), 19 Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 EXPLAIN QUERY TREE SELECT toUInt128(100), 100, 100, 19, 'merge_expressions=0', 19, toNullable(19), 19 Query succeeded, using this AST as a start Fuzzing step 464 out of 1000 SELECT 100, 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 465 out of 1000 SELECT 100, 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 466 out of 1000 SELECT 100, 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 467 out of 1000 SELECT 100, 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 468 out of 1000 SELECT 100, 100, 100, materialize(19), 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 469 out of 1000 SELECT 100, 100, 100, materialize(19), 'merge_expressions=0', 19, 19, toNullable(19) Query succeeded, using this AST as a start Fuzzing step 470 out of 1000 SELECT 100, 100, 100, materialize(19), 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 471 out of 1000 SELECT 100, 100, 100, materialize(19), 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 472 out of 1000 SELECT 100, 100, 100, materialize(19), 'merge_expressions=0', toLowCardinality(toUInt256(19)), 19, 19 Query succeeded, using this AST as a start Fuzzing step 473 out of 1000 SELECT 100, materialize(toNullable(100)), 100, materialize(19), 'merge_expressions=0', toLowCardinality(toUInt256(toLowCardinality(materialize(toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1)), 19), 19)), 19, 19 WHERE a2 > materialize(toLowCardinality(100)) Error on processing query 'SELECT 100, materialize(toNullable(100)), 100, materialize(19), 'merge_expressions=0', toLowCardinality(toUInt256(toLowCardinality(materialize(toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1)), 19), 19)), 19, 19 WHERE a2 > materialize(toLowCardinality(100))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_30' in scope SELECT 100, materialize(toNullable(100)), 100, materialize(19), 'merge_expressions=0', toLowCardinality(toUInt256(toLowCardinality(materialize(toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1)), 19), 19)), 19, 19 WHERE a2 > materialize(toLowCardinality(100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 19. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 22. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 25. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 28. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 29. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 30. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 31. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a Fuzzing step 474 out of 1000 SELECT 100, 100, 100, materialize(19), 'merge_expressions=0', toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 475 out of 1000 SELECT 100, 100, 100, materialize(19), 'merge_expressions=0', toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 476 out of 1000 SELECT 100, 100, 100, materialize(19), 'merge_expressions=0', toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 477 out of 1000 SELECT 100, 100, 100, materialize(19), 'merge_expressions=0', toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 478 out of 1000 SELECT 100, 100, 100, materialize(19), 'merge_expressions=0', toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 479 out of 1000 SELECT 100, 100, 100, materialize(19), 'merge_expressions=0', toLowCardinality(19), 19, 19 WHERE test_nested_alias_idx__fuzz_27 Error on processing query 'SELECT 100, 100, 100, materialize(19), 'merge_expressions=0', toLowCardinality(19), 19, 19 WHERE test_nested_alias_idx__fuzz_27': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_27' in scope SELECT 100, 100, 100, materialize(19), 'merge_expressions=0', toLowCardinality(19), 19, 19 WHERE test_nested_alias_idx__fuzz_27. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 480 out of 1000 SELECT 100, 100, 100, materialize(19), 'merge_expressions=0', toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 481 out of 1000 SELECT 100, 100, 100, materialize(19), toNullable('merge_expressions=0'), 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 482 out of 1000 SELECT 100, 100, 100, materialize(19), toNullable('merge_expressions=0'), 19, 19, 19 Got boring AST Fuzzing step 483 out of 1000 SELECT 100, 100, 100, materialize(19), toNullable(toLowCardinality('merge_expressions=0')), 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 484 out of 1000 SELECT 100, 100, 100, materialize(19), toNullable(a2 > toLowCardinality(100), toLowCardinality('merge_expressions=0')), 19, 19, 19 Error on processing query 'SELECT 100, 100, 100, materialize(19), toNullable(a2 > toLowCardinality(100), toLowCardinality('merge_expressions=0')), 19, 19, 19': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT 100, 100, 100, materialize(19), toNullable(a2 > toLowCardinality(100), toLowCardinality('merge_expressions=0')), 19, 19, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 485 out of 1000 SELECT 100, 100, 100, materialize(19), toNullable(toLowCardinality('merge_expressions=0')), 19, 19, 19 Got boring AST Fuzzing step 486 out of 1000 SELECT 100, 100, 100, materialize(19), toLowCardinality('merge_expressions=0'), 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 SELECT 100, 100, 100, materialize(19), toLowCardinality('merge_expressions=0'), 19, 19, 19 Got boring AST Fuzzing step 488 out of 1000 SELECT 100, toNullable(toUInt128(1)), 100, 100, materialize(19), 'merge_expressions=0', 19, 19, 19 PREWHERE materialize(toLowCardinality(22)) Error on processing query 'SELECT 100, toNullable(toUInt128(1)), 100, 100, materialize(19), 'merge_expressions=0', 19, 19, 19 PREWHERE materialize(toLowCardinality(22))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 489 out of 1000 SELECT 100, 100, 100, materialize(19), toLowCardinality('merge_expressions=0'), 19, 19, 19 Got boring AST Fuzzing step 490 out of 1000 SELECT 100, 100, 100, 19, toLowCardinality(toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)), 'merge_expressions=0'), 19, 19, 19 Error on processing query 'SELECT 100, 100, 100, 19, toLowCardinality(toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)), 'merge_expressions=0'), 19, 19, 19': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_5' in scope SELECT 100, 100, 100, 19, toLowCardinality(toNullable(test_alias_skip_idx__fuzz_5, toLowCardinality(1)), 'merge_expressions=0'), 19, 19, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 491 out of 1000 SELECT 100, 100, 100, materialize(19), 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 492 out of 1000 SELECT 100, 100, 100, materialize(19), 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 493 out of 1000 SELECT 100, 100, 100, materialize(19), 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 494 out of 1000 SELECT 100, toNullable(100), 100, materialize(19), 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 495 out of 1000 SELECT 100, 100, toLowCardinality(100), materialize(19), toNullable('merge_expressions=0'), 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 496 out of 1000 SELECT 100, 100, toLowCardinality(100), materialize(19), toLowCardinality('default_settings', 16), toNullable('merge_expressions=0'), 19, 19, 19 Error on processing query 'SELECT 100, 100, toLowCardinality(100), materialize(19), toLowCardinality('default_settings', 16), toNullable('merge_expressions=0'), 19, 19, 19': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 100, 100, toLowCardinality(100), materialize(19), toLowCardinality('default_settings', 16), toNullable('merge_expressions=0'), 19, 19, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 497 out of 1000 SELECT toNullable(toUInt256(100)), 100, toLowCardinality(100), materialize(19), toNullable('merge_expressions=0'), 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 498 out of 1000 SELECT toNullable(toUInt256(100)), 100, toLowCardinality(100), materialize(toNullable(19)), 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 499 out of 1000 SELECT toNullable(toUInt256(100)), 100, toLowCardinality(100), materialize(toNullable(19)), 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 500 out of 1000 SELECT toNullable(toUInt256(100)), 100, toLowCardinality(100), materialize(toNullable(19)), 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 501 out of 1000 SELECT toNullable(toUInt256((current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)), 100)), 100, 100, materialize(19), 'merge_expressions=0', 19, 19, 19 Error on processing query 'SELECT toNullable(toUInt256((current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)), 100)), 100, 100, materialize(19), 'merge_expressions=0', 19, 19, 19': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT toNullable(toUInt256((current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)), 100)), 100, 100, materialize(19), 'merge_expressions=0', 19, 19, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 19. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 502 out of 1000 SELECT toNullable(toUInt256(100)), 100, 100, toNullable(19), 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 503 out of 1000 SELECT toNullable(toUInt256(100)), 100, 100, toNullable(19), 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 504 out of 1000 EXPLAIN PIPELINE header = true SELECT toNullable(100), 100, 100, toNullable(19), 'merge_expressions=0', 19, 19, 19 Error on processing query 'EXPLAIN PIPELINE header = true SELECT toNullable(100), 100, 100, toNullable(19), 'merge_expressions=0', 19, 19, 19': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 505 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 506 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 507 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 508 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 509 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 PREWHERE materialize(materialize(toInt256(1048576))) Error on processing query 'SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 PREWHERE materialize(materialize(toInt256(1048576)))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 510 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 511 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 512 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 513 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 514 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 515 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 GROUP BY materialize(1048576), normalizeQuery(toNullable(materialize(19)), 'with 01091 as id select sum(number) from numbers_mt(1000000);') Error on processing query 'SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 GROUP BY materialize(1048576), normalizeQuery(toNullable(materialize(19)), 'with 01091 as id select sum(number) from numbers_mt(1000000);')': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 GROUP BY materialize(1048576), normalizeQuery(toNullable(materialize(19)), 'with 01091 as id select sum(number) from numbers_mt(1000000);'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 516 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 517 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 518 out of 1000 SELECT toNullable(100), 100, 100, 19, toNullable('merge_expressions=0'), 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 519 out of 1000 SELECT toNullable(100), 100, 100, 19, toNullable('merge_expressions=0'), 19, 19, 19 Got boring AST Fuzzing step 520 out of 1000 SELECT toNullable(100), 100, 100, 19, toNullable('merge_expressions=0'), 19, 19, 19 Got boring AST Fuzzing step 521 out of 1000 SELECT toNullable(100), 100, 100, 19, toNullable('merge_expressions=0'), 19, 19, 19 WHERE current_database = currentDatabase() Error on processing query 'SELECT toNullable(100), 100, 100, 19, toNullable('merge_expressions=0'), 19, 19, 19 WHERE current_database = currentDatabase()': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT toNullable(100), 100, 100, 19, toNullable('merge_expressions=0'), 19, 19, 19 WHERE current_database = currentDatabase(). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 522 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 523 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 PREWHERE test_alias_skip_idx__fuzz_36 Error on processing query 'SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 PREWHERE test_alias_skip_idx__fuzz_36': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_36' in scope SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 PREWHERE test_alias_skip_idx__fuzz_36. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 524 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 525 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 526 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 527 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 528 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 529 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, toLowCardinality(19), 19 Query succeeded, using this AST as a start Fuzzing step 530 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, toLowCardinality(19), 19 Got boring AST Fuzzing step 531 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, toLowCardinality(19), 19 Got boring AST Fuzzing step 532 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, toLowCardinality(19), 19 Got boring AST Fuzzing step 533 out of 1000 SELECT toNullable(100), 100, 100, 19, 'merge_expressions=0', 19, toLowCardinality(19), 19 Got boring AST Fuzzing step 534 out of 1000 SELECT 100, 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 535 out of 1000 SELECT 100, 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 536 out of 1000 SELECT 100, 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 537 out of 1000 SELECT 100, 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 538 out of 1000 SELECT 100, 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 539 out of 1000 SELECT 100, 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 540 out of 1000 SELECT 100, 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 541 out of 1000 SELECT 100, 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 542 out of 1000 SELECT 100, 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 543 out of 1000 SELECT 100, toNullable(100), 100, 19, 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 544 out of 1000 SELECT 100, toNullable(100), 100, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 545 out of 1000 SELECT 100, 100, 100, 19, 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 546 out of 1000 SELECT 100, 100, 100, 19, 'merge_expressions=0', 19, toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 547 out of 1000 SELECT 100, 100, 100, 19, 'merge_expressions=0', 19, toUInt128(19), 19 Got boring AST Fuzzing step 548 out of 1000 SELECT 100, toUInt256(100), 100, 19, 'merge_expressions=0', 19, toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 549 out of 1000 SELECT 100, toUInt256(100), 100, 19, 'merge_expressions=0', toUInt256(19), toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 550 out of 1000 SELECT 100, toUInt256(toNullable(toNullable(100), toUInt128(1091)), toNullable(toUInt128(100))), 100, 19, 'merge_expressions=0', toUInt256(19), toUInt128(19), 19 Error on processing query 'SELECT 100, toUInt256(toNullable(toNullable(100), toUInt128(1091)), toNullable(toUInt128(100))), 100, 19, 'merge_expressions=0', toUInt256(19), toUInt128(19), 19': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 100, toUInt256(toNullable(toNullable(100), toUInt128(1091)), toNullable(toUInt128(100))), 100, 19, 'merge_expressions=0', toUInt256(19), toUInt128(19), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 551 out of 1000 SELECT 100, toUInt256(100), 100, 19, 'merge_expressions=0', toUInt256(19), toUInt128(19), 19 Got boring AST Fuzzing step 552 out of 1000 SELECT 100, toUInt256(100), 100, 19, 'merge_expressions=0', toUInt256(19), toUInt128(19), 19 Got boring AST Fuzzing step 553 out of 1000 SELECT 100, toUInt256(100), 100, 19, 'merge_expressions=0', toUInt256(materialize(19)), toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 554 out of 1000 SELECT 100, toUInt256(100), 100, toLowCardinality(19), 'merge_expressions=0', toUInt256(materialize(toLowCardinality(toNullable(toLowCardinality('merge_expressions=0'))), 19)), toUInt128(19), 19 Error on processing query 'SELECT 100, toUInt256(100), 100, toLowCardinality(19), 'merge_expressions=0', toUInt256(materialize(toLowCardinality(toNullable(toLowCardinality('merge_expressions=0'))), 19)), toUInt128(19), 19': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 100, toUInt256(100), 100, toLowCardinality(19), 'merge_expressions=0', toUInt256(materialize(toLowCardinality(toNullable(toLowCardinality('merge_expressions=0'))), 19)), toUInt128(19), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 555 out of 1000 SELECT 100, toUInt256(100), toNullable(100), 19, 'merge_expressions=0', toUInt256(materialize(19)), toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 556 out of 1000 SELECT 100, 100, toNullable(100), 19, 'merge_expressions=0', materialize(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 SELECT 100, 100, toNullable(100), 19, 'merge_expressions=0', materialize(19), 19, 19 Got boring AST Fuzzing step 558 out of 1000 SELECT 100, 100, toNullable(100), 19, toNullable('merge_expressions=0'), materialize(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 559 out of 1000 SELECT 100, toNullable(100), 19, toNullable('merge_expressions=0'), materialize(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 560 out of 1000 SELECT 100, toNullable(100), 19, 'merge_expressions=0', materialize(toNullable(toUInt256(19))), 19, 19 Query succeeded, using this AST as a start Fuzzing step 561 out of 1000 SELECT 100, toNullable(toLowCardinality(toNullable(100))), 19, 'merge_expressions=0', materialize(toNullable(toUInt256(19))), 19, 19 Query succeeded, using this AST as a start Fuzzing step 562 out of 1000 SELECT 100, toNullable(toLowCardinality(toNullable(100))), 19, 'merge_expressions=0', toNullable(toUInt256(19)), 19, 19 Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 SELECT 100, toNullable(toLowCardinality(toNullable(100))), 19, 'merge_expressions=0', toNullable(toUInt256(19)), 19, 19 Got boring AST Fuzzing step 564 out of 1000 SELECT 100, toNullable(toLowCardinality(100)), 19, 'merge_expressions=0', toUInt256(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 565 out of 1000 SELECT 100, toNullable(toLowCardinality(100)), 19, 'merge_expressions=0', toUInt256(19), toNullable(19), 19 Query succeeded, using this AST as a start Fuzzing step 566 out of 1000 SELECT 100, toNullable(toLowCardinality(100)), 19, 'merge_expressions=0', toUInt256(19), toNullable(19), 19 Got boring AST Fuzzing step 567 out of 1000 SELECT 100, toNullable(toLowCardinality(100)), 19, 'merge_expressions=0', toUInt256(19), toNullable(19), 19 Got boring AST Fuzzing step 568 out of 1000 SELECT 100, toNullable(toLowCardinality(100)), 19, 'merge_expressions=0', toUInt256(19), toNullable(19), 19 Got boring AST Fuzzing step 569 out of 1000 SELECT 100, toNullable(toLowCardinality(100)), 19, 'merge_expressions=0', toUInt256(19), toNullable(19), 19 Got boring AST Fuzzing step 570 out of 1000 SELECT 100, toNullable(toLowCardinality(100)), 19, 'merge_expressions=0', 19, toNullable(19), 19 Query succeeded, using this AST as a start Fuzzing step 571 out of 1000 SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 573 out of 1000 SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 574 out of 1000 SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 575 out of 1000 SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 576 out of 1000 SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 577 out of 1000 SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(uniqExact(thread_id) > materialize(toNullable(2)), 19), 19 Error on processing query 'SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(uniqExact(thread_id) > materialize(toNullable(2)), 19), 19': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(uniqExact(thread_id) > materialize(toNullable(2)), 19), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 578 out of 1000 SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 579 out of 1000 EXPLAIN SYNTAX SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Query succeeded, using this AST as a start Fuzzing step 580 out of 1000 EXPLAIN SYNTAX SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 581 out of 1000 EXPLAIN SYNTAX SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 582 out of 1000 EXPLAIN PIPELINE SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 EXPLAIN PIPELINE SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 584 out of 1000 EXPLAIN PIPELINE SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 585 out of 1000 EXPLAIN SYNTAX SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Query succeeded, using this AST as a start Fuzzing step 586 out of 1000 EXPLAIN ESTIMATE SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('100'): 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 588 out of 1000 EXPLAIN ESTIMATE SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(19), 19 Got boring AST Fuzzing step 589 out of 1000 SELECT 100, toNullable(100), 19, 'merge_expressions=0', 19, toNullable(toUInt128(19)), 19 Query succeeded, using this AST as a start Fuzzing step 590 out of 1000 SELECT 100, 19, 'merge_expressions=0', 19, toNullable(toUInt128(19)), 19 Query succeeded, using this AST as a start Fuzzing step 591 out of 1000 SELECT 100, 19, 'merge_expressions=0', toLowCardinality(toNullable(toUInt256(19))), toNullable(toUInt128(19)), 19 Query succeeded, using this AST as a start Fuzzing step 592 out of 1000 SELECT 100, 19, 'merge_expressions=0', toLowCardinality(toNullable(toUInt256(19))), toNullable(toUInt128(19)), 19 Got boring AST Fuzzing step 593 out of 1000 SELECT 100, 19, 'merge_expressions=0', toLowCardinality(toNullable(toUInt256(19))), toNullable(toUInt128(toNullable(19))), 19 Query succeeded, using this AST as a start Fuzzing step 594 out of 1000 SELECT 100, 19, 'merge_expressions=0', toLowCardinality(toNullable(toUInt256(19))), toNullable(toUInt128(toNullable(19))), 19 Got boring AST Fuzzing step 595 out of 1000 SELECT 100, 19, 'merge_expressions=0', toLowCardinality(a2 > toNullable(100), toUInt256(19)), toUInt128(toNullable(19)), 19 Error on processing query 'SELECT 100, 19, 'merge_expressions=0', toLowCardinality(a2 > toNullable(100), toUInt256(19)), toUInt128(toNullable(19)), 19': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT 100, 19, 'merge_expressions=0', toLowCardinality(a2 > toNullable(100), toUInt256(19)), toUInt128(toNullable(19)), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 596 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(toUInt256(19)), toNullable(toUInt128(toNullable(19))), 19 Query succeeded, using this AST as a start Fuzzing step 597 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(toUInt256(19)), toNullable(toUInt128(toNullable(19))), 19 Got boring AST Fuzzing step 598 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(toUInt256(19)), toNullable(toUInt128(toNullable(materialize(toUInt128(19))))), 19 Query succeeded, using this AST as a start Fuzzing step 599 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(toUInt256(19)), toUInt128(toNullable(materialize(toUInt128(19)))), 19 Query succeeded, using this AST as a start Fuzzing step 600 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(toUInt256(19)), toUInt128(toNullable(materialize(19))), toLowCardinality(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 601 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(toUInt256(19)), toUInt128(toNullable(materialize(19))), toLowCardinality(toNullable(19)) Got boring AST Fuzzing step 602 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(toUInt256(19)), toUInt128(toNullable(19)), toLowCardinality(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 603 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(19), toNullable(19), toLowCardinality(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(19), toNullable(19), toLowCardinality(toNullable(19)) Got boring AST Fuzzing step 605 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(19), 19, toLowCardinality(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 606 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(19), 19, toLowCardinality(toNullable(19)) Got boring AST Fuzzing step 607 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(19), 19, toLowCardinality(toNullable(19)) Got boring AST Fuzzing step 608 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(19), 19, toLowCardinality(toNullable(19)) WHERE test_alias_skip_idx__fuzz_43 Error on processing query 'SELECT 100, 19, 'merge_expressions=0', toNullable(19), 19, toLowCardinality(toNullable(19)) WHERE test_alias_skip_idx__fuzz_43': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_43' in scope SELECT 100, 19, 'merge_expressions=0', toNullable(19), 19, toLowCardinality(toNullable(19)) WHERE test_alias_skip_idx__fuzz_43. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 609 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(19), 19, toNullable(19) Query succeeded, using this AST as a start Fuzzing step 610 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(19), 19, toNullable(19) Got boring AST Fuzzing step 611 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 612 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(19), 19, 19 Got boring AST Fuzzing step 613 out of 1000 SELECT 100, 19, 'merge_expressions=0', toNullable(19), 19, 19 WHERE a2 > 100 Error on processing query 'SELECT 100, 19, 'merge_expressions=0', toNullable(19), 19, 19 WHERE a2 > 100': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT 100, 19, 'merge_expressions=0', toNullable(19), 19, 19 WHERE a2 > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 614 out of 1000 SELECT 100, 19, toUInt256(toLowCardinality(19)), 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 SELECT 100, 19, toUInt256(toLowCardinality(19)), 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 616 out of 1000 SELECT 100, 19, toUInt256(toLowCardinality(19)), 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 617 out of 1000 SELECT 100, 19, toUInt256(19), 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 618 out of 1000 SELECT 100, 19, toUInt256(19), 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 619 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 620 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 621 out of 1000 SELECT 100, 19, (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)), toNullable(19), 'merge_expressions=0', 19, 19, 19 Error on processing query 'SELECT 100, 19, (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)), toNullable(19), 'merge_expressions=0', 19, 19, 19': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT 100, 19, (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)), toNullable(19), 'merge_expressions=0', 19, 19, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 622 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 623 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 624 out of 1000 SELECT 100, 19, 19, materialize('merge_expressions=0'), 19, 19, 19 WHERE toFixedString('merge_expressions=0') Error on processing query 'SELECT 100, 19, 19, materialize('merge_expressions=0'), 19, 19, 19 WHERE toFixedString('merge_expressions=0')': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope SELECT 100, 19, 19, materialize('merge_expressions=0'), 19, 19, 19 WHERE toFixedString('merge_expressions=0'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 625 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 626 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19 Got boring AST Fuzzing step 627 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19 WHERE materialize(toNullable(100)) Query succeeded, using this AST as a start Fuzzing step 628 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, toNullable(19) Query succeeded, using this AST as a start Fuzzing step 629 out of 1000 SELECT 100, 19, 19, materialize('merge_expressions=0'), 19, 19, toNullable(19) Query succeeded, using this AST as a start Fuzzing step 630 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, toNullable(19) WHERE materialize(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 631 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19 WHERE materialize(uniqExact(materialize(1), thread_id) IGNORE NULLS, toNullable(19)) Error on processing query 'SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19 WHERE materialize(uniqExact(materialize(1), thread_id) IGNORE NULLS, toNullable(19))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19 WHERE materialize(uniqExact(materialize(1), thread_id) IGNORE NULLS, toNullable(19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 632 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, toNullable(19) WHERE materialize(toNullable(19)) Got boring AST Fuzzing step 633 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19 WHERE materialize(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 634 out of 1000 SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, materialize(toNullable(19)), 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 635 out of 1000 SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 636 out of 1000 SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), 19 WHERE materialize(19) Got boring AST Fuzzing step 637 out of 1000 SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), 19 WHERE materialize(19) Got boring AST Fuzzing step 638 out of 1000 SELECT 100, toNullable(toNullable(19)), 19, 'merge_expressions=0', 19, toNullable(19), 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 639 out of 1000 SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toNullable(toUInt128(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 640 out of 1000 SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(19) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 641 out of 1000 SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 642 out of 1000 SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 643 out of 1000 EXPLAIN QUERY TREE SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 644 out of 1000 EXPLAIN PIPELINE SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 645 out of 1000 EXPLAIN AST SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 646 out of 1000 EXPLAIN AST SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 647 out of 1000 EXPLAIN AST SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 648 out of 1000 EXPLAIN AST SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 649 out of 1000 EXPLAIN SYNTAX SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 EXPLAIN PIPELINE SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 651 out of 1000 EXPLAIN SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 652 out of 1000 EXPLAIN SYNTAX SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 653 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('100'): 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 654 out of 1000 EXPLAIN SYNTAX SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 655 out of 1000 EXPLAIN SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 656 out of 1000 EXPLAIN SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 657 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('100'): 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 658 out of 1000 EXPLAIN SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 659 out of 1000 EXPLAIN SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 660 out of 1000 EXPLAIN SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 661 out of 1000 EXPLAIN SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 662 out of 1000 EXPLAIN SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 663 out of 1000 EXPLAIN SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 664 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('100'): 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 665 out of 1000 EXPLAIN SYNTAX SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 666 out of 1000 EXPLAIN ESTIMATE SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 667 out of 1000 EXPLAIN ESTIMATE SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 668 out of 1000 EXPLAIN SYNTAX SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 669 out of 1000 EXPLAIN SYNTAX SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 670 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('100'): 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 671 out of 1000 EXPLAIN SYNTAX SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 672 out of 1000 EXPLAIN SYNTAX SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 673 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('100'): 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 674 out of 1000 EXPLAIN SYNTAX SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 675 out of 1000 EXPLAIN AST SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 676 out of 1000 EXPLAIN ESTIMATE SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 677 out of 1000 EXPLAIN ESTIMATE SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 678 out of 1000 EXPLAIN ESTIMATE SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 679 out of 1000 EXPLAIN ESTIMATE SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 680 out of 1000 EXPLAIN ESTIMATE SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 681 out of 1000 EXPLAIN SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 682 out of 1000 EXPLAIN AST SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 683 out of 1000 EXPLAIN AST SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 684 out of 1000 EXPLAIN ESTIMATE SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 685 out of 1000 EXPLAIN ESTIMATE SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 686 out of 1000 EXPLAIN ESTIMATE SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), toUInt128(materialize(19)) WHERE materialize(19) Got boring AST Fuzzing step 687 out of 1000 SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), materialize(19) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 688 out of 1000 SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), materialize(19) WHERE materialize(19) Got boring AST Fuzzing step 689 out of 1000 SELECT 100, toNullable(19), 19, 'merge_expressions=0', 19, toNullable(19), materialize(toUInt128(19)) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 690 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, toNullable(19), materialize(19) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 691 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, toNullable(19), materialize(19) WHERE materialize(19) Got boring AST Fuzzing step 692 out of 1000 SELECT 100, 19, 19, toNullable('merge_expressions=0'), 19, toNullable(19), materialize(19) WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 693 out of 1000 SELECT 100, 19, 19, toNullable('merge_expressions=0'), 19, toNullable(19), materialize(19) WHERE materialize(19) Got boring AST Fuzzing step 694 out of 1000 SELECT 100, 19, 19, toNullable('merge_expressions=0'), 19, toNullable(19), materialize(19) WHERE materialize(19) Got boring AST Fuzzing step 695 out of 1000 SELECT 100, 19, 19, toNullable('merge_expressions=0'), 19, toNullable(19), materialize(19) WHERE materialize(19) Got boring AST Fuzzing step 696 out of 1000 SELECT 100, 19, 19, toNullable(toFixedString('merge_expressions=0', 19)), 19, toNullable(19), 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 697 out of 1000 SELECT toLowCardinality(100), 19, 19, toNullable(toFixedString('merge_expressions=0', 19)), 19, toNullable(19), 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 698 out of 1000 SELECT toLowCardinality(100), 19, 19, toNullable(toFixedString('merge_expressions=0', 19)), 19, 19, 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 699 out of 1000 SELECT toLowCardinality(100), 19, 19, toNullable(toFixedString('merge_expressions=0', 19)), 19, 19, 19 WHERE materialize(19) Got boring AST Fuzzing step 700 out of 1000 SELECT toLowCardinality(100), 19, 19, toFixedString('merge_expressions=0', 19), 19, 19, 19 PREWHERE materialize(19) WHERE materialize(materialize(toUInt128(19))) Error on processing query 'SELECT toLowCardinality(100), 19, 19, toFixedString('merge_expressions=0', 19), 19, 19, 19 PREWHERE materialize(19) WHERE materialize(materialize(toUInt128(19)))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 701 out of 1000 SELECT toLowCardinality(100), materialize(toUInt128(19)), 19, toFixedString('merge_expressions=0', 19), 19, 19, 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 702 out of 1000 SELECT toLowCardinality(100), materialize(toUInt128(19)), 19, toFixedString('merge_expressions=0', 19), 19, 19, 19 WHERE materialize(19) Got boring AST Fuzzing step 703 out of 1000 SELECT toLowCardinality(100), materialize(toUInt128(19)), 19, toLowCardinality(toLowCardinality(19, 1), materialize(toLowCardinality(1091)), toLowCardinality(toNullable(19))), toFixedString('merge_expressions=0', 19), 19, 19, toLowCardinality(19) WHERE materialize(19) Error on processing query 'SELECT toLowCardinality(100), materialize(toUInt128(19)), 19, toLowCardinality(toLowCardinality(19, 1), materialize(toLowCardinality(1091)), toLowCardinality(toNullable(19))), toFixedString('merge_expressions=0', 19), 19, 19, toLowCardinality(19) WHERE materialize(19)': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(100), materialize(toUInt128(19)), 19, toLowCardinality(toLowCardinality(19, 1), materialize(toLowCardinality(1091)), toLowCardinality(toNullable(19))), toFixedString('merge_expressions=0', 19), 19, 19, toLowCardinality(19) WHERE materialize(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 704 out of 1000 SELECT toLowCardinality(100), materialize(toUInt128(19)), 19, toFixedString('merge_expressions=0', 19), 19, 19, 19 WHERE materialize(19) Got boring AST Fuzzing step 705 out of 1000 SELECT toLowCardinality(100), materialize(toUInt128(19)), 19, 'merge_expressions=0', 19, 19, 19, 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 706 out of 1000 SELECT toLowCardinality(100), materialize(toUInt128(19)), 19, 'merge_expressions=0', 19, 19, 19, 19 WHERE materialize(19) Got boring AST Fuzzing step 707 out of 1000 SELECT toLowCardinality(100), toUInt128(19), 19, 'merge_expressions=0', 19, 19, 19, 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 708 out of 1000 SELECT 100, toUInt128(toNullable(19)), 19, 'merge_expressions=0', 19, 19, 19, 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 709 out of 1000 SELECT 100, toUInt128(19), 19, 'merge_expressions=0', 19, 19, 19, 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 710 out of 1000 SELECT 100, toUInt128(19), 19, 'merge_expressions=0', 19, 19, 19, 19 WHERE materialize(19) Got boring AST Fuzzing step 711 out of 1000 SELECT 100, toUInt128(19), 19, toNullable('merge_expressions=0'), 19, 19, 19, 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 712 out of 1000 SELECT 100, toUInt128(19), 19, toNullable('merge_expressions=0'), 19, 19, 19, 19 WHERE materialize(19) Got boring AST Fuzzing step 713 out of 1000 SELECT 100, toUInt128(19), 19, toNullable('merge_expressions=0'), 19, 19, 19, 19 WHERE materialize(19) Got boring AST Fuzzing step 714 out of 1000 SELECT 100, toUInt128(19), 19, toNullable('merge_expressions=0'), 19, 19, 19, 19 WHERE materialize(19) Got boring AST Fuzzing step 715 out of 1000 SELECT 100, toUInt128(19), 19, toNullable('merge_expressions=0'), 19, 19, 19, 19 WHERE materialize(19) Got boring AST Fuzzing step 716 out of 1000 SELECT 100, 19, 19, toNullable('merge_expressions=0'), 19, 19, 19, 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 717 out of 1000 SELECT 100, 19, 19, toNullable('merge_expressions=0'), 19, 19, 19, 19 WHERE materialize(19) Got boring AST Fuzzing step 718 out of 1000 SELECT 100, 19, 19, toNullable(toFixedString('merge_expressions=0', 19)), 19, 19, 19, 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 719 out of 1000 SELECT 100, 19, 19, toFixedString('merge_expressions=0', 19), 19, 19, 19, 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 720 out of 1000 SELECT 100, 19, 19, toFixedString(toNullable(toFixedString('merge_expressions=0', 19)), 19), 19, 19, 19, 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 721 out of 1000 SELECT 100, 19, toUInt256(19), toFixedString(toNullable(toFixedString('merge_expressions=0', 19)), 19), 19, 19, 19, 19 WHERE materialize(19) Query succeeded, using this AST as a start Fuzzing step 722 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT 100, 19, 19, toFixedString(toNullable(toFixedString('merge_expressions=0', 19)), 19), 19, 19, 19, 19 WHERE materialize(19) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT 100, 19, 19, toFixedString(toNullable(toFixedString('merge_expressions=0', 19)), 19), 19, 19, 19, 19 WHERE materialize(19)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 723 out of 1000 SELECT 100, 19, 19, toFixedString(toNullable('merge_expressions=0', 19), 19), 19, 19, toUInt256(19), 19 WHERE materialize(19) Error on processing query 'SELECT 100, 19, 19, toFixedString(toNullable('merge_expressions=0', 19), 19), 19, 19, toUInt256(19), 19 WHERE materialize(19)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 100, 19, 19, toFixedString(toNullable('merge_expressions=0', 19), 19), 19, 19, toUInt256(19), 19 WHERE materialize(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 724 out of 1000 SELECT 100, 19, toUInt256(19), toNullable(toFixedString('merge_expressions=0', 19)), 19, 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 725 out of 1000 SELECT 100, 19, toUInt256(19), toNullable('merge_expressions=0', 19), materialize(19), 19, 19, 19, 19 Error on processing query 'SELECT 100, 19, toUInt256(19), toNullable('merge_expressions=0', 19), materialize(19), 19, 19, 19, 19': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 100, 19, toUInt256(19), toNullable('merge_expressions=0', 19), materialize(19), 19, 19, 19, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 726 out of 1000 SELECT 100, 19, toUInt256(19), toNullable(toFixedString('merge_expressions=0', 19)), 19, 19, 19, 19, 19 Got boring AST Fuzzing step 727 out of 1000 SELECT 100, 19, toUInt256(19), toNullable(toFixedString('merge_expressions=0', 19)), 19, 19, 19, 19, 19 Got boring AST Fuzzing step 728 out of 1000 SELECT toNullable(100), 19, toUInt256(toNullable(19)), toFixedString('merge_expressions=0', 19), 19, 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 729 out of 1000 SELECT toNullable(100), 19, toNullable(19), 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 730 out of 1000 SELECT toNullable(100), 19, toNullable(19), 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Got boring AST Fuzzing step 731 out of 1000 SELECT toNullable(100), 19, toNullable(19), 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Got boring AST Fuzzing step 732 out of 1000 SELECT 100, 19, toNullable(19), 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 733 out of 1000 SELECT 100, 19, toNullable(19), 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Got boring AST Fuzzing step 734 out of 1000 SELECT 100, 19, toNullable(19), 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Got boring AST Fuzzing step 735 out of 1000 SELECT 100, 19, toNullable(19), 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Got boring AST Fuzzing step 736 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 737 out of 1000 EXPLAIN PIPELINE SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 738 out of 1000 EXPLAIN PIPELINE SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Got boring AST Fuzzing step 739 out of 1000 EXPLAIN PIPELINE SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Got boring AST Fuzzing step 740 out of 1000 EXPLAIN PIPELINE SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Got boring AST Fuzzing step 741 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, toUInt128(19), 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 742 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, toUInt128(19), 19, 19, 19, 19 Got boring AST Fuzzing step 743 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19, 19, 19, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 744 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19, 19, 19, toLowCardinality(19) Got boring AST Fuzzing step 745 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19, 19, 19, toLowCardinality(19) Got boring AST Fuzzing step 746 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', 19, 19, 19, 19, 19, toLowCardinality(19) Got boring AST Fuzzing step 747 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', materialize(toLowCardinality(19)), 19, 19, 19, materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 748 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', materialize(toLowCardinality(19)), 19, 19, 19, materialize(19), 19 Got boring AST Fuzzing step 749 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', toLowCardinality(19), 19, 19, 19, materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 750 out of 1000 SELECT 100, 19, 19, toNullable('merge_expressions=0'), toLowCardinality(19), 19, 19, toLowCardinality(19), materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 751 out of 1000 SELECT 100, 19, 19, toNullable('merge_expressions=0'), toLowCardinality(19), 19, 19, 19, materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 752 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', toLowCardinality(19), 19, 19, 19, materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 753 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', toLowCardinality(19), 19, 19, toUInt128(19), materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 754 out of 1000 SELECT 100, materialize(19), 19, 'merge_expressions=0', toLowCardinality(19), 19, 19, 19, materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 755 out of 1000 SELECT 100, materialize(19), 19, 'merge_expressions=0', 19, 19, 19, 19, materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 756 out of 1000 SELECT 100, materialize(19), 19, 'merge_expressions=0', 19, 19, 19, 19, materialize(19), 19 Got boring AST Fuzzing step 757 out of 1000 SELECT 100, materialize(19), 19, 'merge_expressions=0', 19, 19, 19, 19, materialize(19), 19 Got boring AST Fuzzing step 758 out of 1000 EXPLAIN PIPELINE SELECT 100, materialize(19), 19, 'merge_expressions=0', 19, 19, 19, 19, materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 759 out of 1000 EXPLAIN SYNTAX SELECT 100, materialize(19), 19, 'merge_expressions=0', 19, 19, 19, 19, materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 760 out of 1000 EXPLAIN ESTIMATE SELECT 100, materialize(19), 19, 'merge_expressions=0', 19, 19, 19, 19, materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 761 out of 1000 EXPLAIN ESTIMATE SELECT 100, materialize(19), 19, 'merge_expressions=0', 19, 19, 19, 19, materialize(19), 19 Got boring AST Fuzzing step 762 out of 1000 EXPLAIN ESTIMATE SELECT 100, materialize(19), 19, 'merge_expressions=0', 19, 19, 19, 19, materialize(19), 19 Got boring AST Fuzzing step 763 out of 1000 EXPLAIN PIPELINE SELECT 100, materialize(19), 19, 'merge_expressions=0', 19, 19, 19, 19, materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 764 out of 1000 EXPLAIN SELECT 100, materialize(19), 19, 'merge_expressions=0', 19, 19, 19, 19, materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 765 out of 1000 EXPLAIN SELECT 100, materialize(19), 19, 'merge_expressions=0', 19, 19, 19, 19, materialize(19), 19 Got boring AST Fuzzing step 766 out of 1000 EXPLAIN SELECT 100, materialize(19), 19, 'merge_expressions=0', 19, 19, 19, 19, materialize(19), 19 Got boring AST Fuzzing step 767 out of 1000 SELECT 100, materialize(19), 19, 'merge_expressions=0', 19, 19, 19, 19, materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 768 out of 1000 SELECT 100, materialize(19), 19, 'merge_expressions=0', 19, 19, 19, 19, materialize(19), 19 Got boring AST Fuzzing step 769 out of 1000 SELECT toNullable(toUInt128(100)), materialize(19), 19, 'merge_expressions=0', 19, 19, 19, toLowCardinality(19), materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 770 out of 1000 SELECT toNullable(toUInt128(100)), materialize(19), 19, 'merge_expressions=0', 19, 19, 19, toLowCardinality(19), materialize(19), 19 Got boring AST Fuzzing step 771 out of 1000 SELECT toNullable(toUInt128(100)), materialize(19), 19, 'merge_expressions=0', 19, 19, 19, 19, materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 772 out of 1000 SELECT toNullable(toUInt128(100)), materialize(19), 19, 'merge_expressions=0', 19, 19, 19, 19, materialize(19), 19 Got boring AST Fuzzing step 773 out of 1000 SELECT toNullable(toUInt128(100)), materialize(19), 19, 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 774 out of 1000 SELECT toNullable(toUInt128(100)), materialize(19), 19, 'merge_expressions=0', 19, 19, 19, materialize(19), 19, 19 GROUP BY materialize(toNullable(19)), greaterOrEquals(today() - toLowCardinality(1)), toLowCardinality(toLowCardinality(19, toLowCardinality(1)), materialize(toLowCardinality(1091)), toNullable(19)), (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)) Error on processing query 'SELECT toNullable(toUInt128(100)), materialize(19), 19, 'merge_expressions=0', 19, 19, 19, materialize(19), 19, 19 GROUP BY materialize(toNullable(19)), greaterOrEquals(today() - toLowCardinality(1)), toLowCardinality(toLowCardinality(19, toLowCardinality(1)), materialize(toLowCardinality(1091)), toNullable(19)), (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1))': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope SELECT toNullable(toUInt128(100)), materialize(19), 19, 'merge_expressions=0', 19, 19, 19, materialize(19), 19, 19 GROUP BY materialize(toNullable(19)), greaterOrEquals(today() - toLowCardinality(1)), toLowCardinality(toLowCardinality(19, toLowCardinality(1)), materialize(toLowCardinality(1091)), toNullable(19)), (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (event_date >= (today() - 1)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 775 out of 1000 EXPLAIN PIPELINE SELECT toNullable(100), materialize(19), 19, 'merge_expressions=0', 19, materialize(19), 19, 19, materialize(toNullable(19)), 19 Query succeeded, using this AST as a start Fuzzing step 776 out of 1000 EXPLAIN PIPELINE SELECT toNullable(100), materialize(19), 19, 'merge_expressions=0', 19, materialize(19), 19, 19, materialize(toNullable(19)), 19 Got boring AST Fuzzing step 777 out of 1000 EXPLAIN PIPELINE SELECT toNullable(100), materialize(19), 19, 'merge_expressions=0', 19, materialize(19), 19, 19, materialize(toNullable(19)), 19 Got boring AST Fuzzing step 778 out of 1000 EXPLAIN PIPELINE SELECT toNullable(100), materialize(19), 19, 'merge_expressions=0', 19, materialize(19), 19, 19, materialize(toNullable(19)), 19 Got boring AST Fuzzing step 779 out of 1000 SELECT toNullable(100), materialize(19), 19, 'merge_expressions=0', 19, materialize(19), 19, 19, materialize(toNullable(19)), 19 Query succeeded, using this AST as a start Fuzzing step 780 out of 1000 SELECT toNullable(100), materialize(19), 19, 'merge_expressions=0', 19, materialize(19), toNullable(19), 19, materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 781 out of 1000 SELECT toNullable(100), materialize(19), 19, 'merge_expressions=0', 19, materialize(19), 19, 19, materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 782 out of 1000 SELECT toNullable(100), materialize(19), 19, 'merge_expressions=0', 19, materialize(19), 19, 19, materialize(19), 19 Got boring AST Fuzzing step 783 out of 1000 SELECT toNullable(100), materialize(19), 19, 'merge_expressions=0', 19, materialize(19), 19, 19, materialize(19), 19 Got boring AST Fuzzing step 784 out of 1000 SELECT 100, materialize(19), 19, 'merge_expressions=0', 19, materialize(19), 19, 19, materialize(19), 19 Query succeeded, using this AST as a start Fuzzing step 785 out of 1000 SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 786 out of 1000 EXPLAIN PIPELINE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 787 out of 1000 EXPLAIN PIPELINE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 788 out of 1000 EXPLAIN PIPELINE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 789 out of 1000 EXPLAIN PIPELINE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 790 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 47 ('100'): 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 791 out of 1000 EXPLAIN SYNTAX SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 792 out of 1000 EXPLAIN SYNTAX SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 793 out of 1000 EXPLAIN ESTIMATE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('100'): 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 795 out of 1000 EXPLAIN PIPELINE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 796 out of 1000 EXPLAIN AST SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 797 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('100'): 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 798 out of 1000 EXPLAIN ESTIMATE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 799 out of 1000 EXPLAIN SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 EXPLAIN SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 801 out of 1000 EXPLAIN ESTIMATE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 802 out of 1000 EXPLAIN ESTIMATE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 803 out of 1000 EXPLAIN AST SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 804 out of 1000 EXPLAIN PIPELINE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 805 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 47 ('100'): 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 806 out of 1000 EXPLAIN SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 807 out of 1000 EXPLAIN SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 808 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('100'): 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 809 out of 1000 EXPLAIN SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 810 out of 1000 EXPLAIN AST SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 811 out of 1000 EXPLAIN AST SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 812 out of 1000 EXPLAIN AST SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 813 out of 1000 EXPLAIN SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 814 out of 1000 EXPLAIN SYNTAX SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 815 out of 1000 EXPLAIN AST SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 816 out of 1000 EXPLAIN AST SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 817 out of 1000 EXPLAIN ESTIMATE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 818 out of 1000 EXPLAIN AST SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 819 out of 1000 SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 WHERE minus(materialize(toLowCardinality(toNullable(12))), today(), materialize(toNullable(toNullable(1)))) Error on processing query 'SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 WHERE minus(materialize(toLowCardinality(toNullable(12))), today(), materialize(toNullable(toNullable(1))))': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 WHERE minus(materialize(toLowCardinality(toNullable(12))), today(), materialize(toNullable(toNullable(1)))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 820 out of 1000 EXPLAIN ESTIMATE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 821 out of 1000 EXPLAIN ESTIMATE SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 822 out of 1000 EXPLAIN AST SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 823 out of 1000 EXPLAIN AST SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 824 out of 1000 EXPLAIN AST SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 825 out of 1000 EXPLAIN AST SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 826 out of 1000 EXPLAIN AST SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 827 out of 1000 EXPLAIN AST SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 828 out of 1000 EXPLAIN AST SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', 19, materialize(19), 19, 19, toUInt256(19), 19 Got boring AST Fuzzing step 829 out of 1000 SELECT 100, materialize(toNullable(19)), toNullable(19), 'merge_expressions=0', toLowCardinality(toNullable(toUInt128(19))), materialize(toNullable(19)), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 830 out of 1000 SELECT 100, materialize(19), toNullable(19), 'merge_expressions=0', toLowCardinality(toNullable(19)), materialize(toNullable(19)), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 831 out of 1000 SELECT 100, materialize(19), 19, 'merge_expressions=0', toLowCardinality(toNullable(19)), materialize(toNullable(19)), 19, 19, toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 832 out of 1000 SELECT 100, materialize(19), 19, 'merge_expressions=0', toLowCardinality(toNullable(toNullable(toUInt256(19)))), materialize(toNullable(19)), 19, toLowCardinality(19), toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 833 out of 1000 SELECT 100, materialize(19), 19, 'merge_expressions=0', toLowCardinality(toNullable(toUInt256(19))), materialize(toNullable(19)), 19, toLowCardinality(19), toUInt256(19), 19 Query succeeded, using this AST as a start Fuzzing step 834 out of 1000 SELECT 100, materialize(19), 19, 'merge_expressions=0', toNullable(toUInt256(19)), materialize(toNullable(19)), materialize(19), toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 835 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', toNullable(toUInt256(19)), materialize(toNullable(19)), materialize(19), toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 836 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', toNullable(toUInt256(19)), materialize(toNullable(19)), materialize(19), toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 837 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', toNullable(toUInt256(19)), materialize(toNullable(19)), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 838 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', toNullable(toUInt256(19)), materialize(toNullable(19)), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 839 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', toNullable(toUInt256(toNullable(19))), materialize(toNullable(19)), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 840 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', toNullable(toUInt256(toNullable(19))), materialize(toNullable(19)), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 841 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', toNullable(toUInt256(19)), materialize(toNullable(19)), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 842 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', toUInt256(19), materialize(toNullable(19)), 19, 19, 19, 19 WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);') Error on processing query 'SELECT 100, 19, 19, 'merge_expressions=0', toUInt256(19), materialize(toNullable(19)), 19, 19, 19, 19 WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT 100, 19, 19, 'merge_expressions=0', toUInt256(19), materialize(toNullable(19)), 19, 19, 19, 19 WHERE normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 843 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', toUInt256(19), toNullable(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 844 out of 1000 SELECT 100, 19, 19, 'merge_expressions=0', toUInt256(19), 19, 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 845 out of 1000 SELECT 19, 19, 'merge_expressions=0', toUInt256(19), 19, materialize(19), toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 846 out of 1000 SELECT 19, 19, 'merge_expressions=0', toUInt256(19), 19, 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 847 out of 1000 SELECT 19, toLowCardinality(toUInt128(19)), 'merge_expressions=0', toUInt256(19), 19, 19, toLowCardinality(materialize(toNullable(19))), 19, toNullable(19) Query succeeded, using this AST as a start Fuzzing step 848 out of 1000 SELECT 19, toLowCardinality(toUInt128(19)), 'merge_expressions=0', toUInt256(19), 19, 19, toLowCardinality(materialize(toNullable(19))), materialize(19), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 849 out of 1000 SELECT 19, toLowCardinality(toUInt128(19)), 'merge_expressions=0', toUInt256(19), 19, 19, materialize(toNullable(19)), 19, toNullable(19) Query succeeded, using this AST as a start Fuzzing step 850 out of 1000 SELECT 19, toLowCardinality(toUInt128(19)), 'merge_expressions=0', toUInt256(19), 19, 19, materialize(toNullable(toLowCardinality(19))), 19, toNullable(19) Query succeeded, using this AST as a start Fuzzing step 851 out of 1000 SELECT 19, toLowCardinality(toUInt128(19)), 'merge_expressions=0', toUInt256(19), 19, 19, materialize(toNullable(toLowCardinality(19))), 19, toNullable(19) Got boring AST Fuzzing step 852 out of 1000 SELECT 19, toLowCardinality(toUInt128(19)), 'merge_expressions=0', toUInt256(19), 19, 19, materialize(toNullable(toLowCardinality(19))), 19, 19 Query succeeded, using this AST as a start Fuzzing step 853 out of 1000 SELECT 19, toLowCardinality(toUInt128(19)), 'merge_expressions=0', toUInt256(19), 19, 19, materialize(toNullable(toLowCardinality(19))), 19, 19 Got boring AST Fuzzing step 854 out of 1000 SELECT 19, toLowCardinality(19), 'merge_expressions=0', toUInt256(19), 19, 19, materialize(toNullable(toLowCardinality(19))), 19, 19 Query succeeded, using this AST as a start Fuzzing step 855 out of 1000 SELECT 19, toLowCardinality(19), 'merge_expressions=0', 19, 19, 19, materialize(toNullable(19)), 19, 19 Query succeeded, using this AST as a start Fuzzing step 856 out of 1000 SELECT 19, 19, 'merge_expressions=0', 19, 19, 19, materialize(toNullable(19)), 19, 19 Query succeeded, using this AST as a start Fuzzing step 857 out of 1000 SELECT 19, 19, 'merge_expressions=0', 19, 19, 19, materialize(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 858 out of 1000 SELECT 19, toNullable(19), 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 859 out of 1000 SELECT 19, toNullable(19), 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Got boring AST Fuzzing step 860 out of 1000 SELECT 19, toNullable(19), 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Got boring AST Fuzzing step 861 out of 1000 SELECT 19, toNullable(19), 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Got boring AST Fuzzing step 862 out of 1000 SELECT 19, toNullable(19), 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Got boring AST Fuzzing step 863 out of 1000 SELECT 19, 19, 'merge_expressions=0', 19, 19, 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 864 out of 1000 SELECT 19, 19, 'merge_expressions=0', toNullable(19), 19, materialize(19), materialize(toLowCardinality(19)), 19, 19 Query succeeded, using this AST as a start Fuzzing step 865 out of 1000 SELECT 19, 19, 'merge_expressions=0', toNullable(19), 19, materialize(19), materialize(toLowCardinality(19)), 19, materialize(19) Query succeeded, using this AST as a start Fuzzing step 866 out of 1000 SELECT 19, 19, 'merge_expressions=0', toNullable(19), 19, materialize(19), materialize(toLowCardinality(19)), 19, 19 Query succeeded, using this AST as a start Fuzzing step 867 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19, 19, 'merge_expressions=0', toNullable(19), 19, materialize(19), materialize(toLowCardinality(19)), 19, 19 GROUP BY test_nested_alias_idx__fuzz_26, uniqExact(materialize(100), thread_id) > 2, materialize(toLowCardinality(100)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19, 19, 'merge_expressions=0', toNullable(19), 19, materialize(19), materialize(toLowCardinality(19)), 19, 19 GROUP BY test_nested_alias_idx__fuzz_26, uniqExact(materialize(100), thread_id) > 2, materialize(toLowCardinality(100))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('19'): 19, 19, 'merge_expressions=0', toNullable(19), 19, materialize(19), materialize(toLowCardinality(19. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 868 out of 1000 SELECT 19, 19, 'merge_expressions=0', toNullable(toNullable(19)), 19, 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 869 out of 1000 SELECT 19, 19, 'merge_expressions=0', toNullable(19), 19, 19, toLowCardinality(19), 19, 19 GROUP BY test_nested_alias_idx__fuzz_19 Error on processing query 'SELECT 19, 19, 'merge_expressions=0', toNullable(19), 19, 19, toLowCardinality(19), 19, 19 GROUP BY test_nested_alias_idx__fuzz_19': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_19' in scope SELECT 19, 19, 'merge_expressions=0', toNullable(19), 19, 19, toLowCardinality(19), 19, 19 GROUP BY test_nested_alias_idx__fuzz_19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 870 out of 1000 SELECT 19, 19, 'merge_expressions=0', toNullable(toNullable(19)), 19, 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 871 out of 1000 SELECT 19, 19, 'merge_expressions=0', toNullable(19), 19, 19, toLowCardinality(19), 19, 19 WHERE a > toNullable(100) Error on processing query 'SELECT 19, 19, 'merge_expressions=0', toNullable(19), 19, 19, toLowCardinality(19), 19, 19 WHERE a > toNullable(100)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope SELECT 19, 19, 'merge_expressions=0', toNullable(19), 19, 19, toLowCardinality(19), 19, 19 WHERE a > toNullable(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 872 out of 1000 SELECT 19, 19, 'merge_expressions=0', toNullable('0', toNullable(19)), 19, 19, toLowCardinality(19), 19, 19 Error on processing query 'SELECT 19, 19, 'merge_expressions=0', toNullable('0', toNullable(19)), 19, 19, toLowCardinality(19), 19, 19': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 19, 19, 'merge_expressions=0', toNullable('0', toNullable(19)), 19, 19, toLowCardinality(19), 19, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 873 out of 1000 SELECT 19, 19, materialize('merge_expressions=0'), toNullable(19), 19, 19, toLowCardinality(19), toUInt128(19), 19 Query succeeded, using this AST as a start Fuzzing step 874 out of 1000 SELECT 19, 19, materialize('merge_expressions=0'), toNullable(19), 19, 19, toLowCardinality(19), toUInt128(19), 19 Got boring AST Fuzzing step 875 out of 1000 SELECT 19, 19, materialize('merge_expressions=0'), toNullable(19), 19, 19, toLowCardinality(19), toUInt128(19), 19 Got boring AST Fuzzing step 876 out of 1000 SELECT 19, 19, materialize('merge_expressions=0'), toNullable(19), 19, 19, toLowCardinality(19), toUInt128(19), 19 PREWHERE materialize('nested_alias') Error on processing query 'SELECT 19, 19, materialize('merge_expressions=0'), toNullable(19), 19, 19, toLowCardinality(19), toUInt128(19), 19 PREWHERE materialize('nested_alias')': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: String. In query SELECT 19, 19, materialize('merge_expressions=0'), toNullable(19), 19, 19, toLowCardinality(19), toUInt128(19), 19 PREWHERE materialize('nested_alias'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 877 out of 1000 SELECT 19, 19, materialize('merge_expressions=0'), toNullable(19), 19, 19, toLowCardinality(19), toUInt128(19), 19 Got boring AST Fuzzing step 878 out of 1000 SELECT 19, 19, materialize('merge_expressions=0'), toNullable(19), 19, 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 879 out of 1000 SELECT 19, 19, today(currentDatabase(toLowCardinality(2147483647))) - 1, materialize('merge_expressions=0'), toNullable(19), 19, toNullable(toUInt128(19)), toLowCardinality(19), 19, 19 Error on processing query 'SELECT 19, 19, today(currentDatabase(toLowCardinality(2147483647))) - 1, materialize('merge_expressions=0'), toNullable(19), 19, toNullable(toUInt128(19)), toLowCardinality(19), 19, 19': Received from localhost:9000. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: In scope SELECT 19, 19, today(currentDatabase(toLowCardinality(2147483647))) - 1, materialize('merge_expressions=0'), toNullable(19), 19, toNullable(toUInt128(19)), toLowCardinality(19), 19, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 880 out of 1000 SELECT 19, 19, materialize('merge_expressions=0'), toNullable(19), 19, 19, toLowCardinality(19), 19, toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 881 out of 1000 SELECT 19, 19, materialize('merge_expressions=0'), toNullable(19), 19, 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 882 out of 1000 SELECT 19, 19, materialize('merge_expressions=0'), toNullable(materialize(toLowCardinality(toNullable(100))), 19), 19, 19, toLowCardinality(19), 19, 19 Error on processing query 'SELECT 19, 19, materialize('merge_expressions=0'), toNullable(materialize(toLowCardinality(toNullable(100))), 19), 19, 19, toLowCardinality(19), 19, 19': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 19, 19, materialize('merge_expressions=0'), toNullable(materialize(toLowCardinality(toNullable(100))), 19), 19, 19, toLowCardinality(19), 19, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 883 out of 1000 SELECT 19, 19, materialize('merge_expressions=0'), toNullable(19), toUInt128(19), 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 884 out of 1000 SELECT 19, 19, materialize('merge_expressions=0'), toNullable(19), toUInt128(19), 19, 19, 19, 19 Got boring AST Fuzzing step 885 out of 1000 SELECT 19, 19, materialize('merge_expressions=0'), toNullable(19), toUInt128(19), 19, 19, 19, 19 PREWHERE current_database = currentDatabase() Error on processing query 'SELECT 19, 19, materialize('merge_expressions=0'), toNullable(19), toUInt128(19), 19, 19, 19, 19 PREWHERE current_database = currentDatabase()': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT 19, 19, materialize('merge_expressions=0'), toNullable(19), toUInt128(19), 19, 19, 19, 19 PREWHERE current_database = currentDatabase(). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 886 out of 1000 EXPLAIN AST graph = true SELECT 19, 19, materialize('merge_expressions=0'), toNullable(19), toUInt128(19), 19, 19, 19, 19 Error on processing query 'EXPLAIN AST graph = true SELECT 19, 19, materialize('merge_expressions=0'), toNullable(19), toUInt128(19), 19, 19, 19, 19': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 887 out of 1000 SELECT 19, 19, materialize('merge_expressions=0'), 19, toUInt128(19), 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 888 out of 1000 SELECT 19, 19, materialize('merge_expressions=0'), 19, toUInt128(19), 19, 19, 19, 19 Got boring AST Fuzzing step 889 out of 1000 SELECT 19, 19, materialize('merge_expressions=0'), 19, toUInt128(toNullable(19)), 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 890 out of 1000 SELECT 19, materialize('merge_expressions=0'), 19, toUInt128(toNullable(19)), 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 891 out of 1000 SELECT 19, materialize('merge_expressions=0'), 19, toUInt128(toNullable(19)), 19, 19, 19, 19 Got boring AST Fuzzing step 892 out of 1000 SELECT 19, materialize('merge_expressions=0'), 19, toUInt128(19), 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 893 out of 1000 SELECT 19, materialize('merge_expressions=0'), 19, toUInt128(19), 19, 19, 19, 19 Got boring AST Fuzzing step 894 out of 1000 SELECT 19, materialize('merge_expressions=0'), 19, toUInt128(toLowCardinality(19)), 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 895 out of 1000 SELECT 19, materialize('merge_expressions=0'), 19, toUInt128(toLowCardinality(19)), 19, 19, 19, 19 Got boring AST Fuzzing step 896 out of 1000 SELECT 19, materialize('merge_expressions=0'), 19, toLowCardinality(19), 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 897 out of 1000 SELECT 19, 'merge_expressions=0', toNullable(19), toLowCardinality(19), 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 898 out of 1000 SELECT 19, 'merge_expressions=0', toNullable(19), toLowCardinality(19), 19, 19, 19, 19 Got boring AST Fuzzing step 899 out of 1000 SELECT 19, 'merge_expressions=0', toNullable(19), toLowCardinality(19), 19, 19, 19, 19 Got boring AST Fuzzing step 900 out of 1000 SELECT 19, 'merge_expressions=0', toNullable(19), toLowCardinality(19), 19, 19, 19, 19 WHERE toLowCardinality(toUInt256(toUInt256(19))) Error on processing query 'SELECT 19, 'merge_expressions=0', toNullable(19), toLowCardinality(19), 19, 19, 19, 19 WHERE toLowCardinality(toUInt256(toUInt256(19)))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 901 out of 1000 SELECT 19, 'merge_expressions=0', 19, toLowCardinality(19), 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 902 out of 1000 SELECT 19, 'merge_expressions=0', 19, toLowCardinality(19), 19, 19, 19, 19 Got boring AST Fuzzing step 903 out of 1000 SELECT 19, 'merge_expressions=0', 19, toLowCardinality(19), 19, 19, 19, 19 Got boring AST Fuzzing step 904 out of 1000 SELECT 19, 'merge_expressions=0', 19, toLowCardinality(19), 19, 19, 19, 19 Got boring AST Fuzzing step 905 out of 1000 SELECT 19, 'merge_expressions=0', materialize(19), toLowCardinality(19), 19, 19, 19, 19 Query succeeded, using this AST as a start Fuzzing step 906 out of 1000 SELECT 19, 'merge_expressions=0', materialize(19), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 907 out of 1000 SELECT 19, 'merge_expressions=0', materialize(19), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 908 out of 1000 EXPLAIN SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 909 out of 1000 EXPLAIN SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 910 out of 1000 EXPLAIN SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 911 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 912 out of 1000 EXPLAIN SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 913 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 914 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 915 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 916 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('toNullable'): toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toL. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 917 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 918 out of 1000 EXPLAIN AST SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 919 out of 1000 EXPLAIN AST SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 920 out of 1000 EXPLAIN AST SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 921 out of 1000 EXPLAIN AST SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 922 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 923 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 924 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 925 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 926 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 927 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 928 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 929 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 930 out of 1000 EXPLAIN AST SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 931 out of 1000 EXPLAIN AST SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 932 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('toNullable'): toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toL. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 933 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 934 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 935 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 936 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 937 out of 1000 EXPLAIN SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 938 out of 1000 EXPLAIN SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 939 out of 1000 EXPLAIN SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 940 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('toNullable'): toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toL. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 941 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 942 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 943 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 944 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 945 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 946 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 947 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 948 out of 1000 EXPLAIN AST SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 949 out of 1000 EXPLAIN AST SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 950 out of 1000 EXPLAIN SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 951 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('toNullable'): toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toL. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 952 out of 1000 EXPLAIN SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 953 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('toNullable'): toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toL. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 954 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('toNullable'): toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toL. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 955 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('toNullable'): toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toL. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 956 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 957 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 958 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 959 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 960 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 961 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 962 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('toNullable'): toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toL. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 963 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('toNullable'): toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toL. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 964 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 965 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 966 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 967 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 968 out of 1000 EXPLAIN SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 969 out of 1000 EXPLAIN SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 970 out of 1000 EXPLAIN SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 971 out of 1000 EXPLAIN SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 972 out of 1000 EXPLAIN SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 973 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 974 out of 1000 EXPLAIN AST SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 975 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 976 out of 1000 EXPLAIN SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 977 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 978 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 979 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 980 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 981 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 982 out of 1000 EXPLAIN SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 983 out of 1000 EXPLAIN SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 984 out of 1000 EXPLAIN AST SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 985 out of 1000 EXPLAIN AST SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 986 out of 1000 EXPLAIN AST SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 987 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('toNullable'): toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toL. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 988 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 989 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19), 'merge_expressions=0', materialize(materialize(19)), toLowCardinality(19), 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 990 out of 1000 SELECT toNullable(19), 'merge_expressions=0', materialize(19), 19, 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 991 out of 1000 SELECT toNullable(19), 'merge_expressions=0', materialize(toLowCardinality(19)), 19, 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 992 out of 1000 SELECT 19, 'merge_expressions=0', toLowCardinality(19), 19, 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 993 out of 1000 SELECT toLowCardinality(19), 'merge_expressions=0', toLowCardinality(19), 19, 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 994 out of 1000 SELECT 19, 'merge_expressions=0', toLowCardinality(19), 19, 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 995 out of 1000 SELECT 19, 'merge_expressions=0', toLowCardinality(19), 19, 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 996 out of 1000 SELECT 19, 'merge_expressions=0', toLowCardinality(19), 19, 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 997 out of 1000 SELECT 19, 'merge_expressions=0', 19, 19, 19, toLowCardinality(19), 19, 19 Query succeeded, using this AST as a start Fuzzing step 998 out of 1000 SELECT 19 PREWHERE toUInt256(test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19) Error on processing query 'SELECT 19 PREWHERE toUInt256(test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_12' in scope SELECT 19 PREWHERE toUInt256(test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 999 out of 1000 SELECT 19, 'merge_expressions=0', 19, 19, 19, toLowCardinality(19), 19, 19 Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_8' in scope SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 2 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 3 out of 1000 EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('*'): * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0. Expected one of: token sequence, Dot, token, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 4 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 5 out of 1000 EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('*'): * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0. Expected one of: token sequence, Dot, token, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 6 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 7 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 8 out of 1000 EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN QUERY TREE query. Supported settings: dump_passes, dump_ast, dump_tree, run_passes, passes. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [11], String&&) @ 0x00000000115973eb 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115903be 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 9 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 10 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 11 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 12 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 13 out of 1000 EXPLAIN PIPELINE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 14 out of 1000 EXPLAIN PIPELINE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 15 out of 1000 EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN SYNTAX query. Supported settings: oneline. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [7], String&&) @ 0x0000000011596e6b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001159022c 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 16 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 17 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 18 out of 1000 EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN SYNTAX query. Supported settings: oneline. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [7], String&&) @ 0x0000000011596e6b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001159022c 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 19 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 20 out of 1000 EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('SELECT'): SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0. Expected one of: INTO OUTFILE, FORMAT, SETTINGS, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 21 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 22 out of 1000 EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('*'): * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0. Expected one of: token sequence, Dot, token, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 23 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 24 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 25 out of 1000 EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN SYNTAX query. Supported settings: oneline. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [7], String&&) @ 0x0000000011596e6b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001159022c 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 26 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 27 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 28 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 29 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 30 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 WHERE greater(100) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_31 WHERE greater(100) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT * FROM test_alias_skip_idx__fuzz_31 WHERE greater(100) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 31 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 32 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 33 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 34 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 35 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_8 WHERE a > toUInt128(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 36 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_8 WHERE a > toUInt128(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 37 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_8 WHERE a > toUInt128(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 38 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_8 WHERE a > toUInt128(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 39 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_8 WHERE a > toUInt128(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 40 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_8 WHERE a > toUInt128(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 41 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 42 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 43 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 44 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 45 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 46 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 47 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 48 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_8 WHERE greater(100) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_8 WHERE greater(100) SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 49 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 50 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_merge_expressions = NULL Fuzzing step 51 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 52 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 53 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 54 out of 1000 SELECT (normalizeQuery(query) = normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)), * FROM test_alias_skip_idx__fuzz_10 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT (normalizeQuery(query) = normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)), * FROM test_alias_skip_idx__fuzz_10 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT (normalizeQuery(query) = normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)), * FROM test_alias_skip_idx__fuzz_10 WHERE a > 100 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 55 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 56 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 58 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 59 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 60 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 61 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 62 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 63 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 64 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 65 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 66 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 67 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 68 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 69 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 70 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 71 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 72 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 73 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 74 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 75 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_25' in scope SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE test_alias_skip_idx__fuzz_25 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 76 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 77 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 78 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 79 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 80 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 81 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 82 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 83 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 84 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 85 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 86 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 87 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 88 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 89 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 90 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 91 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 92 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 93 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 94 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 95 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 96 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 97 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 98 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 99 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 100 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 101 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 102 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 103 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 104 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 105 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 106 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 107 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 108 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 109 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 110 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 111 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 112 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 113 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 114 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 115 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 116 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 117 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 118 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 119 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 120 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 121 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 122 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 123 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 124 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 125 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 126 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 127 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 128 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 129 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 130 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 GROUP BY toNullable(materialize(materialize(19))), greater(toLowCardinality(toNullable(100)), a2, event_date, -2147483649, 100), toLowCardinality('WITH 01091 AS id SELECT 1;') SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_48 GROUP BY toNullable(materialize(materialize(19))), greater(toLowCardinality(toNullable(100)), a2, event_date, -2147483649, 100), toLowCardinality('WITH 01091 AS id SELECT 1;') SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT * FROM test_alias_skip_idx__fuzz_48 GROUP BY toNullable(materialize(materialize(19))), greater(toLowCardinality(toNullable(100)), a2, event_date, -2147483649, 100), toLowCardinality('WITH 01091 AS id SELECT 1;') SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 131 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 132 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 133 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 134 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 135 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 136 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 137 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 138 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 140 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 141 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 142 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 143 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 144 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 145 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 146 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 147 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 148 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 149 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 150 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 151 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 152 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 153 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 154 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 155 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 156 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(materialize(toLowCardinality(12))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 157 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE materialize(materialize(toLowCardinality(12))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 158 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE materialize(materialize(toLowCardinality(12))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 159 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(materialize(toLowCardinality(12))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 160 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(materialize(12)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 161 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 162 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) GROUP BY toLowCardinality('default_settings', 16), uniqExact(100, thread_id) RESPECT NULLS >= event_date, today() - toNullable(1) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) GROUP BY toLowCardinality('default_settings', 16), uniqExact(100, thread_id) RESPECT NULLS >= event_date, today() - toNullable(1) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) GROUP BY toLowCardinality('default_settings', 16), uniqExact(100, thread_id) RESPECT NULLS >= event_date, today() - toNullable(1) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 163 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 164 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 165 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 166 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 167 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 168 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 169 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 170 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 171 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 172 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 173 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 174 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 175 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 176 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 177 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 178 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 179 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 180 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 181 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 182 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 183 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 184 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 185 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 186 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 187 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 188 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 189 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 190 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 191 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 192 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 193 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 194 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 195 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 197 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 198 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 199 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 200 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 201 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 202 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 203 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 204 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 205 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 206 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 207 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 208 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 209 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 210 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 211 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 212 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 213 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 214 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 215 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 216 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 217 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 218 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 219 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 220 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 221 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 222 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 223 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 224 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 225 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 226 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 227 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 228 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 229 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 230 out of 1000 EXPLAIN AST graph = true, optimize = true SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN AST graph = true, optimize = true SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 231 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 232 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 233 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 234 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 235 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 236 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 237 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 238 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 239 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 240 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 241 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 242 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 243 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 244 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 245 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 246 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 247 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 248 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 249 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 250 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 251 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 252 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 253 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 254 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 255 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 256 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 257 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 258 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 259 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 261 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 262 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 263 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 264 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 265 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 266 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 267 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 268 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 269 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 270 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 271 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 272 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 273 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 274 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 275 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 276 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 277 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 278 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 279 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 280 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 281 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 282 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 283 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 284 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 285 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 286 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 287 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 288 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 289 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 290 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 291 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 292 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 293 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 294 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 295 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 297 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 298 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 299 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 300 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 301 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 302 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 303 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 304 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 305 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 306 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 307 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 308 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 309 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 310 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 311 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 312 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 313 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 314 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 315 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 316 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 317 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 318 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE materialize(materialize(12)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 319 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 320 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 321 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 322 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 323 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 324 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 326 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 WHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 328 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 WHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 329 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE materialize(12) GROUP BY toUInt128(toLowCardinality(toNullable(toUInt256(19)))) AND toNullable(100) AND (thread_id != master_thread_id), today(currentDatabase(toLowCardinality(2147483647))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE materialize(12) GROUP BY toUInt128(toLowCardinality(toNullable(toUInt256(19)))) AND toNullable(100) AND (thread_id != master_thread_id), today(currentDatabase(toLowCardinality(2147483647))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE materialize(12) GROUP BY toUInt128(toLowCardinality(toNullable(toUInt256(19)))) AND toNullable(100) AND (thread_id != master_thread_id), today(currentDatabase(toLowCardinality(2147483647))) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 330 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 WHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 331 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 WHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 332 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 WHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 333 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 334 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 335 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 336 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 WHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 337 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE materialize(12) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 338 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE materialize(toLowCardinality(12)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 339 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE materialize(toLowCardinality(12)) GROUP BY materialize(toNullable(toNullable(100))), materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(toNullable(materialize(19)), 1091 AS id), toUInt128(materialize(100)) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE materialize(toLowCardinality(12)) GROUP BY materialize(toNullable(toNullable(100))), materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(toNullable(materialize(19)), 1091 AS id), toUInt128(materialize(100)) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE materialize(toLowCardinality(12)) GROUP BY materialize(toNullable(toNullable(100))), materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26)), toLowCardinality(toNullable(materialize(19)), 1091 AS id), toUInt128(materialize(100)) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 340 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE materialize(toLowCardinality(12)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 341 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE materialize(toLowCardinality(event_date >= (today() - toLowCardinality(1)), 12)) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE materialize(toLowCardinality(event_date >= (today() - toLowCardinality(1)), 12)) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'event_date' in scope SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE materialize(toLowCardinality(event_date >= (today() - toLowCardinality(1)), 12)) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 342 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE materialize(toLowCardinality(12)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 343 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 344 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 345 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 346 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 347 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 348 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 1024 Fuzzing step 349 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 350 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 351 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 352 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 353 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 355 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 356 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 357 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 358 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_3' in scope SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE test_alias_skip_idx__fuzz_3 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 359 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 360 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 361 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 362 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 363 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 364 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 365 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 366 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 367 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 368 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 GROUP BY test_alias_skip_idx__fuzz_35, toUInt128(toUInt128(materialize(19))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_45 GROUP BY test_alias_skip_idx__fuzz_35, toUInt128(toUInt128(materialize(19))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_35' in scope SELECT * FROM test_alias_skip_idx__fuzz_45 GROUP BY test_alias_skip_idx__fuzz_35, toUInt128(toUInt128(materialize(19))) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 369 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 370 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 372 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 373 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 374 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 375 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 376 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 379 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 380 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 381 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 382 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 383 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 384 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 385 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 386 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 387 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 388 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 389 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 390 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 391 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 392 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 393 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 394 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 395 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 396 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 399 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 400 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 401 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 402 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 404 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 405 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 406 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 407 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 408 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 409 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 411 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 412 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 413 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE MergeTree SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE MergeTree SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'MergeTree' in scope SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE MergeTree SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 414 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 416 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 257 Fuzzing step 417 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 418 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE toLowCardinality(toNullable(materialize(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(toNullable(materialize(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 420 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(toNullable(materialize(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 421 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(materialize(100)) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(materialize(100)) SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 422 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(toNullable(materialize(toLowCardinality(1, toLowCardinality(19)), 100))) GROUP BY materialize(toNullable(toUInt256(toLowCardinality(toLowCardinality(toUInt256(2)))))), greater(test_alias_skip_idx__fuzz_38, uniqExact(thread_id) RESPECT NULLS, toLowCardinality(toNullable(toNullable(19), 100, 1091 AS id), toUInt256(2))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(toNullable(materialize(toLowCardinality(1, toLowCardinality(19)), 100))) GROUP BY materialize(toNullable(toUInt256(toLowCardinality(toLowCardinality(toUInt256(2)))))), greater(test_alias_skip_idx__fuzz_38, uniqExact(thread_id) RESPECT NULLS, toLowCardinality(toNullable(toNullable(19), 100, 1091 AS id), toUInt256(2))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(toNullable(materialize(toLowCardinality(1, toLowCardinality(19)), 100))) GROUP BY materialize(toNullable(toUInt256(toLowCardinality(toLowCardinality(toUInt256(2)))))), greater(test_alias_skip_idx__fuzz_38, uniqExact(thread_id) RESPECT NULLS, toLowCardinality(toNullable(toNullable(19), 100, 1091 AS id), toUInt256(2))) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 423 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(toNullable(materialize(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 424 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(toNullable(materialize(100))) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 425 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(toNullable(materialize(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 426 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 427 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 428 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 429 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE toLowCardinality(toNullable(toNullable(toLowCardinality(19)), 100)) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE toLowCardinality(toNullable(toNullable(toLowCardinality(19)), 100)) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE toLowCardinality(toNullable(toNullable(toLowCardinality(19)), 100)) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 430 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 431 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 432 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 434 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(toNullable(100)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 435 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 436 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 437 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 438 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 439 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 440 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 441 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 442 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 443 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 444 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 446 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(materialize(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 447 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(materialize(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 448 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(materialize(100)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 449 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 450 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(materialize(toLowCardinality(100))) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 451 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(materialize(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 452 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(materialize(100)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 453 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(materialize(100)) WHERE toNullable(test_alias_skip_idx__fuzz_5, 1, 'WITH 01091 AS id SELECT 1;', 26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(materialize(100)) WHERE toNullable(test_alias_skip_idx__fuzz_5, 1, 'WITH 01091 AS id SELECT 1;', 26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_5' in scope SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(materialize(100)) WHERE toNullable(test_alias_skip_idx__fuzz_5, 1, 'WITH 01091 AS id SELECT 1;', 26) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 454 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(materialize(100)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 455 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(materialize(100)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 456 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE toLowCardinality(materialize(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 457 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE toLowCardinality(materialize(100)) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 458 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(materialize(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 459 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(materialize(100)) SETTINGS query_plan_merge_expressions = '10.23' Fuzzing step 460 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE toLowCardinality(materialize(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 461 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 462 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 464 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 465 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 466 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 467 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 468 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 469 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 470 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 471 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE toLowCardinality(100) GROUP BY toLowCardinality(toLowCardinality(toLowCardinality(19), 1), toNullable(1091), 19) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE toLowCardinality(100) GROUP BY toLowCardinality(toLowCardinality(toLowCardinality(19), 1), toNullable(1091), 19) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE toLowCardinality(100) GROUP BY toLowCardinality(toLowCardinality(toLowCardinality(19), 1), toNullable(1091), 19) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 472 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 WHERE toLowCardinality(100) SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 473 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 474 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 475 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 476 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 477 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE normalizeQuery(sum(number) IGNORE NULLS, 19, 'with 01091 as id select sum(number) from numbers_mt(1000000);', toNullable(toUInt256(100)), 61) SETTINGS query_plan_merge_expressions = 1 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE normalizeQuery(sum(number) IGNORE NULLS, 19, 'with 01091 as id select sum(number) from numbers_mt(1000000);', toNullable(toUInt256(100)), 61) SETTINGS query_plan_merge_expressions = 1': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'number' in scope SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE normalizeQuery(sum(number) IGNORE NULLS, 19, 'with 01091 as id select sum(number) from numbers_mt(1000000);', toNullable(toUInt256(100)), 61) SETTINGS query_plan_merge_expressions = 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 478 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 479 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 480 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 481 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 482 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 483 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 484 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 485 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 486 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 489 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 1 Got boring AST Fuzzing step 490 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 491 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 1 Query succeeded, using this AST as a start Fuzzing step 492 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 1 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 1': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 493 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 494 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 495 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 496 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 497 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 498 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 499 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 500 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 501 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 502 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 503 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 504 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 505 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 506 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 507 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 508 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 509 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 510 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 511 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 512 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 513 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 514 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 515 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 516 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 517 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 518 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 519 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 520 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 521 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 522 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 523 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 524 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 525 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 526 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 527 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 528 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 529 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 530 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 531 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 532 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 533 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 535 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 536 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 537 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 538 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 539 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 540 out of 1000 SELECT materialize(a, 1091), * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT materialize(a, 1091), * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT materialize(a, 1091), * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 541 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 542 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 543 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 544 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 545 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 546 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 547 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 548 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 549 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 550 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 551 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 553 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 554 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 555 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 556 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 557 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 558 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 559 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 560 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 561 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 562 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 564 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 565 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 566 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 567 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 568 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 569 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 570 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 571 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 572 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 573 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 574 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 575 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 577 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 578 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 579 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 580 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 581 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 582 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 583 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 584 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 585 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 586 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 587 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 588 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 589 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 590 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 591 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 592 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 593 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 594 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 595 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 596 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 597 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 598 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 599 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 600 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 601 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 602 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 603 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 604 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 605 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 606 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 607 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 608 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 609 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 610 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 611 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 612 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 613 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 614 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 616 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 SELECT materialize(toUInt256(100)), * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 618 out of 1000 SELECT materialize(toUInt256(100)), * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 619 out of 1000 SELECT materialize(toUInt256(100)), * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 620 out of 1000 SELECT materialize(toUInt256(100)), * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 621 out of 1000 SELECT materialize(toUInt256(100)), * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 622 out of 1000 SELECT materialize(toUInt256(100)), * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 623 out of 1000 SELECT materialize(100), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 624 out of 1000 SELECT materialize(100), * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 625 out of 1000 SELECT materialize(100), * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 626 out of 1000 SELECT materialize(toNullable(toUInt128(100))), * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 627 out of 1000 SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 628 out of 1000 SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 629 out of 1000 SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 630 out of 1000 SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 631 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 632 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 633 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 634 out of 1000 EXPLAIN AST SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 635 out of 1000 EXPLAIN AST SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 636 out of 1000 EXPLAIN AST SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 637 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 638 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 639 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 640 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('toNullable'): toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 641 out of 1000 EXPLAIN SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 642 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 643 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 644 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 645 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 646 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 647 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 648 out of 1000 EXPLAIN SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 649 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 651 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 652 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 653 out of 1000 EXPLAIN AST SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 654 out of 1000 EXPLAIN AST SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 655 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 656 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 657 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('toNullable'): toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 658 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('toNullable'): toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 659 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 660 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 661 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 662 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 663 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 664 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 665 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 666 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 667 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 668 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 669 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 670 out of 1000 EXPLAIN SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 671 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 672 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('toNullable'): toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 673 out of 1000 EXPLAIN AST SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 674 out of 1000 EXPLAIN AST SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 675 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 676 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 677 out of 1000 EXPLAIN SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 EXPLAIN SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 679 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 680 out of 1000 EXPLAIN SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 681 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 682 out of 1000 SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 2147483648 Fuzzing step 683 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 684 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 685 out of 1000 EXPLAIN SELECT toNullable(toUInt128(100)), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 686 out of 1000 SELECT toUInt128(100), * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 687 out of 1000 SELECT toUInt128(100), * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 688 out of 1000 SELECT toUInt128(100), * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 689 out of 1000 EXPLAIN QUERY TREE SELECT event_date >= minus(today()), toUInt128(100), * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN QUERY TREE SELECT event_date >= minus(today()), toUInt128(100), * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'event_date' in scope SELECT event_date >= minus(today()), toUInt128(100), * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 690 out of 1000 SELECT toUInt128(100), * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 691 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 692 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 693 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 694 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 695 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 696 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 697 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 698 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 699 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 700 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 701 out of 1000 SELECT toNullable(100), * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 702 out of 1000 SELECT toNullable(100), * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 703 out of 1000 SELECT toNullable(100), * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 704 out of 1000 SELECT toNullable(100), * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 705 out of 1000 SELECT toNullable(100), * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 706 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 707 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 708 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 709 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 710 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 711 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = -9223372036854775808 Fuzzing step 712 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 713 out of 1000 EXPLAIN PIPELINE SELECT 100, * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 714 out of 1000 EXPLAIN PIPELINE SELECT 100, * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 715 out of 1000 EXPLAIN PIPELINE SELECT 100, * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 716 out of 1000 EXPLAIN PIPELINE SELECT 100, * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 717 out of 1000 EXPLAIN ESTIMATE SELECT 100, * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 718 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 719 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 720 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 721 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 722 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 723 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 724 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 725 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 726 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 727 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 728 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 729 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 730 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 731 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 732 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 733 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 734 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 735 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 736 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 737 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 738 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 739 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_6 PREWHERE materialize(toUInt128(100)) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100, * FROM test_alias_skip_idx__fuzz_6 PREWHERE materialize(toUInt128(100)) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Illegal type UInt128 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a55b3 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 740 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 741 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 742 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 743 out of 1000 SELECT toLowCardinality(100), * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 744 out of 1000 SELECT toLowCardinality(100), * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 745 out of 1000 SELECT 100, * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 746 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 747 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 748 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 749 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 750 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 751 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 752 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 753 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY toNullable(toUInt256(19)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 754 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY toNullable(toUInt256(19)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 755 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 WHERE toLowCardinality(100) GROUP BY toUInt256(19) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 756 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 WHERE toLowCardinality(100) GROUP BY toUInt256(19) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 757 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) GROUP BY toUInt256(19) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 758 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) GROUP BY toUInt256(19) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 759 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) GROUP BY 19 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) GROUP BY 19 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) GROUP BY 19 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 760 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(event_date >= minus(today()), 100) WHERE toLowCardinality(100) GROUP BY toUInt256(19) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(event_date >= minus(today()), 100) WHERE toLowCardinality(100) GROUP BY toUInt256(19) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'event_date' in scope SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(event_date >= minus(today()), 100) WHERE toLowCardinality(100) GROUP BY toUInt256(19) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 761 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(100) WHERE toLowCardinality(100) GROUP BY toUInt256(19) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 762 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 763 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) GROUP BY 19 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) GROUP BY 19 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) GROUP BY 19 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 764 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 765 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 766 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 767 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 768 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 769 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 770 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 771 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 772 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 773 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 774 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 775 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 776 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 777 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 PREWHERE toLowCardinality(100) GROUP BY GROUPING SETS ((19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_31 PREWHERE toLowCardinality(100) GROUP BY GROUPING SETS ((19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 778 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 PREWHERE toLowCardinality(100) GROUP BY GROUPING SETS ((toUInt256(19))) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_45 PREWHERE toLowCardinality(100) GROUP BY GROUPING SETS ((toUInt256(19))) WITH CUBE SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 779 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_31 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_31 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 780 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 PREWHERE toLowCardinality(100) WHERE toLowCardinality('default_settings') GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_31 PREWHERE toLowCardinality(100) WHERE toLowCardinality('default_settings') GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: LowCardinality(String). In query SELECT 100 FROM test_alias_skip_idx__fuzz_31 PREWHERE toLowCardinality(100) WHERE toLowCardinality('default_settings') GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 781 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 782 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 783 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 784 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 785 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 786 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(toUInt256(100)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(toUInt256(100)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Illegal type UInt256 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a55b3 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 787 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 788 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 789 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 790 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 791 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 792 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) WHERE normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);') GROUP BY toUInt256(uniqExact(1, thread_id) IGNORE NULLS, 19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) WHERE normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);') GROUP BY toUInt256(uniqExact(1, thread_id) IGNORE NULLS, 19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) WHERE normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);') GROUP BY toUInt256(uniqExact(1, thread_id) IGNORE NULLS, 19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 793 out of 1000 SELECT toLowCardinality(toUInt128(100)) FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 SELECT toLowCardinality(toUInt128(100)) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 795 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 796 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 797 out of 1000 EXPLAIN QUERY TREE SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 798 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 46 ('toUInt128'): toUInt128(100) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 799 out of 1000 EXPLAIN SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 EXPLAIN SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 801 out of 1000 EXPLAIN SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 802 out of 1000 EXPLAIN SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 803 out of 1000 EXPLAIN SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 804 out of 1000 EXPLAIN PIPELINE SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 805 out of 1000 EXPLAIN PIPELINE SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 806 out of 1000 EXPLAIN PIPELINE SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 807 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 808 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 809 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 810 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 811 out of 1000 EXPLAIN PIPELINE compact = true SELECT toUInt128(toLowCardinality(100)) FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT toUInt128(toLowCardinality(100)) FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 812 out of 1000 SELECT toUInt128(uniqExact(thread_id) IGNORE NULLS > materialize(2), 100) FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toUInt128(uniqExact(thread_id) IGNORE NULLS > materialize(2), 100) FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT toUInt128(uniqExact(thread_id) IGNORE NULLS > materialize(2), 100) FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 813 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 814 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 815 out of 1000 SELECT toUInt128(100) FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 816 out of 1000 SELECT toUInt128(toLowCardinality(100)) FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 817 out of 1000 SELECT materialize(toLowCardinality(toUInt128(1091))), toUInt128(toLowCardinality(100)) FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH ROLLUP WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT materialize(toLowCardinality(toUInt128(1091))), toUInt128(toLowCardinality(100)) FROM test_alias_skip_idx__fuzz_6 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH ROLLUP WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 205 ('CUBE'): CUBE SETTINGS query_plan_merge_expressions = 0. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 818 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 819 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(100) GROUP BY GROUPING SETS ((toUInt256(19))) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(100) GROUP BY GROUPING SETS ((toUInt256(19))) WITH CUBE SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 820 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 821 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 822 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 823 out of 1000 SELECT a > toLowCardinality(100), toLowCardinality(100) FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT a > toLowCardinality(100), toLowCardinality(100) FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Column default.test_alias_skip_idx__fuzz_10.a is not under aggregate function and not in GROUP BY keys. In query SELECT a > toLowCardinality(100), toLowCardinality(100) FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(100) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x000000001109825e 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 8. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001109733c 9. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 11. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 12. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 16. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 824 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 825 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(uniqExact(toFixedString(toNullable('merge_expressions=0'), 19), thread_id) > 2, toLowCardinality(toNullable('merge_expressions=0', 19), 100)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(uniqExact(toFixedString(toNullable('merge_expressions=0'), 19), thread_id) > 2, toLowCardinality(toNullable('merge_expressions=0', 19), 100)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 100 FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(uniqExact(toFixedString(toNullable('merge_expressions=0'), 19), thread_id) > 2, toLowCardinality(toNullable('merge_expressions=0', 19), 100)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 826 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 827 out of 1000 SELECT a2 > 100, 100 FROM test_alias_skip_idx__fuzz_9 PREWHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT a2 > 100, 100 FROM test_alias_skip_idx__fuzz_9 PREWHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT a2 > 100, 100 FROM test_alias_skip_idx__fuzz_9 PREWHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 828 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 829 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 PREWHERE toLowCardinality(toLowCardinality(test_alias_skip_idx__fuzz_28, 100)) GROUP BY toUInt256(toNullable(normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;'), test_alias_skip_idx__fuzz_14, 100), 19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_45 PREWHERE toLowCardinality(toLowCardinality(test_alias_skip_idx__fuzz_28, 100)) GROUP BY toUInt256(toNullable(normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;'), test_alias_skip_idx__fuzz_14, 100), 19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_28' in scope SELECT 100 FROM test_alias_skip_idx__fuzz_45 PREWHERE toLowCardinality(toLowCardinality(test_alias_skip_idx__fuzz_28, 100)) GROUP BY toUInt256(toNullable(normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;'), test_alias_skip_idx__fuzz_14, 100), 19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 830 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 831 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 PREWHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 832 out of 1000 SELECT toLowCardinality(toUInt128(100)) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 833 out of 1000 SELECT toLowCardinality(toUInt128(100)) FROM test_alias_skip_idx__fuzz_45 PREWHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 834 out of 1000 SELECT toLowCardinality(toUInt128(100)) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(toLowCardinality(100)) WHERE toUInt128(toNullable(toLowCardinality(toUInt256(19)), 19)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toLowCardinality(toUInt128(100)) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(toLowCardinality(100)) WHERE toUInt128(toNullable(toLowCardinality(toUInt256(19)), 19)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(toUInt128(100)) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(toLowCardinality(100)) WHERE toUInt128(toNullable(toLowCardinality(toUInt256(19)), 19)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 835 out of 1000 SELECT today(currentDatabase(2147483647)) - toLowCardinality(1), toLowCardinality(toUInt128(100)) FROM test_alias_skip_idx__fuzz_45 PREWHERE toLowCardinality(toLowCardinality(100)) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT today(currentDatabase(2147483647)) - toLowCardinality(1), toLowCardinality(toUInt128(100)) FROM test_alias_skip_idx__fuzz_45 PREWHERE toLowCardinality(toLowCardinality(100)) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: In scope SELECT today(currentDatabase(2147483647)) - toLowCardinality(1), toLowCardinality(toUInt128(100)) FROM test_alias_skip_idx__fuzz_45 PREWHERE toLowCardinality(toLowCardinality(100)) GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 836 out of 1000 SELECT toLowCardinality(toUInt128(materialize(100))) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 837 out of 1000 SELECT toLowCardinality(toUInt128(materialize(100))) FROM test_alias_skip_idx__fuzz_7 PREWHERE toLowCardinality(toLowCardinality(100)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 838 out of 1000 SELECT toLowCardinality(materialize(100)) FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 839 out of 1000 SELECT toLowCardinality(materialize(today() - toNullable(materialize(1)), 100)) FROM test_alias_skip_idx__fuzz_10 WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toLowCardinality(materialize(today() - toNullable(materialize(1)), 100)) FROM test_alias_skip_idx__fuzz_10 WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(materialize(today() - toNullable(materialize(1)), 100)) FROM test_alias_skip_idx__fuzz_10 WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 840 out of 1000 SELECT toLowCardinality(materialize(100)) FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 841 out of 1000 SELECT toLowCardinality(materialize(100)) FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 842 out of 1000 SELECT toLowCardinality(materialize(100)) FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 843 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 844 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 845 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 846 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 847 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 848 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 849 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 850 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_8 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 851 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS ((toUInt256(19))) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT materialize(100) FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS ((toUInt256(19))) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 852 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_6 WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT materialize(100) FROM test_alias_skip_idx__fuzz_6 WITH TOTALS SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 853 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 854 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY toUInt256(materialize(toUInt256(1)), 19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY toUInt256(materialize(toUInt256(1)), 19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt256'. Expected 1 argument, got 2 arguments: In scope SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY toUInt256(materialize(toUInt256(1)), 19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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)::NameToUInt256, 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&) @ 0x00000000071719f8 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x000000000716b91b 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 855 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 856 out of 1000 SELECT test_nested_alias_idx__fuzz_38, 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT test_nested_alias_idx__fuzz_38, 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_38' in scope SELECT test_nested_alias_idx__fuzz_38, 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 857 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 858 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY 19 WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 859 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 860 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 861 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 862 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = -2147483649 Fuzzing step 863 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 864 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 865 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 866 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 867 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 868 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_6 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 869 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_6 GROUP BY toUInt256(19) WITH CUBE WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 870 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 871 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 872 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 873 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 874 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 875 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 876 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 877 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 878 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 879 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 880 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 881 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 882 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 883 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 884 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 885 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 886 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 887 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 888 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 889 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 890 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 891 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 892 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 893 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 894 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 895 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 896 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 897 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = '922337203685477580.7' Fuzzing step 898 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 WHERE -1 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_45 WHERE -1 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 899 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 900 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_31 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_31 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_31 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 901 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 902 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 903 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 904 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 905 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 906 out of 1000 EXPLAIN json = true, sorting = true SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN json = true, sorting = true SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 907 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_45 WITH TOTALS SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 908 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_10 WITH TOTALS SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 909 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 910 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 7 Fuzzing step 911 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 912 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_7 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 913 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 914 out of 1000 EXPLAIN AST SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 915 out of 1000 EXPLAIN AST SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 916 out of 1000 EXPLAIN AST SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 917 out of 1000 EXPLAIN AST SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 918 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 919 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('toLowCardinality'): toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 920 out of 1000 EXPLAIN AST SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 921 out of 1000 EXPLAIN AST SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 922 out of 1000 EXPLAIN AST SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 923 out of 1000 EXPLAIN AST SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 924 out of 1000 EXPLAIN AST SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 925 out of 1000 EXPLAIN AST SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 926 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 927 out of 1000 EXPLAIN SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 928 out of 1000 EXPLAIN SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 929 out of 1000 EXPLAIN SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 930 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 931 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 932 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 933 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 WHERE normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_7 WHERE normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT 100 FROM test_alias_skip_idx__fuzz_7 WHERE normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 934 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 935 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 936 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 937 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 938 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 939 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 940 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 941 out of 1000 SELECT minmax, 100 FROM test_alias_skip_idx__fuzz_7 WITH TOTALS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT minmax, 100 FROM test_alias_skip_idx__fuzz_7 WITH TOTALS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'minmax' in scope SELECT minmax, 100 FROM test_alias_skip_idx__fuzz_7 WITH TOTALS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 942 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 943 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 944 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 945 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 946 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 947 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 948 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 949 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 950 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 951 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 952 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 953 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 954 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 955 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 956 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 957 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 PREWHERE today() - materialize(materialize(1)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_10 PREWHERE today() - materialize(materialize(1)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Date. In query SELECT 100 FROM test_alias_skip_idx__fuzz_10 PREWHERE today() - materialize(materialize(1)) GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 958 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 959 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 960 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 961 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 962 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 963 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 964 out of 1000 EXPLAIN QUERY TREE passes = true SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN QUERY TREE passes = true SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 965 out of 1000 SELECT toUInt256(100) FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 966 out of 1000 SELECT toNullable(toUInt128(toLowCardinality(1091))), toUInt256(100) FROM test_alias_skip_idx__fuzz_10 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toNullable(toUInt128(toLowCardinality(1091))), toUInt256(100) FROM test_alias_skip_idx__fuzz_10 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(toUInt128(toLowCardinality(1091))), toUInt256(100) FROM test_alias_skip_idx__fuzz_10 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 967 out of 1000 SELECT toUInt256(100) FROM test_alias_skip_idx__fuzz_31 GROUP BY toUInt256(toLowCardinality(toNullable(19))) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 968 out of 1000 SELECT toUInt256(100) FROM test_alias_skip_idx__fuzz_6 GROUP BY toLowCardinality(toNullable(19)) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 969 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 970 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 971 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 972 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 973 out of 1000 EXPLAIN QUERY TREE run_passes = true SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN QUERY TREE run_passes = true SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 974 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 975 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 976 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 977 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 978 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 979 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 980 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY 19 WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 981 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 982 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 983 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 984 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 985 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 986 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 987 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_13 GROUP BY toNullable(materialize(materialize(19)), 19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT materialize(100) FROM test_alias_skip_idx__fuzz_13 GROUP BY toNullable(materialize(materialize(19)), 19) WITH CUBE SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT materialize(100) FROM test_alias_skip_idx__fuzz_13 GROUP BY toNullable(materialize(materialize(19)), 19) WITH CUBE SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 988 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 989 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 990 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 991 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 992 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 993 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 994 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 995 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ((toNullable(19))) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ((toNullable(19))) WITH CUBE SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 996 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY toNullable(19) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 997 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toNullable(toLowCardinality(toUInt128(19))) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 998 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toNullable(toLowCardinality(toUInt128(19))) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 999 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY toNullable(toLowCardinality(toUInt128(19))) WITH CUBE SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT 'enable_optimizations=0' Got boring AST Fuzzing step 2 out of 1000 SELECT 'enable_optimizations=0' Got boring AST Fuzzing step 3 out of 1000 SELECT 'enable_optimizations=0' Got boring AST Fuzzing step 4 out of 1000 SELECT 'enable_optimizations=0' GROUP BY materialize(100), test_alias_skip_idx__fuzz_31, test_nested_alias_idx__fuzz_20 Error on processing query 'SELECT 'enable_optimizations=0' GROUP BY materialize(100), test_alias_skip_idx__fuzz_31, test_nested_alias_idx__fuzz_20': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_31' in scope SELECT 'enable_optimizations=0' GROUP BY materialize(100), test_alias_skip_idx__fuzz_31, test_nested_alias_idx__fuzz_20. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 5 out of 1000 SELECT toFixedString('enable_optimizations=0', 22) Query succeeded, using this AST as a start Fuzzing step 6 out of 1000 SELECT toFixedString('enable_optimizations=0', 22) Got boring AST Fuzzing step 7 out of 1000 SELECT toFixedString('enable_optimizations=0', 22) Got boring AST Fuzzing step 8 out of 1000 SELECT toFixedString('enable_optimizations=0', 22) Got boring AST Fuzzing step 9 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 10 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 11 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 12 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 13 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 14 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 15 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 16 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 17 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 18 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 19 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 20 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 21 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 22 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 (''enable_optimizations=0''): 'enable_optimizations=0', 22. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 23 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 24 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 25 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 (''enable_optimizations=0''): 'enable_optimizations=0', 22. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 26 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 27 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 28 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 29 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 30 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 31 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 (''enable_optimizations=0''): 'enable_optimizations=0', 22. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 32 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 33 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 34 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 35 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 36 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 37 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 38 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 39 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 40 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 41 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 (''enable_optimizations=0''): 'enable_optimizations=0', 22. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 42 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 43 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 44 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 45 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 46 out of 1000 EXPLAIN SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 47 out of 1000 EXPLAIN SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 48 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 49 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 50 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 51 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 52 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 53 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 54 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 55 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 56 out of 1000 EXPLAIN SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 EXPLAIN SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 58 out of 1000 EXPLAIN SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 59 out of 1000 EXPLAIN SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 60 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 61 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 62 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 63 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 64 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 65 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 66 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 67 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 68 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 69 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 70 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 71 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 72 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 73 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 74 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 75 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 76 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 77 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 78 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 79 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 80 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 81 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 82 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 83 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 85 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 86 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 87 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 88 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 89 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 (''enable_optimizations=0''): 'enable_optimizations=0', 22. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 90 out of 1000 EXPLAIN SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 92 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 93 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 94 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 95 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 96 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 97 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 98 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 (''enable_optimizations=0''): 'enable_optimizations=0', 22. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 99 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 100 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 101 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 102 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 103 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 104 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 105 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 106 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 107 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 108 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 109 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 110 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 111 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 112 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 113 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 114 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 115 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 116 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 117 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 118 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 119 out of 1000 EXPLAIN SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 120 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 121 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 122 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 123 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 124 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 125 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 126 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 127 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Query succeeded, using this AST as a start Fuzzing step 128 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 129 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 130 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 131 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 132 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 133 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 134 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 135 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 136 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 137 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 138 out of 1000 EXPLAIN AST graph = true SELECT materialize(toFixedString('enable_optimizations=0', 22)), 22 Error on processing query 'EXPLAIN AST graph = true SELECT materialize(toFixedString('enable_optimizations=0', 22)), 22': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 139 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 140 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 141 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 142 out of 1000 SELECT 'enable_optimizations=0', 22 PREWHERE event_date >= minus(toLowCardinality(toNullable(12)), today(), 1) Error on processing query 'SELECT 'enable_optimizations=0', 22 PREWHERE event_date >= minus(toLowCardinality(toNullable(12)), today(), 1)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'event_date' in scope SELECT 'enable_optimizations=0', 22 PREWHERE event_date >= minus(toLowCardinality(toNullable(12)), today(), 1). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 143 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 144 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 145 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 146 out of 1000 EXPLAIN PIPELINE header = true SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN PIPELINE header = true SELECT 'enable_optimizations=0', 22': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 147 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 148 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 149 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 150 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 151 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 152 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 153 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 154 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 155 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 (''enable_optimizations=0''): 'enable_optimizations=0', 22. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 156 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 157 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 158 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 159 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 160 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 161 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 (''enable_optimizations=0''): 'enable_optimizations=0', 22. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 162 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 163 out of 1000 SELECT toLowCardinality('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 164 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 165 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 166 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 167 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 168 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 169 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 170 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 171 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 172 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 173 out of 1000 SELECT 'enable_optimizations=0', toLowCardinality(22) Query succeeded, using this AST as a start Fuzzing step 174 out of 1000 SELECT 'enable_optimizations=0', toLowCardinality(22) WHERE (current_database = currentDatabase(normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);'))) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)) Error on processing query 'SELECT 'enable_optimizations=0', toLowCardinality(22) WHERE (current_database = currentDatabase(normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);'))) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT 'enable_optimizations=0', toLowCardinality(22) WHERE (current_database = currentDatabase(normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);'))) AND (normalizeQuery(query) LIKE normalizeQuery('WITH 01091 AS id SELECT 1;')) AND (event_date >= (today() - 1)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 175 out of 1000 SELECT 'enable_optimizations=0', toLowCardinality(22) Got boring AST Fuzzing step 176 out of 1000 SELECT 'enable_optimizations=0', toLowCardinality(22) PREWHERE materialize(test_nested_alias_idx__fuzz_10, 1) Error on processing query 'SELECT 'enable_optimizations=0', toLowCardinality(22) PREWHERE materialize(test_nested_alias_idx__fuzz_10, 1)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_10' in scope SELECT 'enable_optimizations=0', toLowCardinality(22) PREWHERE materialize(test_nested_alias_idx__fuzz_10, 1). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 177 out of 1000 SELECT 'enable_optimizations=0', toLowCardinality(22) Got boring AST Fuzzing step 178 out of 1000 SELECT 'enable_optimizations=0', toLowCardinality(22) Got boring AST Fuzzing step 179 out of 1000 SELECT 'enable_optimizations=0', toLowCardinality(22) Got boring AST Fuzzing step 180 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 181 out of 1000 SELECT 'enable_optimizations=0', 22 PREWHERE 19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1))))) Error on processing query 'SELECT 'enable_optimizations=0', 22 PREWHERE 19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))))': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope SELECT 'enable_optimizations=0', 22 PREWHERE 19 >= (today() - toUInt128(toLowCardinality(toNullable(toNullable(1))))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69ee0 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c5d 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:195: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a91b 17. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 18. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 19. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 22. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 25. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 26. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 30. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 Fuzzing step 182 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 183 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 184 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 185 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 186 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 187 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 188 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 189 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 190 out of 1000 SELECT 'enable_optimizations=0', materialize(toLowCardinality(22)) Query succeeded, using this AST as a start Fuzzing step 191 out of 1000 SELECT 'enable_optimizations=0', materialize(toLowCardinality(22)) Got boring AST Fuzzing step 192 out of 1000 SELECT 'enable_optimizations=0', materialize(toLowCardinality(22)) Got boring AST Fuzzing step 193 out of 1000 SELECT 'enable_optimizations=0', materialize(toLowCardinality(22)) Got boring AST Fuzzing step 194 out of 1000 SELECT materialize('enable_optimizations=0'), materialize(22) Query succeeded, using this AST as a start Fuzzing step 195 out of 1000 SELECT materialize('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 197 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 198 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 199 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 200 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 201 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 202 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 203 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 204 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 205 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 206 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 207 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 208 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 209 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 210 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 211 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 212 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 213 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 (''enable_optimizations=0''): 'enable_optimizations=0', 22. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 214 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 215 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 216 out of 1000 EXPLAIN SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 217 out of 1000 EXPLAIN SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 218 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 219 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 220 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 221 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 222 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 223 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 224 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 225 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 226 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 227 out of 1000 EXPLAIN QUERY TREE SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 228 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 229 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 230 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 231 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 232 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 233 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 234 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 235 out of 1000 SELECT 'enable_optimizations=0', 22 GROUP BY toNullable(toUInt128(19)), today(currentDatabase(toLowCardinality(2147483647))) - 1 Error on processing query 'SELECT 'enable_optimizations=0', 22 GROUP BY toNullable(toUInt128(19)), today(currentDatabase(toLowCardinality(2147483647))) - 1': Received from localhost:9000. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: In scope SELECT 'enable_optimizations=0', 22 GROUP BY toNullable(toUInt128(19)), today(currentDatabase(toLowCardinality(2147483647))) - 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 236 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 237 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 238 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 239 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 240 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 241 out of 1000 EXPLAIN QUERY TREE SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 242 out of 1000 EXPLAIN ESTIMATE SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 243 out of 1000 EXPLAIN PIPELINE SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 244 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable('enable_optimizations=0'), 22 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable('enable_optimizations=0'), 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('toNullable'): toNullable('enable_optimizations=0'), 22. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 245 out of 1000 EXPLAIN PIPELINE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 246 out of 1000 EXPLAIN PIPELINE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 247 out of 1000 EXPLAIN SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 248 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 WHERE toLowCardinality(toLowCardinality(toUInt128(19)), 1, 1091, 19) Error on processing query 'SELECT toNullable('enable_optimizations=0'), 22 WHERE toLowCardinality(toLowCardinality(toUInt128(19)), 1, 1091, 19)': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 4, should be 1: In scope SELECT toNullable('enable_optimizations=0'), 22 WHERE toLowCardinality(toLowCardinality(toUInt128(19)), 1, 1091, 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 249 out of 1000 EXPLAIN QUERY TREE SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 250 out of 1000 EXPLAIN ESTIMATE SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 251 out of 1000 EXPLAIN ESTIMATE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 252 out of 1000 EXPLAIN ESTIMATE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 253 out of 1000 EXPLAIN ESTIMATE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 254 out of 1000 EXPLAIN ESTIMATE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 255 out of 1000 EXPLAIN QUERY TREE SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 256 out of 1000 EXPLAIN QUERY TREE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 257 out of 1000 EXPLAIN QUERY TREE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 258 out of 1000 EXPLAIN QUERY TREE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 259 out of 1000 EXPLAIN AST SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 EXPLAIN AST SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 261 out of 1000 EXPLAIN AST SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 262 out of 1000 EXPLAIN AST SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 263 out of 1000 EXPLAIN SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 264 out of 1000 EXPLAIN SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 265 out of 1000 EXPLAIN AST SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 266 out of 1000 EXPLAIN AST SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 267 out of 1000 EXPLAIN AST SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 268 out of 1000 EXPLAIN AST SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 269 out of 1000 EXPLAIN ESTIMATE SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 270 out of 1000 EXPLAIN ESTIMATE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 271 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable('enable_optimizations=0'), 22 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable('enable_optimizations=0'), 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('toNullable'): toNullable('enable_optimizations=0'), 22. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 272 out of 1000 EXPLAIN ESTIMATE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 273 out of 1000 EXPLAIN ESTIMATE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 274 out of 1000 EXPLAIN ESTIMATE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 275 out of 1000 EXPLAIN ESTIMATE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 276 out of 1000 EXPLAIN ESTIMATE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 277 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable('enable_optimizations=0'), 22 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable('enable_optimizations=0'), 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('toNullable'): toNullable('enable_optimizations=0'), 22. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 278 out of 1000 EXPLAIN ESTIMATE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 279 out of 1000 EXPLAIN PIPELINE SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 280 out of 1000 EXPLAIN AST SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 281 out of 1000 EXPLAIN SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 282 out of 1000 EXPLAIN QUERY TREE SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 283 out of 1000 EXPLAIN ESTIMATE SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 284 out of 1000 EXPLAIN ESTIMATE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 285 out of 1000 EXPLAIN QUERY TREE SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 286 out of 1000 EXPLAIN QUERY TREE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 287 out of 1000 EXPLAIN QUERY TREE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 288 out of 1000 SELECT toNullable(equals(toLowCardinality(19), current_database, currentDatabase()), 'enable_optimizations=0'), 22 Error on processing query 'SELECT toNullable(equals(toLowCardinality(19), current_database, currentDatabase()), 'enable_optimizations=0'), 22': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT toNullable(equals(toLowCardinality(19), current_database, currentDatabase()), 'enable_optimizations=0'), 22. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 289 out of 1000 EXPLAIN QUERY TREE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 290 out of 1000 EXPLAIN QUERY TREE SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 291 out of 1000 EXPLAIN SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 292 out of 1000 EXPLAIN SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 293 out of 1000 EXPLAIN SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 294 out of 1000 EXPLAIN SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 295 out of 1000 EXPLAIN SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 296 out of 1000 EXPLAIN SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 297 out of 1000 EXPLAIN SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 298 out of 1000 EXPLAIN SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 299 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 300 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 301 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 302 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 303 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 WHERE greater(current_database = currentDatabase(equals(normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)))), uniqExact(materialize(toUInt256(1)), thread_id) IGNORE NULLS, 2) Error on processing query 'SELECT toNullable('enable_optimizations=0'), 22 WHERE greater(current_database = currentDatabase(equals(normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)))), uniqExact(materialize(toUInt256(1)), thread_id) IGNORE NULLS, 2)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT toNullable('enable_optimizations=0'), 22 WHERE greater(current_database = currentDatabase(equals(normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)))), uniqExact(materialize(toUInt256(1)), thread_id) IGNORE NULLS, 2). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 304 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 305 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 306 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 307 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 308 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 309 out of 1000 SELECT (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toLowCardinality(toNullable(12))) AND 22 AND (event_date >= (today() - toUInt256(1))), 'enable_optimizations=0', 22 Error on processing query 'SELECT (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toLowCardinality(toNullable(12))) AND 22 AND (event_date >= (today() - toUInt256(1))), 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toLowCardinality(toNullable(12))) AND 22 AND (event_date >= (today() - toUInt256(1))), 'enable_optimizations=0', 22. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 310 out of 1000 SELECT 'enable_optimizations=0', 22 GROUP BY test_alias_skip_idx__fuzz_7 Error on processing query 'SELECT 'enable_optimizations=0', 22 GROUP BY test_alias_skip_idx__fuzz_7': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_7' in scope SELECT 'enable_optimizations=0', 22 GROUP BY test_alias_skip_idx__fuzz_7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 311 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 312 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 313 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 314 out of 1000 EXPLAIN QUERY TREE SELECT materialize('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 315 out of 1000 SELECT materialize('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 316 out of 1000 SELECT materialize('enable_optimizations=0'), 22 Got boring AST Fuzzing step 317 out of 1000 SELECT materialize('enable_optimizations=0'), 22 Got boring AST Fuzzing step 318 out of 1000 SELECT materialize('enable_optimizations=0'), 22 Got boring AST Fuzzing step 319 out of 1000 SELECT materialize('enable_optimizations=0'), 22 Got boring AST Fuzzing step 320 out of 1000 SELECT materialize('enable_optimizations=0'), 22 Got boring AST Fuzzing step 321 out of 1000 SELECT materialize('enable_optimizations=0'), 22 Got boring AST Fuzzing step 322 out of 1000 SELECT materialize('enable_optimizations=0'), 22 Got boring AST Fuzzing step 323 out of 1000 SELECT materialize('enable_optimizations=0'), 22 Got boring AST Fuzzing step 324 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 SELECT 'enable_optimizations=0', 22 WHERE uniqExact(100, thread_id) RESPECT NULLS Error on processing query 'SELECT 'enable_optimizations=0', 22 WHERE uniqExact(100, thread_id) RESPECT NULLS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 'enable_optimizations=0', 22 WHERE uniqExact(100, thread_id) RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 326 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 327 out of 1000 SELECT sum(number) IGNORE NULLS, 'enable_optimizations=0', 22 Error on processing query 'SELECT sum(number) IGNORE NULLS, 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'number' in scope SELECT sum(number) IGNORE NULLS, 'enable_optimizations=0', 22. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 328 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 329 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 330 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 331 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 332 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 333 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 334 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 335 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 336 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 337 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 338 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 339 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 340 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 341 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 342 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 343 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 344 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 345 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Query succeeded, using this AST as a start Fuzzing step 346 out of 1000 SELECT materialize('enable_optimizations=0'), toUInt128(22) Query succeeded, using this AST as a start Fuzzing step 347 out of 1000 SELECT materialize('enable_optimizations=0'), toUInt128(22) Got boring AST Fuzzing step 348 out of 1000 SELECT materialize('enable_optimizations=0'), toUInt128(22) Got boring AST Fuzzing step 349 out of 1000 SELECT materialize('enable_optimizations=0'), toUInt128(22) Got boring AST Fuzzing step 350 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Query succeeded, using this AST as a start Fuzzing step 351 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 352 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 353 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 354 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 355 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 356 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 357 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 358 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 359 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 360 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 361 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 362 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 363 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 364 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 365 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 366 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 367 out of 1000 SELECT 'enable_optimizations=0', toUInt128(22) Got boring AST Fuzzing step 368 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 369 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 370 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 372 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 373 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 374 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 375 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 376 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 377 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 378 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 379 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 380 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 381 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 382 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 383 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 384 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 385 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 386 out of 1000 SELECT 'enable_optimizations=0', 22 GROUP BY current_database = currentDatabase(toLowCardinality(12)), toLowCardinality(1), 19, equals(normalizeQuery(query), toUInt256(toUInt256(1)), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))) Error on processing query 'SELECT 'enable_optimizations=0', 22 GROUP BY current_database = currentDatabase(toLowCardinality(12)), toLowCardinality(1), 19, equals(normalizeQuery(query), toUInt256(toUInt256(1)), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);')))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 'enable_optimizations=0', 22 GROUP BY current_database = currentDatabase(toLowCardinality(12)), toLowCardinality(1), 19, equals(normalizeQuery(query), toUInt256(toUInt256(1)), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 387 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 388 out of 1000 SELECT 'enable_optimizations=0', 22 PREWHERE materialize(2) Error on processing query 'SELECT 'enable_optimizations=0', 22 PREWHERE materialize(2)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 389 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 390 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 391 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 392 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 393 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 394 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 395 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 396 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 397 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 398 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 399 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 400 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 401 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 402 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 403 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 404 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 405 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 406 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 407 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 408 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 409 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 411 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 412 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 413 out of 1000 EXPLAIN AST SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 414 out of 1000 EXPLAIN SYNTAX SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 44 (''enable_optimizations=0''): 'enable_optimizations=0', 22. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 416 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 44 (''enable_optimizations=0''): 'enable_optimizations=0', 22. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 417 out of 1000 EXPLAIN ESTIMATE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 418 out of 1000 EXPLAIN PIPELINE SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 420 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 421 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 422 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 423 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 424 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 425 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 426 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 427 out of 1000 SELECT materialize(toNullable('enable_optimizations=0')), 22 Query succeeded, using this AST as a start Fuzzing step 428 out of 1000 SELECT materialize(toNullable('enable_optimizations=0')), 22 Got boring AST Fuzzing step 429 out of 1000 SELECT materialize(toNullable('enable_optimizations=0')), 22 Got boring AST Fuzzing step 430 out of 1000 SELECT materialize(toNullable('enable_optimizations=0')), 22 Got boring AST Fuzzing step 431 out of 1000 SELECT materialize(toNullable('enable_optimizations=0')), 22 Got boring AST Fuzzing step 432 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 434 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 435 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 436 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 437 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 438 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable('enable_optimizations=0'), 22 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable('enable_optimizations=0'), 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('toNullable'): toNullable('enable_optimizations=0'), 22. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 439 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 440 out of 1000 SELECT toNullable('enable_optimizations=0'), 22 Got boring AST Fuzzing step 441 out of 1000 SELECT toNullable(toNullable(materialize(toLowCardinality(19))), 'enable_optimizations=0'), 22 Error on processing query 'SELECT toNullable(toNullable(materialize(toLowCardinality(19))), 'enable_optimizations=0'), 22': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toNullable(toNullable(materialize(toLowCardinality(19))), 'enable_optimizations=0'), 22. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 442 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 443 out of 1000 SELECT toLowCardinality(materialize(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 444 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(materialize(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(materialize(100)), 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(materialize(100)), 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(materialize(100)), 'enable_optimizations=0', 22. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 446 out of 1000 EXPLAIN AST SELECT toLowCardinality(materialize(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 447 out of 1000 EXPLAIN AST SELECT toLowCardinality(materialize(100)), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 448 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(materialize(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 449 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(materialize(100)), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 450 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(materialize(100)), 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(materialize(100)), 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(materialize(100)), 'enable_optimizations=0', 22. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 451 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(materialize(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 452 out of 1000 SELECT toLowCardinality(materialize(toNullable(100))), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 453 out of 1000 SELECT toLowCardinality(materialize(toNullable(100))), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 454 out of 1000 SELECT toLowCardinality(materialize(toNullable(100))), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 455 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(materialize(toNullable(toUInt256(100)))), 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(materialize(toNullable(toUInt256(100)))), 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(materialize(toNullable(toUInt256(100)))), 'enable_optimizations=0', 22. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 456 out of 1000 SELECT materialize(toNullable(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 457 out of 1000 SELECT materialize(toNullable(100)), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 458 out of 1000 SELECT toNullable(100), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 459 out of 1000 SELECT 100, 'enable_optimizations=0', toLowCardinality(toNullable(22)) Query succeeded, using this AST as a start Fuzzing step 460 out of 1000 SELECT 100, 'enable_optimizations=0', toLowCardinality(toNullable(22)) Got boring AST Fuzzing step 461 out of 1000 SELECT 100, 'enable_optimizations=0', toLowCardinality(toNullable(22)) Got boring AST Fuzzing step 462 out of 1000 SELECT 'enable_optimizations=0', toLowCardinality(toNullable(22)) Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 SELECT 'enable_optimizations=0', toLowCardinality(toNullable(22)) Got boring AST Fuzzing step 464 out of 1000 SELECT 'enable_optimizations=0', toLowCardinality(toNullable(22)) Got boring AST Fuzzing step 465 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Query succeeded, using this AST as a start Fuzzing step 466 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Got boring AST Fuzzing step 467 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Got boring AST Fuzzing step 468 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Got boring AST Fuzzing step 469 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Got boring AST Fuzzing step 470 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Got boring AST Fuzzing step 471 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Got boring AST Fuzzing step 472 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Got boring AST Fuzzing step 473 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Got boring AST Fuzzing step 474 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Got boring AST Fuzzing step 475 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) PREWHERE toFixedString(toLowCardinality('merge_expressions=0'), toLowCardinality(toLowCardinality(19))) Error on processing query 'SELECT 'enable_optimizations=0', toNullable(22) PREWHERE toFixedString(toLowCardinality('merge_expressions=0'), toLowCardinality(toLowCardinality(19)))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: LowCardinality(FixedString(19)). In query SELECT 'enable_optimizations=0', toNullable(22) PREWHERE toFixedString(toLowCardinality('merge_expressions=0'), toLowCardinality(toLowCardinality(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 476 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) PREWHERE 26 Error on processing query 'SELECT 'enable_optimizations=0', toNullable(22) PREWHERE 26': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 477 out of 1000 SELECT 'enable_optimizations=0', toNullable(22) Got boring AST Fuzzing step 478 out of 1000 SELECT 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 479 out of 1000 SELECT 'enable_optimizations=0', 22 PREWHERE (current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(1))))) Error on processing query 'SELECT 'enable_optimizations=0', 22 PREWHERE (current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(1)))))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT 'enable_optimizations=0', 22 PREWHERE (current_database = currentDatabase()) AND (19 >= (today() - toUInt128(toLowCardinality(toNullable(1))))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 480 out of 1000 SELECT 'enable_optimizations=0', 22 Got boring AST Fuzzing step 481 out of 1000 SELECT 'enable_optimizations=0', 22 PREWHERE test_alias_skip_idx__fuzz_46 Error on processing query 'SELECT 'enable_optimizations=0', 22 PREWHERE test_alias_skip_idx__fuzz_46': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_46' in scope SELECT 'enable_optimizations=0', 22 PREWHERE test_alias_skip_idx__fuzz_46. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 482 out of 1000 SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 483 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 484 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 485 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 486 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 489 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 490 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 491 out of 1000 SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 PREWHERE uniqExact(thread_id) IGNORE NULLS > materialize(2) Error on processing query 'SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 PREWHERE uniqExact(thread_id) IGNORE NULLS > materialize(2)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 PREWHERE uniqExact(thread_id) IGNORE NULLS > materialize(2). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 492 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 493 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 494 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('toLowCardinality'): toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 495 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 496 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 497 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 498 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 499 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('toLowCardinality'): toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 500 out of 1000 EXPLAIN AST SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 501 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 502 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 503 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 504 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 505 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 506 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 507 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 508 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 509 out of 1000 EXPLAIN SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 510 out of 1000 SELECT toLowCardinality(toUInt256(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 511 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(100), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 512 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 513 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(100), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 514 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 515 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(100), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 516 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 517 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(100), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 518 out of 1000 EXPLAIN SELECT toUInt256(100), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 519 out of 1000 EXPLAIN AST SELECT toUInt256(100), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 520 out of 1000 EXPLAIN AST SELECT toUInt256(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 521 out of 1000 EXPLAIN AST SELECT toUInt256(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 522 out of 1000 EXPLAIN AST SELECT toUInt256(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 523 out of 1000 EXPLAIN AST SELECT toUInt256(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 524 out of 1000 EXPLAIN AST SELECT toUInt256(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 525 out of 1000 EXPLAIN AST SELECT toUInt256(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 526 out of 1000 EXPLAIN AST SELECT toUInt256(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 527 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(100), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 528 out of 1000 SELECT toUInt256(100), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 529 out of 1000 SELECT 100, 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 530 out of 1000 SELECT 100, 'enable_optimizations=0', 22 Got boring AST Fuzzing step 531 out of 1000 SELECT 100, 'enable_optimizations=0', 22 Got boring AST Fuzzing step 532 out of 1000 SELECT 100, 'enable_optimizations=0', 22 Got boring AST Fuzzing step 533 out of 1000 SELECT materialize(toUInt128(100)), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 SELECT materialize(toUInt128(100)), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 535 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 536 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 537 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 538 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 539 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 540 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 541 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', 22 PREWHERE toUInt128(materialize(toNullable(toUInt256(19)))) AND toUInt256(100) AND (thread_id != master_thread_id) Error on processing query 'SELECT toUInt128(100), 'enable_optimizations=0', 22 PREWHERE toUInt128(materialize(toNullable(toUInt256(19)))) AND toUInt256(100) AND (thread_id != master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT toUInt128(100), 'enable_optimizations=0', 22 PREWHERE toUInt128(materialize(toNullable(toUInt256(19)))) AND toUInt256(100) AND (thread_id != master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 542 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 543 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 544 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 545 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', 22 GROUP BY toUInt256(toNullable(26)), toUInt128(materialize(materialize(toLowCardinality(12)))), a Error on processing query 'SELECT toUInt128(100), 'enable_optimizations=0', 22 GROUP BY toUInt256(toNullable(26)), toUInt128(materialize(materialize(toLowCardinality(12)))), a': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT toUInt128(100), 'enable_optimizations=0', 22 GROUP BY toUInt256(toNullable(26)), toUInt128(materialize(materialize(toLowCardinality(12)))), a. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 546 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 547 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 548 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 549 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 550 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', 22 Got boring AST Fuzzing step 551 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', toLowCardinality(22) Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, 'enable_optimizations=0', toLowCardinality(22) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, 'enable_optimizations=0', toLowCardinality(22)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('100'): 100, 'enable_optimizations=0', toLowCardinality(22). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 553 out of 1000 SELECT toUInt128(100), 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 554 out of 1000 SELECT 100, 'enable_optimizations=0', 22 Query succeeded, using this AST as a start Fuzzing step 555 out of 1000 SELECT 100, toNullable(toFixedString('enable_optimizations=0', 22)), 22 Query succeeded, using this AST as a start Fuzzing step 556 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100, toNullable(toFixedString('enable_optimizations=0', 22)), 22 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100, toNullable(toFixedString('enable_optimizations=0', 22)), 22': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('100'): 100, toNullable(toFixedString('enable_optimizations=0', 22)), 22. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 557 out of 1000 SELECT 100, toNullable(toFixedString('enable_optimizations=0', 22)), 22 Got boring AST Fuzzing step 558 out of 1000 SELECT 100, toNullable(toFixedString(22)), 22 Error on processing query 'SELECT 100, toNullable(toFixedString(22)), 22': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope SELECT 100, toNullable(toFixedString(22)), 22. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 559 out of 1000 SELECT 100, toNullable(toFixedString('enable_optimizations=0', 22)), 22 Got boring AST Fuzzing step 560 out of 1000 SELECT 100, toNullable(toFixedString('enable_optimizations=0', 22)), 22 Got boring AST Fuzzing step 561 out of 1000 SELECT 100, toNullable(toFixedString(toFixedString('enable_optimizations=0', 22), 22)), 22 Query succeeded, using this AST as a start Fuzzing step 562 out of 1000 EXPLAIN SELECT 100, toNullable(toFixedString('enable_optimizations=0', 22, 22)), 22 Error on processing query 'EXPLAIN SELECT 100, toNullable(toFixedString('enable_optimizations=0', 22, 22)), 22': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope SELECT 100, toNullable(toFixedString('enable_optimizations=0', 22, 22)), 22. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 22. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 23. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 563 out of 1000 SELECT 100, toNullable(toFixedString(toFixedString('enable_optimizations=0', 22), 22)), 22 Got boring AST Fuzzing step 564 out of 1000 SELECT 100, toFixedString(toFixedString('enable_optimizations=0', 22), 22), 22 Query succeeded, using this AST as a start Fuzzing step 565 out of 1000 SELECT 100, toFixedString(toFixedString('enable_optimizations=0', 22), 22), 22 Got boring AST Fuzzing step 566 out of 1000 SELECT 100, toFixedString(toFixedString('enable_optimizations=0', 22), 22), 22 Got boring AST Fuzzing step 567 out of 1000 SELECT 100, toFixedString(toFixedString('enable_optimizations=0', 22), 22), 22 Got boring AST Fuzzing step 568 out of 1000 SELECT toLowCardinality(100), toFixedString(toFixedString('enable_optimizations=0', 22), 22), 22 Query succeeded, using this AST as a start Fuzzing step 569 out of 1000 SELECT toLowCardinality(100), toFixedString(materialize(22)), 22 Error on processing query 'SELECT toLowCardinality(100), toFixedString(materialize(22)), 22': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope SELECT toLowCardinality(100), toFixedString(materialize(22)), 22. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 570 out of 1000 SELECT toLowCardinality(100), toFixedString('enable_optimizations=0', 22, 22), 22 Error on processing query 'SELECT toLowCardinality(100), toFixedString('enable_optimizations=0', 22, 22), 22': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope SELECT toLowCardinality(100), toFixedString('enable_optimizations=0', 22, 22), 22. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 571 out of 1000 SELECT toLowCardinality(100), toFixedString('enable_optimizations=0', 22, 22), 22 Error on processing query 'SELECT toLowCardinality(100), toFixedString('enable_optimizations=0', 22, 22), 22': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope SELECT toLowCardinality(100), toFixedString('enable_optimizations=0', 22, 22), 22. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 572 out of 1000 SELECT toLowCardinality(100), toFixedString(toFixedString('enable_optimizations=0', 22), 22), 22 Got boring AST Fuzzing step 573 out of 1000 SELECT toLowCardinality(100), toFixedString('enable_optimizations=0', 22, 22), 22 Error on processing query 'SELECT toLowCardinality(100), toFixedString('enable_optimizations=0', 22, 22), 22': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope SELECT toLowCardinality(100), toFixedString('enable_optimizations=0', 22, 22), 22. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 574 out of 1000 SELECT toLowCardinality(100), toFixedString(toFixedString('enable_optimizations=0', 22), 22), 22 Got boring AST Fuzzing step 575 out of 1000 SELECT toLowCardinality(100), toFixedString(toFixedString('enable_optimizations=0', 22), toLowCardinality(22)), 22 Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 SELECT toLowCardinality(100), toFixedString(toFixedString('enable_optimizations=0', 22), toLowCardinality(22)), 22 Got boring AST Fuzzing step 577 out of 1000 SELECT toLowCardinality(100), toFixedString(toFixedString('enable_optimizations=0', 22), toLowCardinality(22)), 22 Got boring AST Fuzzing step 578 out of 1000 SELECT toLowCardinality(100), toFixedString(toFixedString(materialize('enable_optimizations=0'), 22), toLowCardinality(test_alias_skip_idx__fuzz_14, 100, 22)), 22 Error on processing query 'SELECT toLowCardinality(100), toFixedString(toFixedString(materialize('enable_optimizations=0'), 22), toLowCardinality(test_alias_skip_idx__fuzz_14, 100, 22)), 22': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_14' in scope SELECT toLowCardinality(100), toFixedString(toFixedString(materialize('enable_optimizations=0'), 22), toLowCardinality(test_alias_skip_idx__fuzz_14, 100, 22)), 22. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 579 out of 1000 SELECT toLowCardinality(100), toFixedString('enable_optimizations=0', 22), toLowCardinality(22), 22 Query succeeded, using this AST as a start Fuzzing step 580 out of 1000 SELECT toLowCardinality(100), toFixedString(toLowCardinality('enable_optimizations=0'), 22), toLowCardinality(22), 22 Query succeeded, using this AST as a start Fuzzing step 581 out of 1000 SELECT toLowCardinality(100), toFixedString(toLowCardinality('enable_optimizations=0'), 22), toLowCardinality(22), 22 Got boring AST Fuzzing step 582 out of 1000 EXPLAIN PIPELINE compact = true SELECT toLowCardinality(100), toFixedString('enable_optimizations=0', 22), toLowCardinality(22), 22 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT toLowCardinality(100), toFixedString('enable_optimizations=0', 22), toLowCardinality(22), 22': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 583 out of 1000 EXPLAIN PIPELINE SELECT 100, toFixedString(toLowCardinality('enable_optimizations=0'), 22), toLowCardinality(22), 22 Query succeeded, using this AST as a start Fuzzing step 584 out of 1000 SELECT 100, toFixedString(toLowCardinality('enable_optimizations=0'), 22), toLowCardinality(22), 22 Query succeeded, using this AST as a start Fuzzing step 585 out of 1000 SELECT 100, toLowCardinality('enable_optimizations=0'), 22, 22, 22 Query succeeded, using this AST as a start Fuzzing step 586 out of 1000 SELECT 100, 'enable_optimizations=0', 22, 22, 22 Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 SELECT 100, 'enable_optimizations=0', 22, 22, 22 Got boring AST Fuzzing step 588 out of 1000 SELECT 100, 'enable_optimizations=0', 22, 22, 22 Got boring AST Fuzzing step 589 out of 1000 SELECT 100, 'enable_optimizations=0', 22, 22, 22 Got boring AST Fuzzing step 590 out of 1000 EXPLAIN `header, description` = true, actions = true, optimize = true, sorting = true SELECT 100, 'enable_optimizations=0', 22, 22, 22 Error on processing query 'EXPLAIN `header, description` = true, actions = true, optimize = true, sorting = true SELECT 100, 'enable_optimizations=0', 22, 22, 22': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 591 out of 1000 SELECT 100, 'enable_optimizations=0', 22, 22, 22 Got boring AST Fuzzing step 592 out of 1000 SELECT 100, 'enable_optimizations=0', 22, 22, 22 Got boring AST Fuzzing step 593 out of 1000 SELECT 100, 'enable_optimizations=0', 22, 22, 22 Got boring AST Fuzzing step 594 out of 1000 SELECT 100, 'enable_optimizations=0', 22, 22, 22 Got boring AST Fuzzing step 595 out of 1000 SELECT 100, 'enable_optimizations=0', 22, 22, 22 Got boring AST Fuzzing step 596 out of 1000 SELECT 100, 'enable_optimizations=0', 22, 22, 22 Got boring AST Fuzzing step 597 out of 1000 SELECT 100, 'enable_optimizations=0', 22, 22, 22 Got boring AST Fuzzing step 598 out of 1000 SELECT 100, 'enable_optimizations=0', 22, 22, 22 Got boring AST Fuzzing step 599 out of 1000 SELECT toLowCardinality('nested_alias'), 100, 'enable_optimizations=0', 22, 22, toLowCardinality(22) Query succeeded, using this AST as a start Fuzzing step 600 out of 1000 SELECT toLowCardinality('nested_alias'), 100, 'enable_optimizations=0', 22, 22, toLowCardinality(22) Got boring AST Fuzzing step 601 out of 1000 SELECT toLowCardinality('nested_alias'), 100, 'enable_optimizations=0', 22, 22, 22 Query succeeded, using this AST as a start Fuzzing step 602 out of 1000 SELECT toLowCardinality('nested_alias'), 100, 'enable_optimizations=0', 22, 22, 22 Got boring AST Fuzzing step 603 out of 1000 SELECT toLowCardinality('nested_alias'), 100, 'enable_optimizations=0', 22, 22, 22 Got boring AST Fuzzing step 604 out of 1000 EXPLAIN AST graph = true SELECT toLowCardinality('nested_alias'), materialize(100), 'enable_optimizations=0', 22, 22, 22 Error on processing query 'EXPLAIN AST graph = true SELECT toLowCardinality('nested_alias'), materialize(100), 'enable_optimizations=0', 22, 22, 22': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 605 out of 1000 SELECT toLowCardinality('nested_alias'), 100, 'enable_optimizations=0', 22, 22, 22 Got boring AST Fuzzing step 606 out of 1000 SELECT toLowCardinality('nested_alias'), toNullable(100), materialize(toLowCardinality('enable_optimizations=0')), 22, 22, 22 Query succeeded, using this AST as a start Fuzzing step 607 out of 1000 SELECT toLowCardinality('nested_alias'), 100, materialize(toLowCardinality('enable_optimizations=0')), toLowCardinality(22), 22, toLowCardinality(22) Query succeeded, using this AST as a start Fuzzing step 608 out of 1000 SELECT 'nested_alias', 100, materialize(toLowCardinality('enable_optimizations=0')), 22, 22, toLowCardinality(22) Query succeeded, using this AST as a start Fuzzing step 609 out of 1000 SELECT 'nested_alias', 100, toLowCardinality('enable_optimizations=0'), 22, 22, 22 Query succeeded, using this AST as a start Fuzzing step 610 out of 1000 SELECT 'nested_alias', 100, toLowCardinality('enable_optimizations=0'), 22, 22, 22 Got boring AST Fuzzing step 611 out of 1000 SELECT 'nested_alias', 100, toLowCardinality('enable_optimizations=0'), 22, 22, 22 Got boring AST Fuzzing step 612 out of 1000 SELECT 'nested_alias', 100, toLowCardinality('enable_optimizations=0'), toUInt128(22), 22, materialize(toUInt256(22)) Query succeeded, using this AST as a start Fuzzing step 613 out of 1000 SELECT 'nested_alias', toNullable(100), toLowCardinality('enable_optimizations=0'), 22, 22, materialize(22) Query succeeded, using this AST as a start Fuzzing step 614 out of 1000 SELECT 'nested_alias', toNullable(100), toLowCardinality('enable_optimizations=0'), 22, 22, materialize(22) Got boring AST Fuzzing step 615 out of 1000 SELECT 'nested_alias', toNullable(100), toLowCardinality(equals(current_database, (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND notEquals(thread_id, test_alias_skip_idx__fuzz_11, master_thread_id), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58))) AND (event_date >= (today() - 1)), toFixedString('enable_optimizations=0', 22)), 22, 22, materialize(22) Error on processing query 'SELECT 'nested_alias', toNullable(100), toLowCardinality(equals(current_database, (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND notEquals(thread_id, test_alias_skip_idx__fuzz_11, master_thread_id), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58))) AND (event_date >= (today() - 1)), toFixedString('enable_optimizations=0', 22)), 22, 22, materialize(22)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT 'nested_alias', toNullable(100), toLowCardinality(equals(current_database, (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND notEquals(thread_id, test_alias_skip_idx__fuzz_11, master_thread_id), currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58))) AND (event_date >= (today() - 1)), toFixedString('enable_optimizations=0', 22)), 22, 22, materialize(22). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 616 out of 1000 SELECT 'nested_alias', toNullable(100), 'enable_optimizations=0', 22, 22, 22 Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 SELECT toFixedString('nested_alias', 12), toNullable(100), 'enable_optimizations=0', 22, toLowCardinality(toUInt256(22)), 22 Query succeeded, using this AST as a start Fuzzing step 618 out of 1000 SELECT toFixedString('nested_alias', 12), toNullable(100), 'enable_optimizations=0', 22, toLowCardinality(22), 22 Query succeeded, using this AST as a start Fuzzing step 619 out of 1000 SELECT 'nested_alias', 12, toNullable(100), 'enable_optimizations=0', 22, toLowCardinality(22), 22 Query succeeded, using this AST as a start Fuzzing step 620 out of 1000 SELECT 'nested_alias', 12, toNullable(100), 'enable_optimizations=0', 22, toLowCardinality(22), 22 Got boring AST Fuzzing step 621 out of 1000 SELECT 'nested_alias', 12, toNullable(100), 'enable_optimizations=0', 22, toLowCardinality(22), 22 Got boring AST Fuzzing step 622 out of 1000 SELECT 'nested_alias', 12, toNullable(100), 'enable_optimizations=0', 22, toLowCardinality(22), 22 Got boring AST Fuzzing step 623 out of 1000 SELECT 'nested_alias', 12, toNullable(100), 'enable_optimizations=0', 22, toLowCardinality(22), 22 GROUP BY materialize(toLowCardinality(toNullable(toUInt128(12)))) Query succeeded, using this AST as a start Fuzzing step 624 out of 1000 SELECT 'nested_alias', 12, toNullable(100), 'enable_optimizations=0', 22, toLowCardinality(22), 22 GROUP BY materialize(toLowCardinality(toNullable(toUInt128(12)))) Got boring AST Fuzzing step 625 out of 1000 SELECT 'nested_alias', 12, toNullable(100), 'enable_optimizations=0', 22, toLowCardinality(22), 22 GROUP BY materialize(toLowCardinality(toNullable(toUInt128(12)))) Got boring AST Fuzzing step 626 out of 1000 SELECT 'nested_alias', 12, toNullable(test_alias_skip_idx__fuzz_5, 100), 'enable_optimizations=0', 22, toLowCardinality(22), 22 GROUP BY materialize(toLowCardinality(toNullable(12))) Error on processing query 'SELECT 'nested_alias', 12, toNullable(test_alias_skip_idx__fuzz_5, 100), 'enable_optimizations=0', 22, toLowCardinality(22), 22 GROUP BY materialize(toLowCardinality(toNullable(12)))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_5' in scope SELECT 'nested_alias', 12, toNullable(test_alias_skip_idx__fuzz_5, 100), 'enable_optimizations=0', 22, toLowCardinality(22), 22 GROUP BY materialize(toLowCardinality(toNullable(12))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 627 out of 1000 SELECT 'nested_alias', 12, toNullable(100), 'enable_optimizations=0', 22, 22, 22 GROUP BY materialize(toLowCardinality(toNullable(toUInt128(12)))) Query succeeded, using this AST as a start Fuzzing step 628 out of 1000 SELECT 'nested_alias', 12, toNullable(100), 'enable_optimizations=0', 22, 22, toUInt128(22) GROUP BY materialize(toLowCardinality(toNullable(toUInt128(uniqExact(thread_id) RESPECT NULLS > toNullable(toLowCardinality(toNullable(toNullable(19), 100, 1091 AS id))), 12)))) Error on processing query 'SELECT 'nested_alias', 12, toNullable(100), 'enable_optimizations=0', 22, 22, toUInt128(22) GROUP BY materialize(toLowCardinality(toNullable(toUInt128(uniqExact(thread_id) RESPECT NULLS > toNullable(toLowCardinality(toNullable(toNullable(19), 100, 1091 AS id))), 12))))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 'nested_alias', 12, toNullable(100), 'enable_optimizations=0', 22, 22, toUInt128(22) GROUP BY materialize(toLowCardinality(toNullable(toUInt128(uniqExact(thread_id) RESPECT NULLS > toNullable(toLowCardinality(toNullable(toNullable(19), 100, 1091 AS id))), 12)))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 19. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 22. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 24. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 25. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 27. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 28. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 31. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 Fuzzing step 629 out of 1000 SELECT 'nested_alias', 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY materialize(toLowCardinality(toNullable(toUInt128(12)))) Query succeeded, using this AST as a start Fuzzing step 630 out of 1000 SELECT 'nested_alias', 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY materialize(toLowCardinality(toNullable(toUInt128(12)))) Got boring AST Fuzzing step 631 out of 1000 SELECT 'nested_alias', 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY materialize(toLowCardinality(toNullable(toUInt128(12)))) Got boring AST Fuzzing step 632 out of 1000 SELECT 'nested_alias', 12, 100, 'enable_optimizations=0', 22, 22, 22 WHERE toLowCardinality(1, toLowCardinality(19)) GROUP BY materialize(toLowCardinality(toNullable(toUInt128(12)))) WITH ROLLUP Error on processing query 'SELECT 'nested_alias', 12, 100, 'enable_optimizations=0', 22, 22, 22 WHERE toLowCardinality(1, toLowCardinality(19)) GROUP BY materialize(toLowCardinality(toNullable(toUInt128(12)))) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 'nested_alias', 12, 100, 'enable_optimizations=0', 22, 22, 22 WHERE toLowCardinality(1, toLowCardinality(19)) GROUP BY materialize(toLowCardinality(toNullable(toUInt128(12)))) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 633 out of 1000 SELECT 'nested_alias', 12, 100, 'enable_optimizations=0', 22, 22, 22 WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 100, 'enable_optimizations=0', 22, 22, 22 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 634 out of 1000 SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY materialize(toLowCardinality(toNullable(toUInt128(12)))) Query succeeded, using this AST as a start Fuzzing step 635 out of 1000 SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY materialize(toNullable(toUInt128(12))) Query succeeded, using this AST as a start Fuzzing step 636 out of 1000 SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(toUInt128(12)) Query succeeded, using this AST as a start Fuzzing step 637 out of 1000 SELECT toFixedString('nested_alias', materialize(toNullable(12))), 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(toUInt128(12)) Error on processing query 'SELECT toFixedString('nested_alias', materialize(toNullable(12))), 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(toUInt128(12))': Received from localhost:9000. DB::Exception: Second argument for function toFixedString must be constant: In scope SELECT toFixedString('nested_alias', materialize(toNullable(12))), 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(toUInt128(12)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/toFixedString.h:0: DB::FunctionToFixedString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b796de2 5. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 638 out of 1000 SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, 22, toLowCardinality(toUInt128(22)) GROUP BY toNullable(toUInt128(12)) Query succeeded, using this AST as a start Fuzzing step 639 out of 1000 SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, 22, toUInt128(22) GROUP BY toNullable(toUInt128(12)) Query succeeded, using this AST as a start Fuzzing step 640 out of 1000 SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, 22, toUInt128(22) GROUP BY toNullable(toUInt128(12)) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 641 out of 1000 SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, toLowCardinality(22), toUInt128(22) GROUP BY toNullable(toUInt128(12)) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 642 out of 1000 SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, toLowCardinality(22), toUInt128(22) GROUP BY toNullable(12) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 643 out of 1000 SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, toLowCardinality(22), toUInt128(22) GROUP BY toNullable(12) WITH CUBE Got boring AST Fuzzing step 644 out of 1000 SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, toLowCardinality(22), toUInt128(22) GROUP BY toNullable(12) WITH CUBE Got boring AST Fuzzing step 645 out of 1000 SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, toLowCardinality(22), toUInt128(22) GROUP BY 12 WITH CUBE Error on processing query 'SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, toLowCardinality(22), toUInt128(22) GROUP BY 12 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 7]. In scope SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, toLowCardinality(22), toUInt128(22) GROUP BY 12 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 646 out of 1000 SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, toLowCardinality(22), toUInt128(22) GROUP BY toNullable(toUInt128(materialize(toNullable(19)), toUInt256(19), 19), 12) WITH CUBE Error on processing query 'SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, toLowCardinality(22), toUInt128(22) GROUP BY toNullable(toUInt128(materialize(toNullable(19)), toUInt256(19), 19), 12) WITH CUBE': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt128'. Expected 1 argument, got 3 arguments: In scope SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, toLowCardinality(22), toUInt128(22) GROUP BY toNullable(toUInt128(materialize(toNullable(19)), toUInt256(19), 19), 12) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 647 out of 1000 SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, toLowCardinality(22), toUInt128(22) GROUP BY toNullable(12) WITH CUBE Got boring AST Fuzzing step 648 out of 1000 SELECT toFixedString('nested_alias', 12), 12, 100, 'enable_optimizations=0', 22, 22, toUInt128(22) GROUP BY toNullable(12) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 649 out of 1000 SELECT 'nested_alias', 12, 12, 100, 'enable_optimizations=0', 22, 22, toUInt128(22) GROUP BY toNullable(toNullable(12)) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 SELECT 'nested_alias', 12, 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(toNullable(12)) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 651 out of 1000 SELECT 'nested_alias', 12, toLowCardinality(toNullable(12)), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(toNullable(12)) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 652 out of 1000 SELECT 'nested_alias', 12, toLowCardinality(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(toNullable(12)) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 653 out of 1000 SELECT 'nested_alias', toUInt256(12), toLowCardinality(toLowCardinality(toNullable(12))), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(toNullable(12)) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 654 out of 1000 SELECT 'nested_alias', toUInt256(12), toLowCardinality(toNullable(12)), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(12) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 655 out of 1000 SELECT 'nested_alias', toUInt256(12), toLowCardinality(toNullable(12)), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE Error on processing query 'SELECT 'nested_alias', toUInt256(12), toLowCardinality(toNullable(12)), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 8]. In scope SELECT 'nested_alias', toUInt256(12), toLowCardinality(toNullable(12)), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 656 out of 1000 SELECT 'nested_alias', toUInt256(12), toLowCardinality(toNullable(12)), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(12) WITH CUBE Got boring AST Fuzzing step 657 out of 1000 SELECT 'nested_alias', toUInt256(12), toLowCardinality(toNullable(12)), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE Error on processing query 'SELECT 'nested_alias', toUInt256(12), toLowCardinality(toNullable(12)), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 8]. In scope SELECT 'nested_alias', toUInt256(12), toLowCardinality(toNullable(12)), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 658 out of 1000 SELECT 'nested_alias', 12, toLowCardinality(toNullable(12)), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(2147483646, 12) WITH CUBE Error on processing query 'SELECT 'nested_alias', 12, toLowCardinality(toNullable(12)), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(2147483646, 12) 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 'nested_alias', 12, toLowCardinality(toNullable(12)), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(2147483646, 12) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 659 out of 1000 SELECT 'nested_alias', toUInt256(12), toLowCardinality(toNullable(12)), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(12) WITH CUBE Got boring AST Fuzzing step 660 out of 1000 SELECT 'nested_alias', toUInt256(12), toLowCardinality(toNullable(12)), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(12) WITH CUBE Got boring AST Fuzzing step 661 out of 1000 SELECT 'nested_alias', toUInt256(12), toNullable(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE Error on processing query 'SELECT 'nested_alias', toUInt256(12), toNullable(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 8]. In scope SELECT 'nested_alias', toUInt256(12), toNullable(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 662 out of 1000 SELECT 'nested_alias', toUInt256(12), toLowCardinality(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(12) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 663 out of 1000 SELECT 'nested_alias', toUInt256(12), toLowCardinality(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(12) WITH CUBE Got boring AST Fuzzing step 664 out of 1000 SELECT 'nested_alias', 12, 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(12) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 665 out of 1000 SELECT 'nested_alias', 12, 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(12) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 666 out of 1000 SELECT 'nested_alias', 12, 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 667 out of 1000 SELECT 'nested_alias', 12, 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 668 out of 1000 SELECT 'nested_alias', 12, 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 8]. In scope SELECT 'nested_alias', 12, 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 669 out of 1000 EXPLAIN QUERY TREE dump_passes = true, dump_ast = true, passes = true SELECT 'nested_alias', 12, 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(12) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN QUERY TREE dump_passes = true, dump_ast = true, passes = true SELECT 'nested_alias', 12, 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(12) WITH CUBE WITH TOTALS': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 670 out of 1000 SELECT 'nested_alias', materialize(12), 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'nested_alias', materialize(12), 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 8]. In scope SELECT 'nested_alias', materialize(12), 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 671 out of 1000 SELECT 'nested_alias', 12, 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 672 out of 1000 SELECT 'nested_alias', 12, 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 673 out of 1000 SELECT 'nested_alias', 12, 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 674 out of 1000 SELECT 'nested_alias', 12, 12, 100, materialize(toLowCardinality('enable_optimizations=0')), 22, 22, 22 GROUP BY toNullable(12) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 675 out of 1000 SELECT 'nested_alias', 12, 12, 100, materialize(toLowCardinality('enable_optimizations=0')), 22, 22, 22 GROUP BY toNullable(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 676 out of 1000 SELECT 'nested_alias', 12, 12, 100, materialize(toLowCardinality('enable_optimizations=0')), 22, 22, 22 GROUP BY toNullable(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 677 out of 1000 SELECT 'nested_alias', 12, 12, 100, materialize('enable_optimizations=0'), 22, 22, 22 GROUP BY toNullable(12) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 EXPLAIN PIPELINE header = true SELECT 'nested_alias', 12, 12, 100, materialize('enable_optimizations=0'), 22, materialize(22), 22 GROUP BY toNullable(12) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN PIPELINE header = true SELECT 'nested_alias', 12, 12, 100, materialize('enable_optimizations=0'), 22, materialize(22), 22 GROUP BY toNullable(12) WITH CUBE 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 679 out of 1000 SELECT 'nested_alias', 12, 12, 100, materialize('enable_optimizations=0'), 22, 22, 22 GROUP BY toNullable(materialize(12)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 680 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(100), materialize('enable_optimizations=0'), 22, 22, 22 GROUP BY toNullable(materialize(12)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 681 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(100), materialize('enable_optimizations=0'), 22, 22, 22 GROUP BY toNullable(materialize(12)) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 682 out of 1000 SELECT 'nested_alias', 12, 12, 100, materialize('enable_optimizations=0'), 22, 22, 22 GROUP BY materialize(12) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 683 out of 1000 SELECT 'nested_alias', 12, 12, 100, materialize('enable_optimizations=0'), 22, 22, 22 GROUP BY materialize(toNullable(12)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 684 out of 1000 SELECT 'nested_alias', 12, 12, 100, materialize('enable_optimizations=0'), 22, 22, 22 GROUP BY materialize(toNullable(12)) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 685 out of 1000 SELECT 'nested_alias', 12, 12, 100, materialize('enable_optimizations=0'), 22, 22, 22 GROUP BY materialize(toNullable(12)) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 686 out of 1000 SELECT 'nested_alias', 12, 12, 100, materialize('enable_optimizations=0'), 22, 22, 22 GROUP BY toNullable(12) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 687 out of 1000 SELECT 'nested_alias', 12, 12, 100, materialize('enable_optimizations=0'), 22, 22, 22 GROUP BY toNullable(toLowCardinality(12)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 688 out of 1000 SELECT 'nested_alias', 12, 12, 100, materialize('enable_optimizations=0'), 22, 22, 22 GROUP BY toLowCardinality(12) WITH ROLLUP WITH CUBE WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, 100, materialize('enable_optimizations=0'), 22, 22, 22 GROUP BY toLowCardinality(12) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 689 out of 1000 SELECT 'nested_alias', 12, 12, 100, materialize('enable_optimizations=0'), 22, 22, 22 GROUP BY toNullable(toLowCardinality(12)) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 690 out of 1000 SELECT 'nested_alias', 12, 12, 100, materialize('enable_optimizations=0'), 22, 22, 22 GROUP BY toNullable(toLowCardinality(12)) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 691 out of 1000 SELECT 'nested_alias', 12, 12, 100, materialize('enable_optimizations=0'), 22, 22, 22 GROUP BY toNullable(toLowCardinality(12)) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 692 out of 1000 SELECT 'nested_alias', 12, 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toNullable(toLowCardinality(12)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 693 out of 1000 SELECT 'nested_alias', 12, 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 694 out of 1000 SELECT 'nested_alias', 12, 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 695 out of 1000 SELECT 'nested_alias', 12, toUInt256(12), 100, 'enable_optimizations=0', 22, 22, toUInt256(22) GROUP BY toLowCardinality(toLowCardinality(12)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 696 out of 1000 SELECT 'nested_alias', 12, toUInt256(12), 100, 'enable_optimizations=0', 22, 22, toUInt256(22) GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 697 out of 1000 SELECT 'nested_alias', 12, toUInt256(and(thread_id != master_thread_id), 12), 100, 'enable_optimizations=0', 22, 22, toUInt256(22) GROUP BY toLowCardinality(event_date >= (today(currentDatabase(toLowCardinality(2147483647))) - 1), 12) WITH CUBE WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, toUInt256(and(thread_id != master_thread_id), 12), 100, 'enable_optimizations=0', 22, 22, toUInt256(22) GROUP BY toLowCardinality(event_date >= (today(currentDatabase(toLowCardinality(2147483647))) - 1), 12) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 'nested_alias', 12, toUInt256(and(thread_id != master_thread_id), 12), 100, 'enable_optimizations=0', 22, 22, toUInt256(22) GROUP BY toLowCardinality(event_date >= (today(currentDatabase(toLowCardinality(2147483647))) - 1), 12) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 698 out of 1000 SELECT 'nested_alias', 12, toUInt256(12), 100, 'enable_optimizations=0', 22, 22, toUInt256(22) GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 699 out of 1000 EXPLAIN SYNTAX SELECT 'nested_alias', 12, toUInt256(12), 100, toNullable('enable_optimizations=0'), 22, 22, toUInt256(22) GROUP BY 12 WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN SYNTAX SELECT 'nested_alias', 12, toUInt256(12), 100, toNullable('enable_optimizations=0'), 22, 22, toUInt256(22) GROUP BY 12 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument out of bounds: 12 (expected in range [1, 8]: While processing SELECT 'nested_alias', 12, toUInt256(12), 100, toNullable('enable_optimizations=0'), 22, 22, toUInt256(22) GROUP BY 12 WITH CUBE WITH TOTALS: While processing SELECT 'nested_alias', 12, toUInt256(12), 100, toNullable('enable_optimizations=0'), 22, 22, toUInt256(22) GROUP BY 12 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x000000001199a4f8 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&) @ 0x000000001189c5c0 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) @ 0x000000001189779f 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 @ 0x0000000011891fc6 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 13. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 700 out of 1000 SELECT 'nested_alias', 12, toUInt256(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 701 out of 1000 SELECT 'nested_alias', 12, toUInt256(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 702 out of 1000 SELECT 'nested_alias', 12, toUInt256(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 703 out of 1000 SELECT 'nested_alias', 12, toUInt256(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 704 out of 1000 SELECT 'nested_alias', 12, toUInt256(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toLowCardinality(9223372036854775806, 12) WITH CUBE WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, toUInt256(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toLowCardinality(9223372036854775806, 12) 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 'nested_alias', 12, toUInt256(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toLowCardinality(9223372036854775806, 12) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 705 out of 1000 SELECT 'nested_alias', 12, toUInt256(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 706 out of 1000 SELECT 'nested_alias', 12, toUInt256(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 707 out of 1000 SELECT 'nested_alias', 12, toUInt256(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 708 out of 1000 SELECT 'nested_alias', 12, toUInt256(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, toUInt256(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 8]. In scope SELECT 'nested_alias', 12, toUInt256(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY 12 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 709 out of 1000 SELECT 'nested_alias', 12, toUInt256(12), 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 710 out of 1000 SELECT 'nested_alias', materialize(toUInt128(12)), 12, 100, 'enable_optimizations=0', 22, 22, 22 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 711 out of 1000 SELECT 'nested_alias', materialize(toUInt128(12)), 12, 100 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 712 out of 1000 SELECT 'nested_alias', toUInt128(12), 12, 100 GROUP BY 12 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'nested_alias', toUInt128(12), 12, 100 GROUP BY 12 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 4]. In scope SELECT 'nested_alias', toUInt128(12), 12, 100 GROUP BY 12 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 713 out of 1000 SELECT 'nested_alias', materialize(toUInt128(12)), 12, 100 GROUP BY 12 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'nested_alias', materialize(toUInt128(12)), 12, 100 GROUP BY 12 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 4]. In scope SELECT 'nested_alias', materialize(toUInt128(12)), 12, 100 GROUP BY 12 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 714 out of 1000 SELECT 'nested_alias', toUInt128(12), 12, 100 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 715 out of 1000 SELECT 'nested_alias', toUInt128(12), 12, 100 GROUP BY 12 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'nested_alias', toUInt128(12), 12, 100 GROUP BY 12 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 4]. In scope SELECT 'nested_alias', toUInt128(12), 12, 100 GROUP BY 12 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 716 out of 1000 SELECT 'nested_alias', 12, 12, 100 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 717 out of 1000 SELECT 'nested_alias', 12, 12, materialize(toUInt128(100)), 100 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 718 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(100), 100 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 719 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(100), 100 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 720 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(100), 100 WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, toUInt128(100), 100 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 721 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(100), 100 GROUP BY 12 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, toUInt128(100), 100 GROUP BY 12 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 5]. In scope SELECT 'nested_alias', 12, 12, toUInt128(100), 100 GROUP BY 12 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 722 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(100), 100 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 723 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(100), 100 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 724 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(100), 100 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 725 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(100), 100 GROUP BY toLowCardinality(12) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 726 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(100), 100 GROUP BY toLowCardinality(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 727 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(100), 100 GROUP BY 12 WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, toUInt128(100), 100 GROUP BY 12 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 5]. In scope SELECT 'nested_alias', 12, 12, toUInt128(100), 100 GROUP BY 12 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 728 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(materialize(toNullable(100))), 100 GROUP BY toLowCardinality(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 729 out of 1000 SELECT toLowCardinality('nested_alias'), 12, 12, toUInt128(materialize(toNullable(100))), 100 GROUP BY toLowCardinality(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 730 out of 1000 SELECT toLowCardinality('nested_alias'), 12, 12, toUInt128(materialize(toNullable(100))), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 731 out of 1000 SELECT toLowCardinality('nested_alias'), 12, 12, toUInt128(materialize(toNullable(100))), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 732 out of 1000 SELECT toLowCardinality('nested_alias'), 12, 12, toUInt128(materialize(toNullable(100))), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 733 out of 1000 SELECT toLowCardinality('nested_alias'), 12, 12, toUInt128(materialize(100)), 100 GROUP BY toLowCardinality(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 734 out of 1000 SELECT toLowCardinality('nested_alias'), 12, 12, toUInt128(materialize(100)), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 735 out of 1000 SELECT toLowCardinality('nested_alias'), 12, 12, toUInt128(materialize(100)), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 736 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality('nested_alias'), 12, 12, toUInt128(materialize(100)), 100 GROUP BY 12 WITH TOTALS Error on processing query 'EXPLAIN ESTIMATE SELECT toLowCardinality('nested_alias'), 12, 12, toUInt128(materialize(100)), 100 GROUP BY 12 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 5]. In scope SELECT toLowCardinality('nested_alias'), 12, 12, toUInt128(materialize(100)), 100 GROUP BY 12 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 737 out of 1000 SELECT toLowCardinality('nested_alias'), 12, 12, toUInt128(materialize(100)), toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY toLowCardinality(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 738 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(materialize(100)), toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY toLowCardinality(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 739 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(materialize(100)), toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 740 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(materialize(100)), toFixedString('WITH 01091 AS id SELECT 1;', uniqExact(toNullable(toNullable(1)), thread_id) > 2, 26), 100 GROUP BY toLowCardinality(12) WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, toUInt128(materialize(100)), toFixedString('WITH 01091 AS id SELECT 1;', uniqExact(toNullable(toNullable(1)), thread_id) > 2, 26), 100 GROUP BY toLowCardinality(12) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 'nested_alias', 12, 12, toUInt128(materialize(100)), toFixedString('WITH 01091 AS id SELECT 1;', uniqExact(toNullable(toNullable(1)), thread_id) > 2, 26), 100 GROUP BY toLowCardinality(12) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 741 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(materialize(100)), toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 742 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(materialize(100)), toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 743 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(materialize(100)), toFixedString('WITH 01091 AS id SELECT 1;', toUInt256(26)), 100 PREWHERE toLowCardinality(toNullable(1)) GROUP BY toLowCardinality(12) WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, toUInt128(materialize(100)), toFixedString('WITH 01091 AS id SELECT 1;', toUInt256(26)), 100 PREWHERE toLowCardinality(toNullable(1)) GROUP BY toLowCardinality(12) WITH TOTALS': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 744 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(materialize(toUInt128(1091), 100)), 100 GROUP BY toLowCardinality(12) WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, toUInt128(materialize(toUInt128(1091), 100)), 100 GROUP BY toLowCardinality(12) 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 'nested_alias', 12, 12, toUInt128(materialize(toUInt128(1091), 100)), 100 GROUP BY toLowCardinality(12) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 745 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(materialize(100)), toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 746 out of 1000 SELECT 'nested_alias', 12, 12, toUInt128(materialize(100)), toFixedString('WITH 01091 AS id SELECT 1;', 26), toNullable(100) GROUP BY 12 WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, toUInt128(materialize(100)), toFixedString('WITH 01091 AS id SELECT 1;', 26), toNullable(100) GROUP BY 12 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 6]. In scope SELECT 'nested_alias', 12, 12, toUInt128(materialize(100)), toFixedString('WITH 01091 AS id SELECT 1;', 26), toNullable(100) GROUP BY 12 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 747 out of 1000 EXPLAIN QUERY TREE dump_ast = true SELECT 'nested_alias', 12, 12, toUInt128(materialize(100)), toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY 12 WITH TOTALS Error on processing query 'EXPLAIN QUERY TREE dump_ast = true SELECT 'nested_alias', 12, 12, toUInt128(materialize(100)), toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY 12 WITH TOTALS': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 748 out of 1000 SELECT 'nested_alias', 12, 12, materialize(100), toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY toLowCardinality(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 749 out of 1000 SELECT 'nested_alias', 12, 12, 100, toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY toLowCardinality(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 750 out of 1000 SELECT 'nested_alias', 12, 12, 100, toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY 12 WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, 100, toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY 12 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 6]. In scope SELECT 'nested_alias', 12, 12, 100, toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY 12 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 751 out of 1000 SELECT 'nested_alias', 12, 12, 100, toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 752 out of 1000 SELECT 'nested_alias', 12, 12, 100, toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 753 out of 1000 SELECT 'nested_alias', 12, 12, 100, toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 754 out of 1000 SELECT toFixedString('nested_alias', 12), 12, 12, materialize(100), toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY toLowCardinality(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 755 out of 1000 SELECT toFixedString(materialize('nested_alias'), 12), 12, 12, materialize(100), toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY toLowCardinality(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 756 out of 1000 SELECT toFixedString(materialize('nested_alias'), 12), 12, 12, materialize(100), toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY 12 WITH TOTALS Error on processing query 'SELECT toFixedString(materialize('nested_alias'), 12), 12, 12, materialize(100), toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY 12 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 6]. In scope SELECT toFixedString(materialize('nested_alias'), 12), 12, 12, materialize(100), toFixedString('WITH 01091 AS id SELECT 1;', 26), 100 GROUP BY 12 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 757 out of 1000 SELECT toFixedString(materialize('nested_alias'), 12), 12, 12, materialize(100), 'WITH 01091 AS id SELECT 1;', 26, 100 GROUP BY toLowCardinality(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 758 out of 1000 SELECT materialize('nested_alias'), 12, 12, 12, 100, 100 GROUP BY toLowCardinality(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 759 out of 1000 SELECT materialize('nested_alias'), 12, 12, 12, 100, 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 760 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(100), 100 GROUP BY toLowCardinality(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 761 out of 1000 SELECT 'nested_alias', 12, 12, 12, 100, 100 GROUP BY 12 WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, 12, 100, 100 GROUP BY 12 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 6]. In scope SELECT 'nested_alias', 12, 12, 12, 100, 100 GROUP BY 12 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 762 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(100), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 763 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(100), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 764 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(100), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 765 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(100), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 766 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(100), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 767 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(100), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 768 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(toUInt256(100))), 100 GROUP BY toLowCardinality(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 769 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(toUInt256(100))), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 770 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(toUInt256(100))), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 771 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(toUInt256(100))), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 772 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), 100 GROUP BY toLowCardinality(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 773 out of 1000 SELECT 'nested_alias', 12, 12, 12, event_date >= (today() - 1), toNullable(toNullable(toUInt256(100))), 100 GROUP BY toLowCardinality(12) WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, 12, event_date >= (today() - 1), toNullable(toNullable(toUInt256(100))), 100 GROUP BY toLowCardinality(12) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'event_date' in scope SELECT 'nested_alias', 12, 12, 12, event_date >= (today() - 1), toNullable(toNullable(toUInt256(100))), 100 GROUP BY toLowCardinality(12) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 774 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 775 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 776 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 777 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 778 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(toUInt128(100))), 100 GROUP BY 12 WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(toUInt128(100))), 100 GROUP BY 12 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 6]. In scope SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(toUInt128(100))), 100 GROUP BY 12 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 779 out of 1000 SELECT 'nested_alias', 12, 12, 12, 100 WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, 12, 100 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 780 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 781 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), toNullable(toLowCardinality(1), 1091), 100 GROUP BY toLowCardinality(12) WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), toNullable(toLowCardinality(1), 1091), 100 GROUP BY toLowCardinality(12) 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 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), toNullable(toLowCardinality(1), 1091), 100 GROUP BY toLowCardinality(12) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 782 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 783 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 784 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), 100 GROUP BY toLowCardinality(12) WITH TOTALS Got boring AST Fuzzing step 785 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), toUInt128(100) GROUP BY toLowCardinality(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 786 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), toUInt128(19), toUInt128(100) GROUP BY toLowCardinality(toUInt128(12)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 787 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), 19, toUInt128(100) WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), 19, toUInt128(100) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 788 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), toUInt128(19), toUInt128(100) GROUP BY toLowCardinality(toUInt128(12)) WITH TOTALS Got boring AST Fuzzing step 789 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), toUInt128(19), 100 GROUP BY toLowCardinality(toUInt128(12)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 790 out of 1000 SELECT 'nested_alias', toUInt128(12), 12, 12, toNullable(toNullable(100)), toUInt128(normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26), 58)), 19), a1 + 1, 100 GROUP BY toLowCardinality(toUInt128(12)) WITH TOTALS Error on processing query 'SELECT 'nested_alias', toUInt128(12), 12, 12, toNullable(toNullable(100)), toUInt128(normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26), 58)), 19), a1 + 1, 100 GROUP BY toLowCardinality(toUInt128(12)) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT 'nested_alias', toUInt128(12), 12, 12, toNullable(toNullable(100)), toUInt128(normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', toNullable(toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;')), 26), 58)), 19), a1 + 1, 100 GROUP BY toLowCardinality(toUInt128(12)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 791 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), materialize(toNullable(26)), 19), 100)), toUInt128(19), 100 GROUP BY toUInt128(12) WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), materialize(toNullable(26)), 19), 100)), toUInt128(19), 100 GROUP BY toUInt128(12) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_24' in scope SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), materialize(toNullable(26)), 19), 100)), toUInt128(19), 100 GROUP BY toUInt128(12) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 19. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 792 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), toUInt128(19), 0., 100 GROUP BY toUInt128(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 793 out of 1000 SELECT 'nested_alias', 12, 12, 12, toNullable(toNullable(100)), toUInt128(19), 0., 100 GROUP BY toUInt128(toUInt128(12)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 SELECT 'nested_alias', 12, materialize(12), 12, toNullable(toNullable(100)), toUInt128(19), 0., 100 GROUP BY toUInt128(toUInt128(12)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 795 out of 1000 SELECT 'nested_alias', 12, materialize(12), 12, toNullable(toNullable(100)), 19, 0., 100 WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, materialize(12), 12, toNullable(toNullable(100)), 19, 0., 100 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 796 out of 1000 SELECT 'nested_alias', 12, materialize(12), 12, toNullable(100), toUInt128(19), 0., 100 GROUP BY toUInt128(toUInt128(12)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 797 out of 1000 SELECT 'nested_alias', 12, materialize(12), 12, toNullable(100), toUInt128(19), 0., 100 GROUP BY toUInt128(toUInt128(equals(normalizeQuery(query), toUInt256(1), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')), 12)) WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, materialize(12), 12, toNullable(100), toUInt128(19), 0., 100 GROUP BY toUInt128(toUInt128(equals(normalizeQuery(query), toUInt256(1), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')), 12)) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT 'nested_alias', 12, materialize(12), 12, toNullable(100), toUInt128(19), 0., 100 GROUP BY toUInt128(toUInt128(equals(normalizeQuery(query), toUInt256(1), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')), 12)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 798 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias', 12, materialize(toUInt128(12)), 12, toNullable(100), toUInt128(19), 0., 100 GROUP BY toUInt128(toUInt128(12)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 799 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias', 12, materialize(toUInt128(12)), 12, toNullable(100), toUInt128(19), 0., 100 GROUP BY toUInt128(toUInt128(12)) WITH TOTALS Got boring AST Fuzzing step 800 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias', 12, materialize(toUInt128(12)), 12, toNullable(100), toUInt128(19), 0., 100 GROUP BY toUInt128(toUInt128(12)) WITH TOTALS Got boring AST Fuzzing step 801 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias', 12, materialize(toUInt128(12)), 12, toNullable(100), toUInt128(19), 0., 100 GROUP BY toUInt128(toUInt128(12)) WITH TOTALS Got boring AST Fuzzing step 802 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'nested_alias', 12, materialize(toUInt128(12)), 12, toNullable(100), toUInt128(19), 0., 100 GROUP BY toUInt128(toUInt128(12)) WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'nested_alias', 12, materialize(toUInt128(12)), 12, toNullable(100), toUInt128(19), 0., 100 GROUP BY toUInt128(toUInt128(12)) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 (''nested_alias''): 'nested_alias', 12, materialize(toUInt128(12)), 12, toNullable(100), toUInt128(19), 0., 100 GROUP BY toUInt128(toUInt128(12)) . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 803 out of 1000 EXPLAIN SELECT 'nested_alias', 12, materialize(toUInt128(12)), 12, toNullable(100), toUInt128(19), 0., 100 GROUP BY toUInt128(toUInt128(12)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 804 out of 1000 EXPLAIN SELECT 'nested_alias', 12, materialize(toUInt128(12)), 12, toNullable(100), toUInt128(19), 0., 100 GROUP BY toUInt128(toUInt128(12)) WITH TOTALS Got boring AST Fuzzing step 805 out of 1000 EXPLAIN SELECT 'nested_alias', 12, materialize(toUInt128(12)), 12, toNullable(100), toUInt128(19), 0., 100 GROUP BY toUInt128(toUInt128(12)) WITH TOTALS Got boring AST Fuzzing step 806 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias', 12, materialize(toUInt128(12)), 12, toNullable(100), toUInt128(19), 0., 100 GROUP BY toUInt128(toUInt128(12)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 807 out of 1000 SELECT 'nested_alias', 12, materialize(toUInt128(12)), 12, 100, toUInt128(toLowCardinality(19)), 0., 100 GROUP BY toUInt128(toUInt128(12)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 808 out of 1000 SELECT 'nested_alias', 12, materialize(toUInt128(materialize(toUInt128(12)))), 12, 100, toUInt128(toLowCardinality(19)), 0., 100 GROUP BY toUInt128(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 809 out of 1000 SELECT 'nested_alias', 12, materialize(toUInt128(materialize(12))), 12, 100, toUInt128(toLowCardinality(19)), 0., 100 GROUP BY toUInt128(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 810 out of 1000 SELECT 'nested_alias', 12, materialize(toUInt128(materialize(12))), 12, 100, toUInt128(toLowCardinality(19)), 0., 100 GROUP BY toUInt128(12) WITH TOTALS Got boring AST Fuzzing step 811 out of 1000 SELECT 'nested_alias', 12, materialize(toUInt128(materialize(12))), toLowCardinality(12), 100, toUInt128(toLowCardinality(19)), 0., 100 GROUP BY toUInt128(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 812 out of 1000 SELECT 'nested_alias', 12, materialize(toUInt128(materialize(12))), toLowCardinality(12), 100, toUInt128(toLowCardinality(19)), toLowCardinality(0.), 100 GROUP BY toUInt128(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 813 out of 1000 SELECT 'nested_alias', 12, materialize(toUInt128(materialize(12))), toLowCardinality(12), 100, toUInt128(toLowCardinality(19)), toLowCardinality(0.), 100 GROUP BY toUInt128(12) WITH TOTALS Got boring AST Fuzzing step 814 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT 'nested_alias', 12, materialize(toUInt128(materialize(12))), toLowCardinality(12), 100, toUInt128(toLowCardinality(toUInt256(19))), 0., 100 GROUP BY toUInt128(12) WITH TOTALS Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT 'nested_alias', 12, materialize(toUInt128(materialize(12))), toLowCardinality(12), 100, toUInt128(toLowCardinality(toUInt256(19))), 0., 100 GROUP BY toUInt128(12) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 815 out of 1000 SELECT 'nested_alias', 12, materialize(toUInt128(12)), toLowCardinality(12), 100, toLowCardinality(19), 0., 100 GROUP BY toUInt128(toNullable(12)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 816 out of 1000 SELECT 'nested_alias', 12, materialize(toUInt128(12)), toLowCardinality(12), 100, toLowCardinality(19), 0., 100 GROUP BY toUInt128(toNullable(12)) WITH TOTALS Got boring AST Fuzzing step 817 out of 1000 SELECT toNullable('nested_alias'), 12, materialize(12), toLowCardinality(12), 100, toLowCardinality(19), toDecimal256(0., 40), 100 GROUP BY toUInt128(toNullable(12)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 818 out of 1000 SELECT toNullable('nested_alias'), 12, materialize(12), toLowCardinality(12), 100, toLowCardinality(19), toDecimal256(0., 40), 100 GROUP BY toUInt128(toNullable(12)) WITH TOTALS Got boring AST Fuzzing step 819 out of 1000 SELECT toNullable('nested_alias'), toLowCardinality(toNullable(12)), materialize(12), toLowCardinality(12), 100, 19, toDecimal256(0., 40), 100 GROUP BY toUInt128(toNullable(12)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 820 out of 1000 SELECT toNullable('nested_alias'), toNullable(12), materialize(12), toLowCardinality(12), 100, 19, toDecimal256(0., 40), 100 GROUP BY toNullable(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 821 out of 1000 SELECT 'nested_alias', toNullable(12), materialize(12), toLowCardinality(12), 100, 19, toDecimal256(0., 40), 100 GROUP BY toNullable(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 822 out of 1000 SELECT 'nested_alias', toNullable(12), 12, toLowCardinality(12), 100, 19, toDecimal256(0., 40), 100 GROUP BY toNullable(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 823 out of 1000 SELECT 'nested_alias', 12, 12, toLowCardinality(12), 100, 19, toDecimal256(toNullable(0.), 40), materialize(toLowCardinality(100)) WHERE uniqExact(toFixedString('merge_expressions=0', 19), thread_id) RESPECT NULLS > materialize(toNullable(2)) GROUP BY toNullable(12) WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, toLowCardinality(12), 100, 19, toDecimal256(toNullable(0.), 40), materialize(toLowCardinality(100)) WHERE uniqExact(toFixedString('merge_expressions=0', 19), thread_id) RESPECT NULLS > materialize(toNullable(2)) GROUP BY toNullable(12) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 'nested_alias', 12, 12, toLowCardinality(12), 100, 19, toDecimal256(toNullable(0.), 40), materialize(toLowCardinality(100)) WHERE uniqExact(toFixedString('merge_expressions=0', 19), thread_id) RESPECT NULLS > materialize(toNullable(2)) GROUP BY toNullable(12) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 824 out of 1000 SELECT 'nested_alias', toNullable(12), 12, toLowCardinality(12), 100, 19, toDecimal256(0., 40), 100 GROUP BY toNullable(12) WITH TOTALS Got boring AST Fuzzing step 825 out of 1000 SELECT 'nested_alias', toNullable(12), 12, toLowCardinality(12), 100, 19, toDecimal256(0., toNullable(40)), 100 GROUP BY 12 WITH TOTALS Error on processing query 'SELECT 'nested_alias', toNullable(12), 12, toLowCardinality(12), 100, 19, toDecimal256(0., toNullable(40)), 100 GROUP BY 12 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 8]. In scope SELECT 'nested_alias', toNullable(12), 12, toLowCardinality(12), 100, 19, toDecimal256(0., toNullable(40)), 100 GROUP BY 12 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 826 out of 1000 SELECT 'nested_alias', toNullable(12), 12, toLowCardinality(12), 100, 19, 0., 40, 100 GROUP BY toNullable(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 827 out of 1000 SELECT 'nested_alias', 12, 12, toLowCardinality(12), 100, 19, 0., 40, 100 GROUP BY toNullable(12) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 828 out of 1000 EXPLAIN QUERY TREE run_passes = true, passes = true SELECT materialize(toLowCardinality(toFixedString('nested_alias', 12))), 12, 12, toLowCardinality(12), 100, 19, 0., 40, 100 GROUP BY toNullable(12) WITH TOTALS Error on processing query 'EXPLAIN QUERY TREE run_passes = true, passes = true SELECT materialize(toLowCardinality(toFixedString('nested_alias', 12))), 12, 12, toLowCardinality(12), 100, 19, 0., 40, 100 GROUP BY toNullable(12) WITH TOTALS': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 829 out of 1000 SELECT 'nested_alias', 12, 12, toLowCardinality(12), 100, 19, 0., 40, 100 GROUP BY 12 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, toLowCardinality(12), 100, 19, 0., 40, 100 GROUP BY 12 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 9]. In scope SELECT 'nested_alias', 12, 12, toLowCardinality(12), 100, 19, 0., 40, 100 GROUP BY 12 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 830 out of 1000 SELECT 'nested_alias', 12, 12, toLowCardinality(12), 100, 19, 0., 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 831 out of 1000 SELECT 'nested_alias', 12, 12, 12, materialize(100), 19, 0., 40, 100 GROUP BY 12 Error on processing query 'SELECT 'nested_alias', 12, 12, 12, materialize(100), 19, 0., 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 9]. In scope SELECT 'nested_alias', 12, 12, 12, materialize(100), 19, 0., 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 832 out of 1000 SELECT 'nested_alias', 12, 12, toLowCardinality(12), 100, 19, uniqExact(toUInt128(12), thread_id) > 2, 0., 40, 100 GROUP BY toNullable(toUInt256(12)) Error on processing query 'SELECT 'nested_alias', 12, 12, toLowCardinality(12), 100, 19, uniqExact(toUInt128(12), thread_id) > 2, 0., 40, 100 GROUP BY toNullable(toUInt256(12))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 'nested_alias', 12, 12, toLowCardinality(12), 100, 19, uniqExact(toUInt128(12), thread_id) > 2, 0., 40, 100 GROUP BY toNullable(toUInt256(12)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 833 out of 1000 SELECT 'nested_alias', 12, 12, toLowCardinality(12), 100, 19, materialize(toDecimal256(0., 64)), 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 834 out of 1000 SELECT 'nested_alias', 12, 12, toLowCardinality(12), 100, 19, toDecimal256(0., 64), 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 835 out of 1000 SELECT 'nested_alias', 12, 12, toLowCardinality(12), 100, 19, toDecimal256(0., 64), 40, 100 GROUP BY 12 WITH TOTALS Error on processing query 'SELECT 'nested_alias', 12, 12, toLowCardinality(12), 100, 19, toDecimal256(0., 64), 40, 100 GROUP BY 12 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 9]. In scope SELECT 'nested_alias', 12, 12, toLowCardinality(12), 100, 19, toDecimal256(0., 64), 40, 100 GROUP BY 12 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 836 out of 1000 SELECT materialize(toLowCardinality('nested_alias')), 12, 12, toLowCardinality(12), 100, 19, toDecimal256(0., 64), 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 837 out of 1000 SELECT materialize(toLowCardinality('nested_alias')), 12, 12, toLowCardinality(12), 100, 19, toDecimal256(0., 64), 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 838 out of 1000 SELECT materialize(toLowCardinality('nested_alias')), 12, 12, toLowCardinality(12), 100, 19, toDecimal256(materialize(toLowCardinality(toDecimal32(0., 4))), 64), 40, 100 GROUP BY toNullable(12) Error on processing query 'SELECT materialize(toLowCardinality('nested_alias')), 12, 12, toLowCardinality(12), 100, 19, toDecimal256(materialize(toLowCardinality(toDecimal32(0., 4))), 64), 40, 100 GROUP BY toNullable(12)': Received from localhost:9000. DB::Exception: DataTypeLowCardinality is supported only for numbers, strings, Date or DateTime, but got Decimal(9, 4): In scope SELECT materialize(toLowCardinality('nested_alias')), 12, 12, toLowCardinality(12), 100, 19, toDecimal256(materialize(toLowCardinality(toDecimal32(0., 4))), 64), 40, 100 GROUP BY toNullable(12). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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) @ 0x0000000010c4e80c 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&) @ 0x0000000011063bcb 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 21. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 23. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 24. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 28. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 839 out of 1000 SELECT materialize(toLowCardinality('nested_alias')), 12, 12, toLowCardinality(12), 100, 19, toDecimal256(toDecimal32(0., 2), 64), 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 840 out of 1000 SELECT materialize(toLowCardinality('nested_alias')), 12, 12, 12, 100, materialize(19), toDecimal256(toDecimal32(0., 2), 64), 40, 100 GROUP BY toNullable(toNullable(12)) Query succeeded, using this AST as a start Fuzzing step 841 out of 1000 SELECT materialize(toLowCardinality('nested_alias')), 12, 12, 12, 100, materialize(19), toDecimal256(toDecimal32(0., 2), 64), 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 842 out of 1000 SELECT materialize('nested_alias'), 12, 12, 12, 100, materialize(19), toDecimal256(toDecimal32(0., 2), 64), 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 843 out of 1000 SELECT materialize('nested_alias'), 12, 12, 12, 100, materialize(19), toDecimal256(toDecimal32(0., 2), 64), 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 844 out of 1000 SELECT materialize('nested_alias'), materialize(toNullable(12)), 12, 12, 100, materialize(19), toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 845 out of 1000 SELECT materialize('nested_alias'), materialize(toNullable(12)), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 846 out of 1000 SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 847 out of 1000 EXPLAIN PIPELINE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 848 out of 1000 EXPLAIN PIPELINE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 849 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 850 out of 1000 EXPLAIN ESTIMATE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 851 out of 1000 EXPLAIN ESTIMATE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 852 out of 1000 EXPLAIN ESTIMATE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 853 out of 1000 EXPLAIN SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 854 out of 1000 EXPLAIN SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 855 out of 1000 EXPLAIN PIPELINE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 856 out of 1000 EXPLAIN PIPELINE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 857 out of 1000 EXPLAIN AST SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 858 out of 1000 EXPLAIN AST SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 859 out of 1000 EXPLAIN AST SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 860 out of 1000 EXPLAIN AST SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 861 out of 1000 EXPLAIN AST SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 862 out of 1000 EXPLAIN AST SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 863 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNu. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 864 out of 1000 EXPLAIN ESTIMATE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 865 out of 1000 EXPLAIN AST SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 866 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNu. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 867 out of 1000 EXPLAIN QUERY TREE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 868 out of 1000 EXPLAIN QUERY TREE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 869 out of 1000 EXPLAIN QUERY TREE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 870 out of 1000 EXPLAIN QUERY TREE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 871 out of 1000 EXPLAIN QUERY TREE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 872 out of 1000 EXPLAIN AST SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 873 out of 1000 EXPLAIN AST SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 874 out of 1000 EXPLAIN AST SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 875 out of 1000 EXPLAIN AST SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 876 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 44 ('materialize'): materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNu. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 877 out of 1000 EXPLAIN AST SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 878 out of 1000 EXPLAIN AST SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 879 out of 1000 EXPLAIN SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 880 out of 1000 EXPLAIN AST SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 881 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 882 out of 1000 EXPLAIN SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 883 out of 1000 EXPLAIN PIPELINE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 884 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 885 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 886 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 887 out of 1000 SELECT materialize(materialize(1091), 'nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, toNullable(100) GROUP BY toNullable(12) Error on processing query 'SELECT materialize(materialize(1091), 'nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, toNullable(100) GROUP BY toNullable(12)': 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(1091), 'nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, toNullable(100) GROUP BY toNullable(12). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 888 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 889 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 890 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 891 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 892 out of 1000 EXPLAIN ESTIMATE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 893 out of 1000 EXPLAIN ESTIMATE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 894 out of 1000 EXPLAIN ESTIMATE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 895 out of 1000 EXPLAIN AST SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 896 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 897 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 898 out of 1000 EXPLAIN ESTIMATE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 899 out of 1000 EXPLAIN QUERY TREE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 900 out of 1000 EXPLAIN QUERY TREE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 901 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 902 out of 1000 EXPLAIN QUERY TREE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 903 out of 1000 EXPLAIN QUERY TREE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 904 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 905 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 906 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 907 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 908 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 909 out of 1000 EXPLAIN SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 910 out of 1000 EXPLAIN SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 911 out of 1000 EXPLAIN SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 912 out of 1000 EXPLAIN QUERY TREE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 913 out of 1000 EXPLAIN QUERY TREE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 914 out of 1000 EXPLAIN QUERY TREE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 915 out of 1000 EXPLAIN ESTIMATE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 916 out of 1000 EXPLAIN ESTIMATE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 917 out of 1000 EXPLAIN ESTIMATE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 918 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 919 out of 1000 EXPLAIN SYNTAX SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 920 out of 1000 EXPLAIN QUERY TREE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 921 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNu. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 922 out of 1000 EXPLAIN SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 923 out of 1000 EXPLAIN SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 924 out of 1000 EXPLAIN SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 925 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNu. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 926 out of 1000 EXPLAIN SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 927 out of 1000 EXPLAIN SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 928 out of 1000 SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Query succeeded, using this AST as a start Fuzzing step 929 out of 1000 SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 930 out of 1000 SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY toNullable(12) Got boring AST Fuzzing step 931 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Query succeeded, using this AST as a start Fuzzing step 932 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 933 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 934 out of 1000 EXPLAIN QUERY TREE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 10]. In scope SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 935 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 936 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Syntax error: failed at position 44 ('materialize'): materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 937 out of 1000 SELECT materialize(toNullable('nested_alias')), 12, 12, 12, 100, 19, 0., 2, 64, 40, 100 GROUP BY 12 Error on processing query 'SELECT materialize(toNullable('nested_alias')), 12, 12, 12, 100, 19, 0., 2, 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 11]. In scope SELECT materialize(toNullable('nested_alias')), 12, 12, 12, 100, 19, 0., 2, 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 938 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 939 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 940 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Syntax error: failed at position 44 ('materialize'): materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 941 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 942 out of 1000 EXPLAIN SYNTAX SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN SYNTAX SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument out of bounds: 12 (expected in range [1, 10]: While processing SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12: While processing SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x000000001199a4f8 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&) @ 0x000000001189c5c0 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) @ 0x000000001189779f 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 @ 0x0000000011891fc6 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 13. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 943 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 944 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 945 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 946 out of 1000 EXPLAIN SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 10]. In scope SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 947 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 948 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 949 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 950 out of 1000 EXPLAIN ESTIMATE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 10]. In scope SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 951 out of 1000 EXPLAIN SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 10]. In scope SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 952 out of 1000 SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 10]. In scope SELECT materialize('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 953 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 954 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 955 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 956 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 957 out of 1000 EXPLAIN SYNTAX SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN SYNTAX SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument out of bounds: 12 (expected in range [1, 10]: While processing SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12: While processing SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x000000001199a4f8 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&) @ 0x000000001189c5c0 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) @ 0x000000001189779f 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 @ 0x0000000011891fc6 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 13. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 958 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 959 out of 1000 EXPLAIN PIPELINE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN PIPELINE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 10]. In scope SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 960 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 961 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 962 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 963 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 964 out of 1000 EXPLAIN QUERY TREE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 10]. In scope SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 965 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 966 out of 1000 EXPLAIN ESTIMATE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 10]. In scope SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 967 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 968 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 969 out of 1000 SELECT toNullable('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 WITH TOTALS Error on processing query 'SELECT toNullable('nested_alias'), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 970 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Syntax error: failed at position 44 ('materialize'): materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 971 out of 1000 EXPLAIN ESTIMATE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 10]. In scope SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 972 out of 1000 EXPLAIN ESTIMATE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 10]. In scope SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 973 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 974 out of 1000 EXPLAIN SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 10]. In scope SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 975 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 976 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 977 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 978 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 979 out of 1000 EXPLAIN ESTIMATE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 10]. In scope SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 980 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 981 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 982 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 983 out of 1000 EXPLAIN SYNTAX SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN SYNTAX SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument out of bounds: 12 (expected in range [1, 10]: While processing SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12: While processing SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x000000001199a4f8 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&) @ 0x000000001189c5c0 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) @ 0x000000001189779f 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 @ 0x0000000011891fc6 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 13. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 984 out of 1000 EXPLAIN SYNTAX SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN SYNTAX SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument out of bounds: 12 (expected in range [1, 10]: While processing SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12: While processing SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x000000001199a4f8 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&) @ 0x000000001189c5c0 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) @ 0x000000001189779f 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 @ 0x0000000011891fc6 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 13. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 985 out of 1000 EXPLAIN SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 10]. In scope SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 986 out of 1000 EXPLAIN SYNTAX SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN SYNTAX SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument out of bounds: 12 (expected in range [1, 10]: While processing SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12: While processing SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x000000001199a4f8 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&) @ 0x000000001189c5c0 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) @ 0x000000001189779f 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 @ 0x0000000011891fc6 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 13. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 987 out of 1000 EXPLAIN SYNTAX SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN SYNTAX SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument out of bounds: 12 (expected in range [1, 10]: While processing SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12: While processing SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x000000001199a4f8 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&) @ 0x000000001189c5c0 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) @ 0x000000001189779f 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 @ 0x0000000011891fc6 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 13. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 988 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 989 out of 1000 EXPLAIN SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 10]. In scope SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 990 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 991 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 992 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 993 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 994 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 995 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 996 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY . 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 997 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 998 out of 1000 EXPLAIN PIPELINE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Error on processing query 'EXPLAIN PIPELINE SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 10]. In scope SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 999 out of 1000 EXPLAIN AST SELECT materialize(toNullable('nested_alias')), toNullable(12), 12, 12, 100, 19, toDecimal32(0., 2), 64, 40, 100 GROUP BY 12 Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 2 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 3 out of 1000 EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('SELECT'): SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0. Expected one of: INTO OUTFILE, FORMAT, SETTINGS, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 4 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 5 out of 1000 EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('SELECT'): SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0. Expected one of: INTO OUTFILE, FORMAT, SETTINGS, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 6 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 7 out of 1000 EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN QUERY TREE query. Supported settings: dump_passes, dump_ast, dump_tree, run_passes, passes. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [11], String&&) @ 0x00000000115973eb 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115903be 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 8 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 9 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 10 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 11 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 12 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 13 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 14 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 15 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 16 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 17 out of 1000 EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN QUERY TREE query. Supported settings: dump_passes, dump_ast, dump_tree, run_passes, passes. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [11], String&&) @ 0x00000000115973eb 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115903be 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 18 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 19 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 20 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 21 out of 1000 EXPLAIN PIPELINE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN PIPELINE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 22 out of 1000 EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN SYNTAX query. Supported settings: oneline. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [7], String&&) @ 0x0000000011596e6b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001159022c 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 23 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 24 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 25 out of 1000 EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('SELECT'): SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0. Expected one of: INTO OUTFILE, FORMAT, SETTINGS, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 26 out of 1000 SELECT * FROM test_alias_skip_idx WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 27 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 28 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 29 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 30 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 31 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 32 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 33 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - toNullable(1))) WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - toNullable(1))) WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - toNullable(1))) WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 34 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 WHERE a > 100 GROUP BY greater(100, a2, toLowCardinality(toLowCardinality(19, toNullable(toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091)), 1), toLowCardinality(1091), toNullable(toNullable(1), 19)), event_date, 1091, -2147483649, 100), today() - toUInt128(1) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_7 WHERE a > 100 GROUP BY greater(100, a2, toLowCardinality(toLowCardinality(19, toNullable(toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091)), 1), toLowCardinality(1091), toNullable(toNullable(1), 19)), event_date, 1091, -2147483649, 100), today() - toUInt128(1) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT * FROM test_alias_skip_idx__fuzz_7 WHERE a > 100 GROUP BY greater(100, a2, toLowCardinality(toLowCardinality(19, toNullable(toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091)), 1), toLowCardinality(1091), toNullable(toNullable(1), 19)), event_date, 1091, -2147483649, 100), today() - toUInt128(1) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 35 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 36 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 37 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 GROUP BY toUInt256(toLowCardinality(toUInt256(19)), 19), toLowCardinality(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 GROUP BY toUInt256(toLowCardinality(toUInt256(19)), 19), toLowCardinality(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt256'. Expected 1 argument, got 2 arguments: In scope SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 GROUP BY toUInt256(toLowCardinality(toUInt256(19)), 19), toLowCardinality(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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)::NameToUInt256, 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&) @ 0x00000000071719f8 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x000000000716b91b 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 38 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 39 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 40 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 41 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 42 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 43 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 44 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 45 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 46 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 47 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 48 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 49 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 50 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 51 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(toLowCardinality(toUInt128(22))) WHERE toNullable(materialize(26)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(toLowCardinality(toUInt128(22))) WHERE toNullable(materialize(26)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Illegal type (UInt128) of 1 argument of function and. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&, String&&) @ 0x000000000702fdab 4. /build/src/Functions/FunctionsLogical.cpp:0: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000078c6262 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsDAG.cpp:3058: DB::ActionsDAG::buildFilterActionsDAG(std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, bool) @ 0x0000000010feec94 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1657: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aac6b 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 14. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 15. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 16. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 19. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 52 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 53 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE greater(toLowCardinality(toLowCardinality(toNullable(toLowCardinality(100)))), a2, event_date, -2147483649, 100) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE greater(toLowCardinality(toLowCardinality(toNullable(toLowCardinality(100)))), a2, event_date, -2147483649, 100) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE greater(toLowCardinality(toLowCardinality(toNullable(toLowCardinality(100)))), a2, event_date, -2147483649, 100) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 54 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 55 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 56 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 57 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 58 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 59 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 60 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 61 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE materialize(toNullable(test_nested_alias_idx__fuzz_13, toNullable(toUInt256(100)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE materialize(toNullable(test_nested_alias_idx__fuzz_13, toNullable(toUInt256(100)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_13' in scope SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE materialize(toNullable(test_nested_alias_idx__fuzz_13, toNullable(toUInt256(100)))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 62 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 63 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 64 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 65 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 66 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 67 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 68 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 69 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 70 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 71 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 72 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 73 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 257 Fuzzing step 74 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 75 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 76 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 GROUP BY toLowCardinality(toLowCardinality(toUInt128(19), 1), toLowCardinality(toNullable(1091)), materialize(19)), uniqExact(thread_id) RESPECT NULLS > toNullable(toLowCardinality(toNullable(toNullable(19), 100), toUInt256(2))), (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))), toNullable(toLowCardinality(19)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_13 GROUP BY toLowCardinality(toLowCardinality(toUInt128(19), 1), toLowCardinality(toNullable(1091)), materialize(19)), uniqExact(thread_id) RESPECT NULLS > toNullable(toLowCardinality(toNullable(toNullable(19), 100), toUInt256(2))), (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))), toNullable(toLowCardinality(19)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT * FROM test_alias_skip_idx__fuzz_13 GROUP BY toLowCardinality(toLowCardinality(toUInt128(19), 1), toLowCardinality(toNullable(1091)), materialize(19)), uniqExact(thread_id) RESPECT NULLS > toNullable(toLowCardinality(toNullable(toNullable(19), 100), toUInt256(2))), (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - toLowCardinality(1))), toNullable(toLowCardinality(19)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 77 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 78 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 79 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 80 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 81 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 82 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 83 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 85 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 86 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 87 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 WHERE toLowCardinality(toUInt128(materialize(19))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_8 WHERE toLowCardinality(toUInt128(materialize(19))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt128) of column toLowCardinality(toUInt128(materialize(19_UInt8))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x0000000012fcc497 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001316d043 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&) @ 0x000000001163a878 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>>&) @ 0x0000000011668f69 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662c15 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 10. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 11. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 88 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 89 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 90 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 92 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 94 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 95 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 96 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 97 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 98 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 99 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 100 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 101 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 102 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 103 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 104 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 105 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 106 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 GROUP BY toNullable(12), toUInt256(toLowCardinality(toNullable(19))), uniqExact(1, thread_id) IGNORE NULLS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_48 GROUP BY toNullable(12), toUInt256(toLowCardinality(toNullable(19))), uniqExact(1, thread_id) IGNORE NULLS SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT * FROM test_alias_skip_idx__fuzz_48 GROUP BY toNullable(12), toUInt256(toLowCardinality(toNullable(19))), uniqExact(1, thread_id) IGNORE NULLS SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 107 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 108 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 109 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 110 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 111 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 112 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 113 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 114 out of 1000 SELECT materialize(toLowCardinality(1091)), * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 115 out of 1000 SELECT materialize(toLowCardinality(1091)), * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 116 out of 1000 SELECT materialize(toLowCardinality(1091)), * FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 117 out of 1000 SELECT materialize(1091), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 118 out of 1000 SELECT materialize(1091), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 119 out of 1000 SELECT materialize(1091), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 120 out of 1000 SELECT materialize(1091), * FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 121 out of 1000 SELECT materialize(1091), * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 122 out of 1000 SELECT 1091, * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 123 out of 1000 SELECT 1091, * FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 124 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 125 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 126 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 127 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 128 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 129 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 130 out of 1000 EXPLAIN QUERY TREE dump_passes = true SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN QUERY TREE dump_passes = true SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 131 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 132 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 133 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 134 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 135 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 136 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 137 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 138 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 139 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 140 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 141 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 142 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 143 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 144 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 145 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 146 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 147 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 GROUP BY test_alias_skip_idx__fuzz_25, uniqExact(thread_id) IGNORE NULLS > materialize(2), normalizeQuery('default_settings', 16, query) = normalizeQuery(toNullable(toLowCardinality(toNullable(1091))), 'with 01091 as id select sum(number) from numbers_mt(1000000);'), uniqExact(thread_id) IGNORE NULLS > 2, toLowCardinality(toNullable(toLowCardinality(12))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 1091 FROM test_alias_skip_idx__fuzz_8 GROUP BY test_alias_skip_idx__fuzz_25, uniqExact(thread_id) IGNORE NULLS > materialize(2), normalizeQuery('default_settings', 16, query) = normalizeQuery(toNullable(toLowCardinality(toNullable(1091))), 'with 01091 as id select sum(number) from numbers_mt(1000000);'), uniqExact(thread_id) IGNORE NULLS > 2, toLowCardinality(toNullable(toLowCardinality(12))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_25' in scope SELECT 1091 FROM test_alias_skip_idx__fuzz_8 GROUP BY test_alias_skip_idx__fuzz_25, uniqExact(thread_id) IGNORE NULLS > materialize(2), normalizeQuery('default_settings', 16, query) = normalizeQuery(toNullable(toLowCardinality(toNullable(1091))), 'with 01091 as id select sum(number) from numbers_mt(1000000);'), uniqExact(thread_id) IGNORE NULLS > 2, toLowCardinality(toNullable(toLowCardinality(12))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 148 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 149 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 150 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 151 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 152 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 153 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 154 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 155 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 156 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 157 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 158 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 159 out of 1000 EXPLAIN PIPELINE SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 160 out of 1000 EXPLAIN PIPELINE SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 161 out of 1000 EXPLAIN AST SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 162 out of 1000 EXPLAIN AST SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 163 out of 1000 EXPLAIN AST SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 164 out of 1000 EXPLAIN AST SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 165 out of 1000 EXPLAIN AST SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 166 out of 1000 EXPLAIN SYNTAX SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 167 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 168 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 169 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 170 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 171 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 GROUP BY test_nested_alias_idx__fuzz_11, toNullable(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 1091 FROM test_alias_skip_idx__fuzz_45 GROUP BY test_nested_alias_idx__fuzz_11, toNullable(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_11' in scope SELECT 1091 FROM test_alias_skip_idx__fuzz_45 GROUP BY test_nested_alias_idx__fuzz_11, toNullable(toNullable(19)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 172 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 173 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 174 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_10 GROUP BY toNullable(toUInt256(toLowCardinality(toUInt256(2)))), a2 > materialize(100), toNullable(toUInt256(100)), toNullable(toFixedString('merge_expressions=0', 19)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_10 GROUP BY toNullable(toUInt256(toLowCardinality(toUInt256(2)))), a2 > materialize(100), toNullable(toUInt256(100)), toNullable(toFixedString('merge_expressions=0', 19)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_10 GROUP BY toNullable(toUInt256(toLowCardinality(toUInt256(2)))), a2 > materialize(100), toNullable(toUInt256(100)), toNullable(toFixedString('merge_expressions=0', 19)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 175 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 176 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 177 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_48 WHERE toNullable(toNullable(100), 1091 AS id) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_48 WHERE toNullable(toNullable(100), 1091 AS id) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_48 WHERE toNullable(toNullable(100), 1091 AS id) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 178 out of 1000 SELECT toUInt128(1091) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 179 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 180 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 181 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 182 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 183 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 184 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 185 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 186 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 187 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 188 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 189 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 190 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 191 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 192 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 193 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 194 out of 1000 EXPLAIN TABLE OVERRIDE SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))), 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))), 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 71 ('AND'): AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))), 1091 FROM test_alias_skip_idx__fuzz_9. Expected one of: token, OpeningRoundBracket, FILTER, RESPECT NULLS, IGNORE NULLS, OVER, table override declaration, COLUMNS, PARTITION BY, PRIMARY KEY, ORDER BY, SAMPLE BY, TTL, INTO OUTFILE, FORMAT, SETTINGS, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 195 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 256 Fuzzing step 196 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 197 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 198 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 199 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 200 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 201 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 202 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('1091'): 1091 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 203 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 204 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 205 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 206 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 207 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 208 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 209 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 210 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 GROUP BY toFixedString(toNullable(toLowCardinality('merge_expressions=0')), 19), (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND toLowCardinality(toNullable(12)) AND 22 AND (event_date >= (today() - materialize(toUInt256(event_date >= (today(currentDatabase(2147483647)) - toLowCardinality(1)), 1)))), toLowCardinality(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), toUInt256(2)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 1091 FROM test_alias_skip_idx__fuzz_45 GROUP BY toFixedString(toNullable(toLowCardinality('merge_expressions=0')), 19), (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND toLowCardinality(toNullable(12)) AND 22 AND (event_date >= (today() - materialize(toUInt256(event_date >= (today(currentDatabase(2147483647)) - toLowCardinality(1)), 1)))), toLowCardinality(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), toUInt256(2)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT 1091 FROM test_alias_skip_idx__fuzz_45 GROUP BY toFixedString(toNullable(toLowCardinality('merge_expressions=0')), 19), (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND toLowCardinality(toNullable(12)) AND 22 AND (event_date >= (today() - materialize(toUInt256(event_date >= (today(currentDatabase(2147483647)) - toLowCardinality(1)), 1)))), toLowCardinality(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), toUInt256(2)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 211 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 212 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 213 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 214 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = -1 Fuzzing step 215 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(toLowCardinality(1), 19) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 1091 FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(toLowCardinality(1), 19) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 1091 FROM test_alias_skip_idx__fuzz_8 PREWHERE toLowCardinality(toLowCardinality(1), 19) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 216 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 217 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_10 PREWHERE normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 1091 FROM test_alias_skip_idx__fuzz_10 PREWHERE normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT 1091 FROM test_alias_skip_idx__fuzz_10 PREWHERE normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 218 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 219 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 220 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 221 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 222 out of 1000 SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 223 out of 1000 SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 224 out of 1000 SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 225 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 226 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 227 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 228 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 229 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 230 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 231 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 232 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('materialize'): materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 233 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 234 out of 1000 EXPLAIN SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 235 out of 1000 EXPLAIN PIPELINE SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 236 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 237 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 238 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('materialize'): materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 239 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 240 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 241 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 242 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 243 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 244 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 245 out of 1000 EXPLAIN AST SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 246 out of 1000 EXPLAIN AST SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 247 out of 1000 EXPLAIN AST SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 248 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 249 out of 1000 EXPLAIN AST SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 250 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 251 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 252 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 253 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 254 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 255 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 256 out of 1000 EXPLAIN PIPELINE SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 257 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 258 out of 1000 EXPLAIN PIPELINE SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 259 out of 1000 EXPLAIN PIPELINE SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 260 out of 1000 EXPLAIN PIPELINE SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 261 out of 1000 EXPLAIN PIPELINE SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 262 out of 1000 EXPLAIN PIPELINE SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 263 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 264 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 265 out of 1000 EXPLAIN AST SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 266 out of 1000 EXPLAIN PIPELINE SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 267 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 268 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 269 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 270 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 271 out of 1000 EXPLAIN AST SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 272 out of 1000 EXPLAIN AST SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 273 out of 1000 EXPLAIN AST SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 274 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 275 out of 1000 EXPLAIN SYNTAX SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 276 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('materialize'): materialize(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 277 out of 1000 SELECT materialize(1091) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 278 out of 1000 SELECT materialize(toLowCardinality(1091)) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 279 out of 1000 SELECT materialize(toLowCardinality(toUInt256(toLowCardinality(19)), 1091)) FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT materialize(toLowCardinality(toUInt256(toLowCardinality(19)), 1091)) FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT materialize(toLowCardinality(toUInt256(toLowCardinality(19)), 1091)) FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 280 out of 1000 SELECT toLowCardinality(1091) FROM test_alias_skip_idx__fuzz_7 WHERE 'default_settings' > materialize(100) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(1091) FROM test_alias_skip_idx__fuzz_7 WHERE 'default_settings' > materialize(100) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Cannot convert string 'default_settings' to type UInt8. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x00000000084e3c4b 4. /build/src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x00000000118efb16 5. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x00000000118ec5f5 6. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008c20152 7. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008c05ca6 8. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 9. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 10. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 11. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 12. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 13. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x0000000010fdf321 14. /build/src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block const&) const @ 0x0000000010fde334 15. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fcc150 16. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001316d043 17. /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&) @ 0x000000001163a878 18. /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>>&) @ 0x0000000011668f69 19. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662c15 20. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 21. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 22. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 281 out of 1000 SELECT materialize(toLowCardinality(1091)) FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 282 out of 1000 SELECT materialize(toLowCardinality(1091)) FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 283 out of 1000 SELECT materialize(toLowCardinality(1091)) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 284 out of 1000 SELECT materialize(toLowCardinality(1091)) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 285 out of 1000 SELECT toLowCardinality(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 286 out of 1000 SELECT toLowCardinality(1091) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 287 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 288 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 289 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 290 out of 1000 SELECT toLowCardinality(toNullable(1091)), 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 291 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toNullable(1091)), 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 292 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toNullable(1091)), 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 293 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toNullable(1091)), 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 294 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toNullable(1091)), 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 295 out of 1000 SELECT toLowCardinality(toNullable(1091)), 1091 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 SELECT toLowCardinality(toNullable(materialize(19)), toNullable(1091)), 1091 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(toNullable(materialize(19)), toNullable(1091)), 1091 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0': 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(materialize(19)), toNullable(1091)), 1091 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 297 out of 1000 SELECT toLowCardinality(toNullable(1091)), 1091 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 298 out of 1000 SELECT toNullable(1091), 1091 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 299 out of 1000 SELECT toNullable(1091), 1091 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 300 out of 1000 SELECT toNullable(1091), 1091 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 301 out of 1000 SELECT toNullable(1091), 1091 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 302 out of 1000 SELECT toNullable(1091), 1091 FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = '65536' Fuzzing step 303 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 304 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 305 out of 1000 EXPLAIN json = true, sorting = true SELECT toNullable(toLowCardinality(toNullable(1091))) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN json = true, sorting = true SELECT toNullable(toLowCardinality(toNullable(1091))) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 306 out of 1000 SELECT toNullable(toLowCardinality(toNullable(1091))) FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 307 out of 1000 SELECT toNullable(toLowCardinality(toNullable(1091))) FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 308 out of 1000 SELECT toNullable(toLowCardinality(toNullable(1091))) FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 309 out of 1000 SELECT toNullable(toLowCardinality(toNullable(1091))) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 310 out of 1000 SELECT toNullable(toLowCardinality(toNullable(1091))) FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 311 out of 1000 SELECT toNullable(toLowCardinality(toNullable(1091))) FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 312 out of 1000 SELECT toNullable(toNullable(1091)) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 313 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 314 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 315 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 316 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 317 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 318 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 319 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 320 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 321 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 322 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 323 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 324 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('1091'): 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 326 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('1091'): 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 328 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 329 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 330 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 331 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 332 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 333 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 334 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 335 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 336 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 337 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 338 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 339 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 340 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 341 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 PREWHERE today() - toUInt128(toNullable(toNullable(1))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 1091 FROM test_alias_skip_idx__fuzz_45 PREWHERE today() - toUInt128(toNullable(toNullable(1))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope SELECT 1091 FROM test_alias_skip_idx__fuzz_45 PREWHERE today() - toUInt128(toNullable(toNullable(1))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69ee0 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c5d 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 17. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 18. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 19. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 342 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 WHERE today() - toNullable(toNullable(1)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 1091 FROM test_alias_skip_idx__fuzz_8 WHERE today() - toNullable(toNullable(1)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: Nullable(Date). In query SELECT 1091 FROM test_alias_skip_idx__fuzz_8 WHERE today() - toNullable(toNullable(1)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 343 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 344 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 345 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 256 Fuzzing step 346 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 347 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 348 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 349 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE toNullable(toLowCardinality('merge_expressions=0')) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE toNullable(toLowCardinality('merge_expressions=0')) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: LowCardinality(Nullable(String)). In query SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE toNullable(toLowCardinality('merge_expressions=0')) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 350 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_13 WHERE a > materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 351 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(toNullable(100)) WHERE greater(toFixedString(22, toFixedString('nested_alias', 12), 12, 12), a, materialize(100)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 1091 FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(toNullable(100)) WHERE greater(toFixedString(22, toFixedString('nested_alias', 12), 12, 12), a, materialize(100)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 4, should be 2: In scope SELECT 1091 FROM test_alias_skip_idx__fuzz_48 PREWHERE toLowCardinality(toNullable(100)) WHERE greater(toFixedString(22, toFixedString('nested_alias', 12), 12, 12), a, materialize(100)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 352 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_13 WHERE a > materialize(100) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 353 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > materialize(100) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 355 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE greater(materialize(100)) GROUP BY materialize(26) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE greater(materialize(100)) GROUP BY materialize(26) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE greater(materialize(100)) GROUP BY materialize(26) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 356 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 WHERE a > materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 357 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 358 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 359 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 360 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 361 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 362 out of 1000 EXPLAIN ESTIMATE SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 363 out of 1000 EXPLAIN SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 364 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 365 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 366 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 367 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 368 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 369 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 370 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 371 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 372 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 373 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 374 out of 1000 EXPLAIN QUERY TREE SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 379 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 380 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 381 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('1091'): 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 382 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 383 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('1091'): 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 384 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 385 out of 1000 EXPLAIN SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 386 out of 1000 EXPLAIN ESTIMATE SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 387 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 388 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 389 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 390 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 391 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 392 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_10 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 394 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 395 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 396 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 397 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 WHERE a > toNullable(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 WHERE a > toNullable(toUInt128(toNullable(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 399 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 WHERE a > toNullable(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 400 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 WHERE a > toNullable(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 401 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 WHERE a > toNullable(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 402 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 WHERE a > toNullable(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 1091 FROM test_alias_skip_idx__fuzz_31 WHERE a > toNullable(100) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 1091 FROM test_alias_skip_idx__fuzz_31 WHERE a > toNullable(100) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('1091'): 1091 FROM test_alias_skip_idx__fuzz_31 WHERE a > toNullable(100) SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 404 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_10 WHERE a > toNullable(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 405 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 406 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > materialize(toLowCardinality(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 407 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 408 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 409 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_13 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_31 PREWHERE test_nested_alias_idx__fuzz_5 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 1091 FROM test_alias_skip_idx__fuzz_31 PREWHERE test_nested_alias_idx__fuzz_5 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_5' in scope SELECT 1091 FROM test_alias_skip_idx__fuzz_31 PREWHERE test_nested_alias_idx__fuzz_5 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 411 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_7 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 412 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 413 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 414 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_13 WHERE a > materialize(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_13 WHERE a > materialize(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 416 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 WHERE a > materialize(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 417 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 WHERE a > materialize(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 418 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 WHERE a > materialize(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 419 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > materialize(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 420 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > materialize(toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 421 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 WHERE a > materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 422 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 WHERE a > materialize(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 423 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_10 WHERE a > materialize(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 424 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 WHERE greater(materialize(100)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 1091 FROM test_alias_skip_idx__fuzz_48 WHERE greater(materialize(100)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT 1091 FROM test_alias_skip_idx__fuzz_48 WHERE greater(materialize(100)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 425 out of 1000 EXPLAIN AST optimize = true SELECT 1091 FROM test_alias_skip_idx__fuzz_10 WHERE a > materialize(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN AST optimize = true SELECT 1091 FROM test_alias_skip_idx__fuzz_10 WHERE a > materialize(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 426 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > materialize(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 427 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > materialize(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 428 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_10 WHERE a > materialize(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 429 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE greater(a) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE greater(a) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE greater(a) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 430 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > materialize(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 431 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_10 WHERE greater(toNullable(toLowCardinality(1)), a, toNullable(100)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 1091 FROM test_alias_skip_idx__fuzz_10 WHERE greater(toNullable(toLowCardinality(1)), a, toNullable(100)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope SELECT 1091 FROM test_alias_skip_idx__fuzz_10 WHERE greater(toNullable(toLowCardinality(1)), a, toNullable(100)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 432 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_48 WHERE a > toNullable(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_7 WHERE a > toNullable(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 434 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_48 WHERE a > toNullable(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 435 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_45 WHERE a > toNullable(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 436 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_9 WHERE a > toNullable(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 437 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_9 WHERE a > toNullable(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 438 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_45 WHERE a > toNullable(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 439 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_10 WHERE a > toNullable(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 440 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_9 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 441 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_9 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 442 out of 1000 SELECT toNullable(1091) FROM test_alias_skip_idx__fuzz_9 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 443 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 444 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 445 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 446 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 447 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 448 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 449 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 450 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('1091'): 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 451 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 452 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 453 out of 1000 EXPLAIN QUERY TREE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 454 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 455 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 456 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 457 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 458 out of 1000 EXPLAIN SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 459 out of 1000 EXPLAIN QUERY TREE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 460 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('1091'): 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 461 out of 1000 EXPLAIN ESTIMATE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 462 out of 1000 EXPLAIN ESTIMATE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 463 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('1091'): 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 464 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('1091'): 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 465 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('1091'): 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 466 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('1091'): 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 467 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 468 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 469 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 470 out of 1000 EXPLAIN QUERY TREE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 471 out of 1000 EXPLAIN ESTIMATE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 472 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('1091'): 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 473 out of 1000 EXPLAIN ESTIMATE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 474 out of 1000 EXPLAIN ESTIMATE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 475 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 476 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 477 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 478 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 479 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 480 out of 1000 EXPLAIN ESTIMATE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 481 out of 1000 EXPLAIN ESTIMATE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 482 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('1091'): 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 483 out of 1000 EXPLAIN ESTIMATE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 484 out of 1000 EXPLAIN ESTIMATE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 485 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 486 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 488 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 489 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 490 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 491 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 492 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('1091'): 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 493 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 494 out of 1000 EXPLAIN SYNTAX SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 495 out of 1000 EXPLAIN AST SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 496 out of 1000 EXPLAIN QUERY TREE SELECT 1091 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 497 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_9 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 498 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 499 out of 1000 EXPLAIN PIPELINE SELECT 1091 FROM test_alias_skip_idx__fuzz_31 WHERE a > materialize(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 500 out of 1000 EXPLAIN SELECT 1091 FROM test_alias_skip_idx__fuzz_31 WHERE a > materialize(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 501 out of 1000 EXPLAIN SELECT 1091 FROM test_alias_skip_idx__fuzz_31 WHERE a > materialize(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 502 out of 1000 SELECT 1091 FROM test_alias_skip_idx__fuzz_7 WHERE a > materialize(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 503 out of 1000 SELECT toNullable(toUInt256(100)), 1091 FROM test_alias_skip_idx__fuzz_7 WHERE a > materialize(toNullable(100)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 504 out of 1000 SELECT toUInt256(100), 1091 FROM test_alias_skip_idx__fuzz_7 WHERE a > materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 505 out of 1000 SELECT toUInt256(100), 1091 FROM test_alias_skip_idx__fuzz_31 WHERE a > materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 506 out of 1000 SELECT toUInt256(100), 1091 FROM test_alias_skip_idx__fuzz_9 WHERE a > materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 507 out of 1000 SELECT 100, 1091 FROM test_alias_skip_idx__fuzz_6 WHERE a > materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 508 out of 1000 SELECT 100, 1091 FROM test_alias_skip_idx__fuzz_48 WHERE a > materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 509 out of 1000 SELECT 100, 1091 FROM test_alias_skip_idx__fuzz_48 WHERE a > materialize(100) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 510 out of 1000 SELECT 100, 1091 FROM test_alias_skip_idx__fuzz_10 WHERE greater(100) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100, 1091 FROM test_alias_skip_idx__fuzz_10 WHERE greater(100) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT 100, 1091 FROM test_alias_skip_idx__fuzz_10 WHERE greater(100) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 511 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 WHERE a > materialize(100) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 512 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 WHERE a > materialize(22, 100) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_48 WHERE a > materialize(22, 100) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 100 FROM test_alias_skip_idx__fuzz_48 WHERE a > materialize(22, 100) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 513 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 2 Fuzzing step 514 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 515 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 516 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 517 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 518 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 519 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(toFixedString('default_settings', 16)) WHERE greater(a, greater(toLowCardinality(toLowCardinality(100)), a2, event_date, toLowCardinality(-2147483649, toNullable(100))), 100) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(toFixedString('default_settings', 16)) WHERE greater(a, greater(toLowCardinality(toLowCardinality(100)), a2, event_date, toLowCardinality(-2147483649, toNullable(100))), 100) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT 100 FROM test_alias_skip_idx__fuzz_48 PREWHERE materialize(toFixedString('default_settings', 16)) WHERE greater(a, greater(toLowCardinality(toLowCardinality(100)), a2, event_date, toLowCardinality(-2147483649, toNullable(100))), 100) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 520 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 521 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 522 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 523 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 524 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 525 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 526 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 527 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 528 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 529 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_7 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 530 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_7 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 531 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 532 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 533 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_7 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_9 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 535 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 536 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 537 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 538 out of 1000 EXPLAIN PIPELINE SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 539 out of 1000 EXPLAIN SYNTAX SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 540 out of 1000 EXPLAIN AST SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 541 out of 1000 EXPLAIN AST SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 542 out of 1000 EXPLAIN AST SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 543 out of 1000 EXPLAIN AST SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 544 out of 1000 EXPLAIN AST SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 545 out of 1000 EXPLAIN AST SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 546 out of 1000 EXPLAIN AST SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 547 out of 1000 EXPLAIN AST SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 548 out of 1000 EXPLAIN SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 549 out of 1000 EXPLAIN AST SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 550 out of 1000 EXPLAIN PIPELINE SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 551 out of 1000 EXPLAIN PIPELINE SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 552 out of 1000 EXPLAIN QUERY TREE SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 553 out of 1000 EXPLAIN AST SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 554 out of 1000 EXPLAIN AST SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 555 out of 1000 EXPLAIN SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 556 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('materialize'): materialize(100) FROM test_alias_skip_idx__fuzz_31 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 557 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 558 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 559 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 560 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_7 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 561 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_7 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 562 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_13 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 EXPLAIN PIPELINE compact = true SELECT materialize(100) FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT materialize(100) FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 564 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 565 out of 1000 EXPLAIN `header, description` = true, optimize = true SELECT 100 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN `header, description` = true, optimize = true SELECT 100 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 566 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 GROUP BY materialize(materialize(toLowCardinality(12))), toUInt128(toNullable(toLowCardinality(toUInt256(19)), 19)), toUInt128(toNullable(toUInt256(19)), 19, 19), (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT materialize(100) FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 GROUP BY materialize(materialize(toLowCardinality(12))), toUInt128(toNullable(toLowCardinality(toUInt256(19)), 19)), toUInt128(toNullable(toUInt256(19)), 19, 19), (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT materialize(100) FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 GROUP BY materialize(materialize(toLowCardinality(12))), toUInt128(toNullable(toLowCardinality(toUInt256(19)), 19)), toUInt128(toNullable(toUInt256(19)), 19, 19), (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) AND (event_date >= (today() - 1)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 567 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_7 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 568 out of 1000 SELECT materialize(100) FROM test_alias_skip_idx__fuzz_7 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 569 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 570 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 571 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 573 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 574 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 575 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 576 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 WHERE a > 100 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 577 out of 1000 SELECT materialize(toNullable(toUInt256(100))) FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 578 out of 1000 SELECT materialize(toNullable(toUInt256(100))) FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 579 out of 1000 SELECT materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 580 out of 1000 SELECT materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 581 out of 1000 SELECT materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 582 out of 1000 SELECT materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 SELECT materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 584 out of 1000 SELECT materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 2 Fuzzing step 585 out of 1000 SELECT materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 586 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 588 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 589 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 590 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 591 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 592 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 593 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 594 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 595 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 596 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 597 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 598 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 599 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 600 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_48 PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(thread_id, (current_database = currentDatabase()) AND greaterOrEquals(19, materialize('default_settings'), today() - toUInt128(toNullable(1))), master_thread_id) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_48 PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(thread_id, (current_database = currentDatabase()) AND greaterOrEquals(19, materialize('default_settings'), today() - toUInt128(toNullable(1))), master_thread_id) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'event_date' in scope SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_48 PREWHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(thread_id, (current_database = currentDatabase()) AND greaterOrEquals(19, materialize('default_settings'), today() - toUInt128(toNullable(1))), master_thread_id) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 601 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 602 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 603 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 605 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 606 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 607 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 608 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 609 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 610 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 611 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 612 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 613 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 614 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 616 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 617 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 618 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 619 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 620 out of 1000 EXPLAIN SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 621 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 622 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 623 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('100'): 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 624 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 625 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 626 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('100'): 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 627 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 628 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 629 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('100'): 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 630 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 631 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 632 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 633 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 634 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('100'): 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 635 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 636 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 637 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('100'): 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 638 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('100'): 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 639 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 640 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 641 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 642 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('100'): 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 643 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('100'): 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 644 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 645 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 646 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 647 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 648 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 649 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('100'): 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 650 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 651 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 652 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 653 out of 1000 EXPLAIN SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 654 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 655 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 656 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('100'): 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 657 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 658 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 659 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 660 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 661 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 662 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 663 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 664 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 665 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 666 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('100'): 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 667 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 668 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 669 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 670 out of 1000 EXPLAIN SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 671 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('100'): 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 672 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('100'): 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 673 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 674 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 675 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 676 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 677 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 678 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 679 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 680 out of 1000 EXPLAIN SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 681 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 682 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 683 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 684 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 685 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 686 out of 1000 EXPLAIN AST SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 687 out of 1000 EXPLAIN SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 688 out of 1000 EXPLAIN SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 689 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 690 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('100'): 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 691 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 692 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('100'): 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 693 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 694 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 695 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 696 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 697 out of 1000 EXPLAIN SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 698 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('100'): 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 699 out of 1000 EXPLAIN SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 700 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 701 out of 1000 EXPLAIN AST SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 702 out of 1000 EXPLAIN AST SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 703 out of 1000 EXPLAIN AST SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 704 out of 1000 EXPLAIN AST SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 705 out of 1000 EXPLAIN AST SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 706 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 707 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 708 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 709 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 710 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 711 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 712 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 713 out of 1000 EXPLAIN SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 714 out of 1000 EXPLAIN SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 715 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 716 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 717 out of 1000 EXPLAIN ESTIMATE SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 718 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('100'): 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 719 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 720 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 721 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 722 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 723 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 724 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 725 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 726 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 727 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 728 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 729 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 730 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 PREWHERE toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_9 PREWHERE toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_14' in scope SELECT 100 FROM test_alias_skip_idx__fuzz_9 PREWHERE toNullable(test_alias_skip_idx__fuzz_14, toUInt128(100)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 731 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 732 out of 1000 EXPLAIN actions = true, json = true, sorting = true SELECT 100 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN actions = true, json = true, sorting = true SELECT 100 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "actions" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 733 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 734 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_31 WHERE toUInt128(toNullable(toUInt256(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), 19)), 19, 19) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_31 WHERE toUInt128(toNullable(toUInt256(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), 19)), 19, 19) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 3, should be 1: While processing SELECT 100 FROM test_alias_skip_idx__fuzz_31 WHERE toUInt128(toNullable(toUInt256(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), 19)), 19, 19) SETTINGS query_plan_enable_optimizations = 0: While processing SELECT 100 FROM test_alias_skip_idx__fuzz_31 WHERE toUInt128(toNullable(toUInt256(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), 19)), 19, 19) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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) @ 0x0000000010fd7564 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 13. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 14. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e8dc9 15. /build/src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e6798 16. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 17. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:1823: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x00000000111cb814 19. /build/contrib/llvm-project/libcxx/include/vector:432: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000012738d18 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x0000000012965fa2 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr 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 @ 0x0000000011622cc7 22. /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) @ 0x000000001161f094 23. /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) @ 0x000000001161bd8c 24. /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&) @ 0x000000001161baf1 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 26. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 27. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 28. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 30. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 31. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 Fuzzing step 735 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 736 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 737 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 1048577 Fuzzing step 738 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 739 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 740 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 741 out of 1000 SELECT (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND greaterOrEquals(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61), event_date, today() - 1), 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 2 Fuzzing step 742 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 743 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 744 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 745 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 746 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 747 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 748 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 749 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_13 WHERE minus(materialize(toLowCardinality(toNullable(12))), today(), materialize(toNullable(toNullable(1)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_13 WHERE minus(materialize(toLowCardinality(toNullable(12))), today(), materialize(toNullable(toNullable(1)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope SELECT 100 FROM test_alias_skip_idx__fuzz_13 WHERE minus(materialize(toLowCardinality(toNullable(12))), today(), materialize(toNullable(toNullable(1)))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 750 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY toNullable(toLowCardinality(19)), toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26), normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY toNullable(toLowCardinality(19)), toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26), normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY toNullable(toLowCardinality(19)), toNullable(toLowCardinality('WITH 01091 AS id SELECT 1;'), 26), normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 751 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 752 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 753 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 754 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 755 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 756 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 757 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 WHERE toNullable(toLowCardinality(toNullable(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 758 out of 1000 SELECT materialize(toLowCardinality(100)) FROM test_alias_skip_idx__fuzz_48 WHERE toNullable(toLowCardinality(toNullable(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 759 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_31 WHERE toNullable(toLowCardinality(toNullable(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 760 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_10 WHERE toNullable(toLowCardinality(toNullable(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 761 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_9 WHERE toNullable(toLowCardinality(toNullable(materialize(100)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 762 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_13 WHERE toNullable(toNullable(materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 763 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_48 WHERE toNullable(toNullable(materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 764 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_6 WHERE toNullable(toNullable(materialize(100))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 765 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 766 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 767 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 768 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(toNullable(toUInt128(100))) FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(toNullable(toUInt128(100))) FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('toLowCardinality'): toLowCardinality(toNullable(toUInt128(100))) FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 769 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_8 PREWHERE 65535 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_8 PREWHERE 65535 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a55b3 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 770 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 771 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 772 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 773 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 774 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 775 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 776 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 777 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 778 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 779 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 780 out of 1000 EXPLAIN AST SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 781 out of 1000 EXPLAIN AST SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 782 out of 1000 EXPLAIN AST SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 783 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 784 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 785 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 786 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 787 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 788 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 789 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 790 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 791 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY (current_database = currentDatabase()) AND greaterOrEquals(19, materialize('default_settings'), today() - toUInt128(toNullable(1))), 3, toNullable(test_alias_skip_idx__fuzz_18, 100) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY (current_database = currentDatabase()) AND greaterOrEquals(19, materialize('default_settings'), today() - toUInt128(toNullable(1))), 3, toNullable(test_alias_skip_idx__fuzz_18, 100) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 3 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY (current_database = currentDatabase()) AND greaterOrEquals(19, materialize('default_settings'), today() - toUInt128(toNullable(1))), 3, toNullable(test_alias_skip_idx__fuzz_18, 100) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 792 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', toNullable(toNullable(100)), 61), test_alias_skip_idx__fuzz_15, (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', toNullable(toNullable(100)), 61), test_alias_skip_idx__fuzz_15, (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', toNullable(toNullable(100)), 61), test_alias_skip_idx__fuzz_15, (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 793 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 795 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 796 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 797 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 798 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 799 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 801 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 802 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 803 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 804 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 805 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 806 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 807 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 808 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 809 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 810 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toFixedString(toNullable(toFixedString(materialize('merge_expressions=0'), toUInt256(19))), 19), toLowCardinality(16) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 811 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toFixedString(toNullable(toFixedString('merge_expressions=0', 19)), 19), 16 SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toFixedString(toNullable(toFixedString('merge_expressions=0', 19)), 19), 16 SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 16 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY toFixedString(toNullable(toFixedString('merge_expressions=0', 19)), 19), 16 SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 812 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( (toFixedString(toNullable(toFixedString('merge_expressions=0', toUInt256(19))), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 813 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( (toNullable(toFixedString('merge_expressions=0', toUInt256(19))), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ((toNullable(toFixedString('merge_expressions=0', toUInt256(19))), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ((toNullable(toFixedString('merge_expressions=0', toUInt256(19))), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 814 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( (toFixedString(toNullable(toFixedString('merge_expressions=0', toUInt256(19))), 19)), (toLowCardinality(16))) WITH CUBE SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ((toFixedString(toNullable(toFixedString('merge_expressions=0', toUInt256(19))), 19)), (toLowCardinality(16))) WITH CUBE SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 815 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( (toFixedString(toNullable(toFixedString('merge_expressions=0', toUInt256(19))))), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ((toFixedString(toNullable(toFixedString('merge_expressions=0', toUInt256(19))))), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ((toFixedString(toNullable(toFixedString('merge_expressions=0', toUInt256(19))))), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 816 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( (toFixedString(toNullable(toFixedString('merge_expressions=0', 19)), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 817 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( (toFixedString(toNullable(toFixedString('merge_expressions=0', 19)), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 818 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( (toFixedString(toNullable(toFixedString('merge_expressions=0', 19)), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 819 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( (toFixedString(toNullable(toFixedString('merge_expressions=0', 19)), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = -2 Error on processing query 'EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ((toFixedString(toNullable(toFixedString('merge_expressions=0', 19)), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = -2': Received from localhost:9000. DB::Exception: Field value -2 is out of range of bool type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::Field const&, String&&) @ 0x0000000010bb38ab 4. /build/src/Core/SettingsFields.cpp:0: bool DB::(anonymous namespace)::fieldToNumber(DB::Field const&) @ 0x0000000010badc1c 5. /build/src/Core/SettingsFields.h:38: DB::SettingFieldNumber::SettingFieldNumber(DB::Field const&) @ 0x0000000010bb2a6c 6. /build/src/Core/SettingsFields.h:45: DB::SettingsTraits::Accessor::instance()::$_0::operator()() const::'lambda1195'(DB::Field const&)::__invoke(DB::Field const&) @ 0x0000000010ad7732 7. /build/src/Core/Settings.h:0: DB::BaseSettings::castValueUtil(std::basic_string_view>, DB::Field const&) @ 0x0000000010898059 8. /build/src/Access/SettingsConstraints.cpp:233: bool DB::getNewValueToCheck(DB::Settings const&, DB::SettingChange&, DB::Field&, bool) @ 0x00000000108971df 9. /build/src/Access/SettingsConstraints.cpp:285: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000010895ee2 10. /build/contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000010896153 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) @ 0x00000000110fd429 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSetQuery::executeForCurrentContext(bool) @ 0x00000000116b8503 13. /build/src/Interpreters/InterpreterSetQuery.h:14: DB::applySettingsFromSelectWithUnion(DB::ASTSelectWithUnionQuery const&, std::shared_ptr) @ 0x00000000116b8cd6 14. /build/src/Interpreters/InterpreterSetQuery.cpp:0: DB::InterpreterSetQuery::applySettingsFromQuery(std::shared_ptr const&, std::shared_ptr) @ 0x00000000116b8728 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSetQuery::applySettingsFromQuery(std::shared_ptr const&, std::shared_ptr) @ 0x00000000116b8a32 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011922b97 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 820 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 821 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 822 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 2147483646 Fuzzing step 823 out of 1000 SELECT toUInt256(100) FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toUInt256(100) FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toUInt256(100) FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 824 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), 19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS ((toFixedString(toFixedString('merge_expressions=0', 19), 19)), (16)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 16 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS ((toFixedString(toFixedString('merge_expressions=0', 19), 19)), (16)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 825 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 826 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 827 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 828 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 829 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 830 out of 1000 EXPLAIN SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 831 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( (toFixedString(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ((toFixedString(19)), (16)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ((toFixedString(19)), (16)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 832 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 833 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 834 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 835 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 836 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 837 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 838 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0'), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS ((toFixedString(toFixedString('merge_expressions=0'), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS ((toFixedString(toFixedString('merge_expressions=0'), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 839 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 840 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), toLowCardinality(19))), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 841 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), toLowCardinality(19))), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 842 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), toLowCardinality(19))), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 843 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( (toFixedString(toFixedString('merge_expressions=0', 19), toLowCardinality(19))), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 844 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 845 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 846 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), 19), (16)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), 19), (16)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), 19), (16)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 847 out of 1000 SELECT (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id), toLowCardinality(toNullable(100)) FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(toLowCardinality(toUInt128(16))))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id), toLowCardinality(toNullable(100)) FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(toLowCardinality(toUInt128(16))))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'event_date' in scope SELECT (event_date >= (today() - toNullable(1))) AND (query_id = id) AND (thread_id != master_thread_id), toLowCardinality(toNullable(100)) FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(toLowCardinality(toUInt128(16))))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 848 out of 1000 EXPLAIN PIPELINE compact = true SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 849 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 850 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 16 is out of bounds. Expected in range [1, 1]. In scope SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 851 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 852 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 853 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 854 out of 1000 SELECT -1, 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT -1, 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT -1, 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 855 out of 1000 SELECT toUInt128(materialize(toUInt256(61, 19), 12)), 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toUInt128(materialize(toUInt256(61, 19), 12)), 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt256'. Expected 1 argument, got 2 arguments: In scope SELECT toUInt128(materialize(toUInt256(61, 19), 12)), 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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)::NameToUInt256, 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&) @ 0x00000000071719f8 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x000000000716b91b 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 20. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 856 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 857 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( ('merge_expressions=0', 19, toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 858 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( (toFixedString(19), toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ((toFixedString(19), toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: In scope SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ((toFixedString(19), toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 859 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 860 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(toLowCardinality(16)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 861 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(19)), (toLowCardinality(toLowCardinality(16)))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 862 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(toNullable(19))), (toLowCardinality(toLowCardinality(16)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 863 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ( ('merge_expressions=0', 19, toLowCardinality(toNullable(19))), (toLowCardinality(16))) WITH CUBE SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toLowCardinality(toNullable(19))), (toLowCardinality(16))) WITH CUBE SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 864 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toLowCardinality(toNullable(19))), (toLowCardinality(toLowCardinality(16)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 865 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 866 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 867 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', 19, 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS (('merge_expressions=0', 19, 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS (('merge_expressions=0', 19, 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 868 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 1048576, 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 1048576, 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 1048576, 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 869 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( ('merge_expressions=0', 19, toNullable(toLowCardinality(materialize(100)), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toNullable(toLowCardinality(materialize(100)), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toNullable(toLowCardinality(materialize(100)), 19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 870 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( (toFixedString('default_settings' > materialize(100), 'merge_expressions=0', 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ((toFixedString('default_settings' > materialize(100), 'merge_expressions=0', 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ((toFixedString('default_settings' > materialize(100), 'merge_expressions=0', 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 871 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_9 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 872 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 873 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toNullable(19)), (toLowCardinality(16))) WITH ROLLUP SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), toNullable(19)), (toLowCardinality(16))) WITH ROLLUP SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 874 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 875 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 876 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( ('merge_expressions=0', 19, toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 877 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toFixedString(toNullable('merge_expressions=0'), materialize(toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1)), 19), toNullable(19)), (toLowCardinality(16))) WITH CUBE SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ((toFixedString(toNullable('merge_expressions=0'), materialize(toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1)), 19), toNullable(19)), (toLowCardinality(16))) WITH CUBE SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 878 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE normalizeQuery(query) GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE normalizeQuery(query) GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE normalizeQuery(query) GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 879 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toNullable(materialize(toLowCardinality(19)))), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 9223372036854775806 Fuzzing step 880 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', toLowCardinality(19)), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', toLowCardinality(19)), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 881 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( (toFixedString(toUInt128(toNullable(toLowCardinality(toUInt256(19)), 19)), 'merge_expressions=0', 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ((toFixedString(toUInt128(toNullable(toLowCardinality(toUInt256(19)), 19)), 'merge_expressions=0', 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ((toFixedString(toUInt128(toNullable(toLowCardinality(toUInt256(19)), 19)), 'merge_expressions=0', 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 882 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 883 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toNullable(19)), (toLowCardinality(toUInt128(16)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 884 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', toLowCardinality(19)), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 885 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 PREWHERE event_date >= (today() - toNullable(materialize(1))) GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', toLowCardinality(19)), toNullable(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_9 PREWHERE event_date >= (today() - toNullable(materialize(1))) GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', toLowCardinality(19)), toNullable(19)), (16)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'event_date' in scope SELECT 100 FROM test_alias_skip_idx__fuzz_9 PREWHERE event_date >= (today() - toNullable(materialize(1))) GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', toLowCardinality(19)), toNullable(19)), (16)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 886 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 PREWHERE toLowCardinality(toUInt128(26)) GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', toLowCardinality(19)), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 65537 Fuzzing step 887 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', toLowCardinality(toLowCardinality(toNullable(19)))), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', toLowCardinality(toLowCardinality(toNullable(19)))), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', toLowCardinality(toLowCardinality(toNullable(19)))), 19), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 888 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', 19), toNullable(toLowCardinality(19))), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), toNullable(toLowCardinality(19))), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 44 ('100'): 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', 19), toNullable(toLowCardinality(19))), (toLowCardinality(16. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 889 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', toLowCardinality(19)), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 890 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', toLowCardinality(19)), toNullable(19)), (toLowCardinality(16))) WITH CUBE SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ((toFixedString('merge_expressions=0', toLowCardinality(19)), toNullable(19)), (toLowCardinality(16))) WITH CUBE SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 891 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', toLowCardinality(19)), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 892 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', toLowCardinality(19)), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 893 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', toLowCardinality(19)), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 894 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( (toFixedString('merge_expressions=0', toLowCardinality(19)), toNullable(19)), (toLowCardinality(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 895 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (toLowCardinality(toLowCardinality(toNullable(16))))) SETTINGS query_plan_enable_optimizations = 1025 Fuzzing step 896 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (toLowCardinality(materialize(16)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 897 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), 19), (toLowCardinality(materialize(16)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (toLowCardinality(materialize(16)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (toLowCardinality(materialize(16)))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 898 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 899 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), 19), (16)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (16)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (16)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 900 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 901 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 902 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), 19), (16)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (16)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (16)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 903 out of 1000 SELECT toUInt256(test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19), 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(toNullable(toUInt128(19)))), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toUInt256(test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19), 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), toNullable(toNullable(toUInt128(19)))), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_12' in scope SELECT toUInt256(test_alias_skip_idx__fuzz_12, normalizeQuery(test_nested_alias_idx__fuzz_30) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19), 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), toNullable(toNullable(toUInt128(19)))), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 904 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 905 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_6 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_6 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 906 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(materialize(materialize(toLowCardinality(materialize(100))), toLowCardinality(19)), 19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(materialize(materialize(toLowCardinality(materialize(100))), toLowCardinality(19)), 19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(materialize(materialize(toLowCardinality(materialize(100))), toLowCardinality(19)), 19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 907 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 908 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( ('merge_expressions=0', 19, toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 909 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), toNullable(19)), (16)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 16 is out of bounds. Expected in range [1, 1]. In scope SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), toNullable(19)), (16)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 910 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS ( ('merge_expressions=0', 19, toNullable(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toNullable(19)), (16)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toNullable(19)), (16)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 911 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 912 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 913 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 914 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 915 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 916 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(toUInt128(16)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 917 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(toUInt128(16)))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 918 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( ('merge_expressions=0', 19, toNullable(19)), (materialize(toUInt128(16)))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toNullable(19)), (materialize(toUInt128(16)))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toNullable(19)), (materialize(toUInt128(16)))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 919 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 920 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 921 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ( ('merge_expressions=0', 19, toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 922 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 923 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), toNullable(19)), (16)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 16 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), toNullable(19)), (16)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 924 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 925 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize('WITH 01091 AS id SELECT 1;') GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize('WITH 01091 AS id SELECT 1;') GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: String. In query SELECT 100 FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize('WITH 01091 AS id SELECT 1;') GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 926 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 927 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( ('merge_expressions=0', 19, toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 928 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 929 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 930 out of 1000 SELECT materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(toLowCardinality(toUInt128(19))), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 931 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(toLowCardinality(toUInt128(19))), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(toLowCardinality(toUInt128(19))), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(toLowCardinality(toUInt128(19))), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 932 out of 1000 SELECT today(currentDatabase(toLowCardinality(2147483647))), materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(toLowCardinality(toUInt128(19))), toNullable(19)), (materialize(16))) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT today(currentDatabase(toLowCardinality(2147483647))), materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(toLowCardinality(toUInt128(19))), toNullable(19)), (materialize(16))) WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x000000001104837a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 933 out of 1000 SELECT materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(toUInt128(19)), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 934 out of 1000 SELECT materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(toUInt128(19)), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 935 out of 1000 SELECT materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(toUInt128(19)), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(toUInt128(19)), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(toUInt128(19)), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 936 out of 1000 SELECT materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(toUInt128(19)), toNullable(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 937 out of 1000 SELECT materialize(toNullable(materialize(100))) FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(toUInt128(19)), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT materialize(toNullable(materialize(100))) FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(toUInt128(19)), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT materialize(toNullable(materialize(100))) FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(toUInt128(19)), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 938 out of 1000 SELECT materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(toLowCardinality(19))), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 939 out of 1000 SELECT materialize(toNullable(100)) FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(toLowCardinality(19))), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 940 out of 1000 SELECT toNullable(100) FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(toLowCardinality(19))), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 941 out of 1000 SELECT toNullable(toLowCardinality(100)) FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toNullable(toLowCardinality(19))), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 942 out of 1000 SELECT toNullable(toLowCardinality(100)) FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 943 out of 1000 SELECT toNullable(toLowCardinality(100)) FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 944 out of 1000 SELECT toNullable(toLowCardinality(100)) FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 945 out of 1000 SELECT toNullable(toLowCardinality(100)) FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS ( ('merge_expressions=0', 19, toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT toNullable(toLowCardinality(100)) FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(toLowCardinality(100)) FROM test_alias_skip_idx__fuzz_8 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 946 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_31 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 947 out of 1000 SELECT toLowCardinality(100) FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 948 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 949 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_9 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 950 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 951 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', 19, toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS (('merge_expressions=0', 19, toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 952 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), 19), (16)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (16)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (16)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 953 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 954 out of 1000 EXPLAIN PIPELINE compact = true SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 100 FROM test_alias_skip_idx__fuzz_10 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 955 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 956 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_10 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_10 WITH TOTALS SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 957 out of 1000 EXPLAIN AST SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 958 out of 1000 EXPLAIN AST SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 959 out of 1000 EXPLAIN AST SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 960 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 961 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 962 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 963 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 964 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 965 out of 1000 EXPLAIN AST SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 966 out of 1000 EXPLAIN AST SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 967 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 968 out of 1000 EXPLAIN QUERY TREE SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 969 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 970 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 971 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_6 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 972 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 973 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 974 out of 1000 EXPLAIN SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 975 out of 1000 EXPLAIN SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 976 out of 1000 EXPLAIN SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 977 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 978 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) WITH CUBE SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS (('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) WITH CUBE SETTINGS query_plan_enable_optimizations = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 979 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 980 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 981 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( ('merge_expressions=0', toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 982 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 983 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), toLowCardinality(19), toLowCardinality(19)), (materialize('default_settings' > materialize(toLowCardinality(100)), 16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ((toLowCardinality('merge_expressions=0'), toLowCardinality(19), toLowCardinality(19)), (materialize('default_settings' > materialize(toLowCardinality(100)), 16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ((toLowCardinality('merge_expressions=0'), toLowCardinality(19), toLowCardinality(19)), (materialize('default_settings' > materialize(toLowCardinality(100)), 16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 984 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_13 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), toLowCardinality(19), toLowCardinality(19)), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 985 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), 19, 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ((toLowCardinality('merge_expressions=0'), 19, 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_48 GROUP BY GROUPING SETS ((toLowCardinality('merge_expressions=0'), 19, 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 986 out of 1000 SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ((toLowCardinality('merge_expressions=0'), toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_45 GROUP BY GROUPING SETS ((toLowCardinality('merge_expressions=0'), toLowCardinality(19), 19), (materialize(16))) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 987 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Query succeeded, using this AST as a start Fuzzing step 988 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 989 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 990 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 991 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ((toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ((toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 992 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ((toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ((toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 993 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 994 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 995 out of 1000 EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Error on processing query 'EXPLAIN PIPELINE SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ((toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ((toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 996 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 997 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 998 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST Fuzzing step 999 out of 1000 EXPLAIN SYNTAX SELECT 100 FROM test_alias_skip_idx__fuzz_7 GROUP BY GROUPING SETS ( (toLowCardinality('merge_expressions=0'), 19, toLowCardinality(19)), (16)) SETTINGS query_plan_enable_optimizations = 0 Got boring AST 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_nested_alias_idx__fuzz_0 ( `c` UInt32, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 2 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_1 ( `c` Array(UInt32), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_nested_alias_idx__fuzz_1 (`c` Array(UInt32), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(UInt32) and UInt8 of arguments of function plus: While processing c + 1 AS a1: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 3 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_2 ( `c` UInt32, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 4 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_3 ( `c` Nullable(UInt32), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 5 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_4 ( `c` UInt32, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 6 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_5 ( `c` LowCardinality(UInt32), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 7 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_6 ( `c` Nullable(UInt32), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 8 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_7 ( `c` Nullable(UInt32), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 9 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_8 ( `c` Array(Nullable(UInt32)), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_nested_alias_idx__fuzz_8 (`c` Array(Nullable(UInt32)), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(Nullable(UInt32)) and UInt8 of arguments of function plus: While processing c + 1 AS a1: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 10 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_9 ( `c` UInt32, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 11 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_10 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 12 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_11 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 13 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_12 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 14 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_13 ( `c` Nullable(Int128), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 15 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_14 ( `c` LowCardinality(Int128), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 16 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_15 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 17 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_16 ( `c` Nullable(Int128), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 18 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_17 ( `c` Nullable(Int128), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 19 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_18 ( `c` Nullable(Int128), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 20 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_19 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 21 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_20 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 22 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_21 ( `c` Array(Int128), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_nested_alias_idx__fuzz_21 (`c` Array(Int128), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(Int128) and UInt8 of arguments of function plus: While processing c + 1 AS a1: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 23 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_22 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 24 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_23 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 25 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_24 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 26 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_25 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 27 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_26 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 28 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_27 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 29 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_28 ( `c` Int128, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 30 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_29 ( `c` UInt8, `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 31 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_30 ( `c` Array(UInt8), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_nested_alias_idx__fuzz_30 (`c` Array(UInt8), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(UInt8) and UInt8 of arguments of function plus: While processing c + 1 AS a1: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 32 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_31 ( `c` LowCardinality(UInt8), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 33 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_32 ( `c` LowCardinality(UInt8), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 34 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_33 ( `c` LowCardinality(UInt8), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 35 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_34 ( `c` LowCardinality(Nullable(UInt8)), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 36 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_35 ( `c` LowCardinality(Int16), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 37 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_36 ( `c` Decimal(38, 13), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 38 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_37 ( `c` Array(Decimal(38, 13)), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_nested_alias_idx__fuzz_37 (`c` Array(Decimal(38, 13)), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(Decimal(38, 13)) and UInt8 of arguments of function plus: While processing c + 1 AS a1: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 39 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_38 ( `c` Array(Decimal(38, 13)), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_nested_alias_idx__fuzz_38 (`c` Array(Decimal(38, 13)), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(Decimal(38, 13)) and UInt8 of arguments of function plus: While processing c + 1 AS a1: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 40 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_39 ( `c` Decimal(38, 13), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 41 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_40 ( `c` Decimal(38, 13), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 42 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_41 ( `c` Decimal(38, 13), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 43 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_42 ( `c` FixedString(15), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_nested_alias_idx__fuzz_42 (`c` FixedString(15), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types FixedString(15) and UInt8 of arguments of function plus: While processing c + 1 AS a1: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 44 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_43 ( `c` Array(UInt256), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_nested_alias_idx__fuzz_43 (`c` Array(UInt256), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(UInt256) and UInt8 of arguments of function plus: While processing c + 1 AS a1: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 45 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_44 ( `c` Array(Decimal(38, 13)), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Error on processing query 'CREATE TABLE test_nested_alias_idx__fuzz_44 (`c` Array(Decimal(38, 13)), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192': Received from localhost:9000. DB::Exception: Illegal types Array(Decimal(38, 13)) and UInt8 of arguments of function plus: While processing c + 1 AS a1: default expression and column type are incompatible.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000af44f2d 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x00000000078717fb 6. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fd7564 10. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e60b1 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111f05af 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111e850d 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111dda15 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111bd221 15. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x00000000111cb234 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1815: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x00000000111cb689 17. /build/src/Storages/ColumnsDescription.cpp:986: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x00000000121f64d1 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, DB::LoadingStrictnessLevel, bool) @ 0x0000000011562362 19. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&, DB::LoadingStrictnessLevel) const @ 0x000000001156470b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001156c5d9 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:2045: DB::InterpreterCreateQuery::execute() @ 0x0000000011576b12 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 46 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_45 ( `c` Decimal(38, 13), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 47 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_46 ( `c` Decimal(38, 13), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 48 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_47 ( `c` Nullable(Decimal(38, 13)), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 Query succeeded, using this AST as a start Fuzzing step 49 out of 50 CREATE TABLE test_nested_alias_idx__fuzz_48 ( `c` Nullable(Decimal(38, 13)), `a1` ALIAS c + 1, `a2` ALIAS a1 + 1, INDEX idx_a2 a2 TYPE minmax GRANULARITY 1 ) ENGINE = MergeTree ORDER BY c SETTINGS index_granularity = 8192 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_nested_alias_idx__fuzz_36 SELECT number FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_48 SELECT number FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_35 SELECT number FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_4 SELECT number FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_32 SELECT number FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_6 SELECT number FROM numbers(10) Fuzzing step 0 out of 1 Query succeeded, using this AST as a start INSERT INTO test_nested_alias_idx__fuzz_36 SELECT number + 200 FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_48 SELECT number + 200 FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_35 SELECT number + 200 FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_4 SELECT number + 200 FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_32 SELECT number + 200 FROM numbers(10) INSERT INTO test_nested_alias_idx__fuzz_6 SELECT number + 200 FROM numbers(10) Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 2 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 3 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 4 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 5 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 6 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 7 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 8 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 9 out of 1000 SELECT 'nested_alias' GROUP BY toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19), a > materialize(toUInt256(100)), toUInt256(1091) Error on processing query 'SELECT 'nested_alias' GROUP BY toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19), a > materialize(toUInt256(100)), toUInt256(1091)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_30' in scope SELECT 'nested_alias' GROUP BY toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19), a > materialize(toUInt256(100)), toUInt256(1091). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 10 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 11 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' Got boring AST Fuzzing step 12 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' Got boring AST Fuzzing step 13 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' Got boring AST Fuzzing step 14 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' Got boring AST Fuzzing step 15 out of 1000 EXPLAIN AST SELECT 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 16 out of 1000 EXPLAIN AST SELECT 'nested_alias' Got boring AST Fuzzing step 17 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 18 out of 1000 EXPLAIN SELECT 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 19 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'nested_alias' Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'nested_alias'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 (''nested_alias''): 'nested_alias'. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 20 out of 1000 EXPLAIN AST SELECT 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 21 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 22 out of 1000 EXPLAIN QUERY TREE SELECT 'nested_alias' Got boring AST Fuzzing step 23 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 24 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' Got boring AST Fuzzing step 25 out of 1000 EXPLAIN SYNTAX SELECT 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 26 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'nested_alias' Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'nested_alias'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 (''nested_alias''): 'nested_alias'. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 27 out of 1000 EXPLAIN SYNTAX SELECT 'nested_alias' Got boring AST Fuzzing step 28 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'nested_alias' Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'nested_alias'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 (''nested_alias''): 'nested_alias'. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 29 out of 1000 EXPLAIN SELECT 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 30 out of 1000 EXPLAIN SELECT 'nested_alias' Got boring AST Fuzzing step 31 out of 1000 EXPLAIN SELECT 'nested_alias' Got boring AST Fuzzing step 32 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'nested_alias' Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'nested_alias'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 (''nested_alias''): 'nested_alias'. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 33 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 34 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' Got boring AST Fuzzing step 35 out of 1000 EXPLAIN PIPELINE SELECT 'nested_alias' Got boring AST Fuzzing step 36 out of 1000 EXPLAIN SELECT 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 37 out of 1000 EXPLAIN SELECT 'nested_alias' Got boring AST Fuzzing step 38 out of 1000 SELECT 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 39 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 40 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 41 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 42 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 43 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 44 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 45 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 46 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 47 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 48 out of 1000 EXPLAIN optimize = true, sorting = true SELECT 'nested_alias' Error on processing query 'EXPLAIN optimize = true, sorting = true SELECT 'nested_alias'': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 49 out of 1000 SELECT 'nested_alias' Got boring AST Fuzzing step 50 out of 1000 SELECT toLowCardinality(toUInt256(toNullable(toUInt256(19)))), toNullable('nested_alias') Query succeeded, using this AST as a start Fuzzing step 51 out of 1000 SELECT toLowCardinality(toUInt256(toNullable(toUInt256(19)))), 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 52 out of 1000 SELECT toUInt256(toNullable(toUInt256(19))), 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 53 out of 1000 SELECT toUInt256(toNullable(toUInt256(19))), 'nested_alias' Got boring AST Fuzzing step 54 out of 1000 SELECT toUInt256(toNullable(toUInt256(19))), 'nested_alias' Got boring AST Fuzzing step 55 out of 1000 SELECT toUInt256(toNullable(19)), 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 56 out of 1000 SELECT toUInt256(toNullable(19)), 'nested_alias' Got boring AST Fuzzing step 57 out of 1000 SELECT toUInt256(19), 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 58 out of 1000 SELECT toUInt256(19), 'nested_alias' Got boring AST Fuzzing step 59 out of 1000 SELECT toUInt256(19), 'nested_alias' Got boring AST Fuzzing step 60 out of 1000 SELECT toUInt256(19), 'nested_alias' Got boring AST Fuzzing step 61 out of 1000 SELECT toUInt256(19), 'nested_alias' Got boring AST Fuzzing step 62 out of 1000 EXPLAIN AST graph = true SELECT normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);')), toUInt256(19), 'nested_alias' Error on processing query 'EXPLAIN AST graph = true SELECT normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);')), toUInt256(19), 'nested_alias'': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 63 out of 1000 SELECT toUInt256(19), 'nested_alias' Got boring AST Fuzzing step 64 out of 1000 SELECT 19, 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 65 out of 1000 SELECT 19, 'nested_alias' Got boring AST Fuzzing step 66 out of 1000 SELECT 19, 'nested_alias' Got boring AST Fuzzing step 67 out of 1000 SELECT 19, 'nested_alias' Got boring AST Fuzzing step 68 out of 1000 SELECT 19, 'nested_alias' Got boring AST Fuzzing step 69 out of 1000 SELECT 19, 'nested_alias' Got boring AST Fuzzing step 70 out of 1000 SELECT 19, 'nested_alias' GROUP BY materialize(materialize(1091), toInt256(-2147483649)), today(currentDatabase(toLowCardinality(2147483647))), (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - toNullable(1))), toLowCardinality(16) Error on processing query 'SELECT 19, 'nested_alias' GROUP BY materialize(materialize(1091), toInt256(-2147483649)), today(currentDatabase(toLowCardinality(2147483647))), (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - toNullable(1))), toLowCardinality(16)': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 19, 'nested_alias' GROUP BY materialize(materialize(1091), toInt256(-2147483649)), today(currentDatabase(toLowCardinality(2147483647))), (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND (event_date >= (today() - toNullable(1))), toLowCardinality(16). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 71 out of 1000 SELECT 19, 'nested_alias' Got boring AST Fuzzing step 72 out of 1000 SELECT 19, 'nested_alias' GROUP BY toUInt128(materialize(toNullable(toUInt256(19)))), normalizeQuery(test_alias_skip_idx__fuzz_44, query) = normalizeQuery(19, 'with 01091 as id select sum(number) from numbers_mt(1000000);') Error on processing query 'SELECT 19, 'nested_alias' GROUP BY toUInt128(materialize(toNullable(toUInt256(19)))), normalizeQuery(test_alias_skip_idx__fuzz_44, query) = normalizeQuery(19, 'with 01091 as id select sum(number) from numbers_mt(1000000);')': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_44' in scope SELECT 19, 'nested_alias' GROUP BY toUInt128(materialize(toNullable(toUInt256(19)))), normalizeQuery(test_alias_skip_idx__fuzz_44, query) = normalizeQuery(19, 'with 01091 as id select sum(number) from numbers_mt(1000000);'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 73 out of 1000 SELECT toLowCardinality(19), 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 74 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(19), 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 75 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19), 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 76 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19), 'nested_alias' Got boring AST Fuzzing step 77 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19), 'nested_alias' Got boring AST Fuzzing step 78 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19), 'nested_alias' Got boring AST Fuzzing step 79 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19), 'nested_alias' Got boring AST Fuzzing step 80 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19), 'nested_alias' Got boring AST Fuzzing step 81 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(19), 'nested_alias' Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(19), 'nested_alias'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('toLowCardinality'): toLowCardinality(19), 'nested_alias'. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 82 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(19), 'nested_alias' Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(19), 'nested_alias'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('toLowCardinality'): toLowCardinality(19), 'nested_alias'. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 83 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(19), 'nested_alias' Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(19), 'nested_alias'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('toLowCardinality'): toLowCardinality(19), 'nested_alias'. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 84 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 85 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), 'nested_alias' Got boring AST Fuzzing step 86 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), 'nested_alias' Got boring AST Fuzzing step 87 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(19), 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 88 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(19), 'nested_alias' Got boring AST Fuzzing step 89 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(19), 'nested_alias' Got boring AST Fuzzing step 90 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(19), 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 92 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), 'nested_alias' Got boring AST Fuzzing step 93 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), 'nested_alias' Got boring AST Fuzzing step 94 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), 'nested_alias' Got boring AST Fuzzing step 95 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), 'nested_alias' Got boring AST Fuzzing step 96 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), 'nested_alias' Got boring AST Fuzzing step 97 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(19), 'nested_alias' Got boring AST Fuzzing step 98 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(19), 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 99 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(19), 'nested_alias' Got boring AST Fuzzing step 100 out of 1000 SELECT toLowCardinality(19), 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 101 out of 1000 SELECT 19, 'nested_alias' Query succeeded, using this AST as a start Fuzzing step 102 out of 1000 SELECT 19, 'nested_alias' Got boring AST Fuzzing step 103 out of 1000 SELECT 19, 'nested_alias' Got boring AST Fuzzing step 104 out of 1000 SELECT 19, 'nested_alias' Got boring AST Fuzzing step 105 out of 1000 SELECT toUInt256(19), 'nested_alias' WHERE uniqExact(100, thread_id) Error on processing query 'SELECT toUInt256(19), 'nested_alias' WHERE uniqExact(100, thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT toUInt256(19), 'nested_alias' WHERE uniqExact(100, thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 106 out of 1000 SELECT 19, 'nested_alias' GROUP BY toNullable(1), materialize(toNullable(toUInt256(100))), uniqExact(materialize(materialize(100)), thread_id) RESPECT NULLS Error on processing query 'SELECT 19, 'nested_alias' GROUP BY toNullable(1), materialize(toNullable(toUInt256(100))), uniqExact(materialize(materialize(100)), thread_id) RESPECT NULLS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 19, 'nested_alias' GROUP BY toNullable(1), materialize(toNullable(toUInt256(100))), uniqExact(materialize(materialize(100)), thread_id) RESPECT NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 107 out of 1000 SELECT 19, 'nested_alias' Got boring AST Fuzzing step 108 out of 1000 SELECT 19, 'nested_alias' Got boring AST Fuzzing step 109 out of 1000 SELECT 19, toFixedString('nested_alias', 12) Query succeeded, using this AST as a start Fuzzing step 110 out of 1000 SELECT 19, toFixedString('nested_alias', 12) Got boring AST Fuzzing step 111 out of 1000 SELECT 19, toFixedString('nested_alias', 12) Got boring AST Fuzzing step 112 out of 1000 SELECT 19, toFixedString('nested_alias', 12) Got boring AST Fuzzing step 113 out of 1000 SELECT 19, toFixedString('nested_alias', 12) Got boring AST Fuzzing step 114 out of 1000 SELECT 19, 'nested_alias', 12 Query succeeded, using this AST as a start Fuzzing step 115 out of 1000 SELECT 19, 'nested_alias', 12 Got boring AST Fuzzing step 116 out of 1000 SELECT 19, 'nested_alias', 12 Got boring AST Fuzzing step 117 out of 1000 SELECT toUInt128(19), 'nested_alias', 12 Query succeeded, using this AST as a start Fuzzing step 118 out of 1000 SELECT toUInt128(19), 'nested_alias', 12 Got boring AST Fuzzing step 119 out of 1000 SELECT 19, 'nested_alias', 12 Query succeeded, using this AST as a start Fuzzing step 120 out of 1000 SELECT 19, 'nested_alias', 12 Got boring AST Fuzzing step 121 out of 1000 SELECT 19, 'nested_alias', 12 Got boring AST Fuzzing step 122 out of 1000 SELECT 19, 'nested_alias', 12 Got boring AST Fuzzing step 123 out of 1000 SELECT 19, 'nested_alias', 12 Got boring AST Fuzzing step 124 out of 1000 SELECT 19, 'nested_alias', 12 Got boring AST Fuzzing step 125 out of 1000 SELECT 19, 'nested_alias', 12 Got boring AST Fuzzing step 126 out of 1000 SELECT 19, 'nested_alias', 12 Got boring AST Fuzzing step 127 out of 1000 SELECT 19, 'nested_alias', 12 Got boring AST Fuzzing step 128 out of 1000 SELECT 19, 'nested_alias', 12 Got boring AST Fuzzing step 129 out of 1000 SELECT 19, 'nested_alias', 12 Got boring AST Fuzzing step 130 out of 1000 SELECT 19, 'nested_alias', 12 Got boring AST Fuzzing step 131 out of 1000 SELECT 19, toNullable('nested_alias'), 12 Query succeeded, using this AST as a start Fuzzing step 132 out of 1000 SELECT 19, toNullable('nested_alias'), 12 Got boring AST Fuzzing step 133 out of 1000 SELECT 19, toNullable('nested_alias'), 12 Got boring AST Fuzzing step 134 out of 1000 SELECT 19, toNullable('nested_alias'), 12 Got boring AST Fuzzing step 135 out of 1000 SELECT 19, toNullable('nested_alias'), 12 Got boring AST Fuzzing step 136 out of 1000 SELECT 19, toNullable('nested_alias'), 12 Got boring AST Fuzzing step 137 out of 1000 EXPLAIN PIPELINE compact = true SELECT 19, toNullable('nested_alias'), 12 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 19, toNullable('nested_alias'), 12': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 138 out of 1000 SELECT 19, toNullable('nested_alias'), 12 PREWHERE toUInt256(materialize(26)) Error on processing query 'SELECT 19, toNullable('nested_alias'), 12 PREWHERE toUInt256(materialize(26))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 139 out of 1000 SELECT 19, toNullable('nested_alias'), 12 Got boring AST Fuzzing step 140 out of 1000 SELECT 19, toNullable('nested_alias'), 12 Got boring AST Fuzzing step 141 out of 1000 SELECT 19, toNullable('nested_alias'), 12 Got boring AST Fuzzing step 142 out of 1000 SELECT 19, toNullable('nested_alias'), 12 Got boring AST Fuzzing step 143 out of 1000 SELECT 19, toNullable('nested_alias'), 12 Got boring AST Fuzzing step 144 out of 1000 SELECT 19, toNullable('nested_alias'), 12 Got boring AST Fuzzing step 145 out of 1000 SELECT 19, toNullable('nested_alias'), 12 Got boring AST Fuzzing step 146 out of 1000 SELECT 19, toNullable('nested_alias'), 12 PREWHERE toLowCardinality(toUInt256(toUInt256(19))) Error on processing query 'SELECT 19, toNullable('nested_alias'), 12 PREWHERE toLowCardinality(toUInt256(toUInt256(19)))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 147 out of 1000 SELECT 19, toNullable('nested_alias'), 12 Got boring AST Fuzzing step 148 out of 1000 SELECT 19, toNullable('nested_alias'), 12 Got boring AST Fuzzing step 149 out of 1000 SELECT 19, toNullable('nested_alias'), toNullable(12) Query succeeded, using this AST as a start Fuzzing step 150 out of 1000 SELECT 19, toNullable('nested_alias'), toNullable(12) Got boring AST Fuzzing step 151 out of 1000 SELECT 19, toNullable('nested_alias'), toNullable(12) Got boring AST Fuzzing step 152 out of 1000 SELECT 19, toNullable('nested_alias'), toNullable(12) Got boring AST Fuzzing step 153 out of 1000 SELECT 19, toNullable('nested_alias'), 12 WHERE toNullable(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 154 out of 1000 SELECT 19, toNullable('nested_alias'), 12 PREWHERE toNullable(toNullable(19)) Error on processing query 'SELECT 19, toNullable('nested_alias'), 12 PREWHERE toNullable(toNullable(19))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 155 out of 1000 SELECT 19, toNullable('nested_alias'), 12 PREWHERE toNullable(toNullable(19)) WHERE toNullable(toNullable(19)) Error on processing query 'SELECT 19, toNullable('nested_alias'), 12 PREWHERE toNullable(toNullable(19)) WHERE toNullable(toNullable(19))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 156 out of 1000 SELECT 19, toNullable('nested_alias'), 12 WHERE toNullable(toNullable(19)) Got boring AST Fuzzing step 157 out of 1000 SELECT toUInt128(19), 'nested_alias', 12 WHERE toNullable(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 158 out of 1000 SELECT 19, 'nested_alias', 12 WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 159 out of 1000 EXPLAIN json = true SELECT 19, toFixedString('nested_alias', 12), 12 WHERE toNullable(19) Error on processing query 'EXPLAIN json = true SELECT 19, toFixedString('nested_alias', 12), 12 WHERE toNullable(19)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 160 out of 1000 SELECT 19, 'nested_alias', 12 WHERE toNullable(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 161 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19, materialize(toNullable('nested_alias')), 12 WHERE toNullable(toNullable(19)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19, materialize(toNullable('nested_alias')), 12 WHERE toNullable(toNullable(19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('19'): 19, materialize(toNullable('nested_alias')), 12 WHERE toNullable(toNullable(19)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 162 out of 1000 SELECT 19, 'nested_alias', 12 WHERE toNullable(toNullable(19)) Got boring AST Fuzzing step 163 out of 1000 SELECT toUInt128(19), 'nested_alias', 12 WHERE toNullable(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 164 out of 1000 SELECT toUInt128(19), 'nested_alias', 12 WHERE toNullable(toNullable(19)) Got boring AST Fuzzing step 165 out of 1000 SELECT toUInt128(19), 'nested_alias', 12 WHERE toNullable(toNullable(materialize(19))) Query succeeded, using this AST as a start Fuzzing step 166 out of 1000 SELECT toUInt128(19), 'nested_alias', 12 PREWHERE query WHERE toNullable(toNullable(materialize(19))) Error on processing query 'SELECT toUInt128(19), 'nested_alias', 12 PREWHERE query WHERE toNullable(toNullable(materialize(19)))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'query' in scope SELECT toUInt128(19), 'nested_alias', 12 PREWHERE query WHERE toNullable(toNullable(materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 167 out of 1000 SELECT toUInt128(19), 'nested_alias', 12 WHERE toNullable(materialize(19)) Query succeeded, using this AST as a start Fuzzing step 168 out of 1000 SELECT toUInt128(19), materialize(toNullable('nested_alias')), 12 WHERE toNullable(materialize(19)) Query succeeded, using this AST as a start Fuzzing step 169 out of 1000 SELECT 19, materialize(toNullable('nested_alias')), 12 WHERE toNullable(materialize(19)) GROUP BY (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)), materialize('default_settings'), toFixedString('merge_expressions=0', toUInt256(19)), toFixedString('default_settings', 16) Error on processing query 'SELECT 19, materialize(toNullable('nested_alias')), 12 WHERE toNullable(materialize(19)) GROUP BY (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)), materialize('default_settings'), toFixedString('merge_expressions=0', toUInt256(19)), toFixedString('default_settings', 16)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT 19, materialize(toNullable('nested_alias')), 12 WHERE toNullable(materialize(19)) GROUP BY (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)), materialize('default_settings'), toFixedString('merge_expressions=0', toUInt256(19)), toFixedString('default_settings', 16). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 170 out of 1000 SELECT toUInt128(19), materialize(toNullable('nested_alias')), 12 WHERE toNullable(materialize(19)) Got boring AST Fuzzing step 171 out of 1000 SELECT toUInt128(19), materialize(toNullable('nested_alias')), 12 WHERE toNullable(materialize(19)) Got boring AST Fuzzing step 172 out of 1000 SELECT toUInt128(19), materialize(toNullable('nested_alias')), 12 WHERE toNullable(materialize(19)) Got boring AST Fuzzing step 173 out of 1000 SELECT toUInt128(19), materialize(toNullable('nested_alias')), 12 WHERE toNullable(materialize(19)) Got boring AST Fuzzing step 174 out of 1000 SELECT toUInt128(19), materialize(toNullable('nested_alias')), 12 WHERE toNullable(materialize(19)) Got boring AST Fuzzing step 175 out of 1000 SELECT toUInt128(19), materialize(toNullable('nested_alias')), 12 WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 176 out of 1000 SELECT toUInt128(19), materialize(toNullable('nested_alias')), 12 WHERE toNullable(19) Got boring AST Fuzzing step 177 out of 1000 SELECT toUInt256(12), toUInt128(19), materialize('nested_alias'), 12 WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 178 out of 1000 SELECT toUInt256(12), toUInt128(19), materialize('nested_alias'), 12 WHERE toNullable(58, 19) Error on processing query 'SELECT toUInt256(12), toUInt128(19), materialize('nested_alias'), 12 WHERE toNullable(58, 19)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toUInt256(12), toUInt128(19), materialize('nested_alias'), 12 WHERE toNullable(58, 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 179 out of 1000 SELECT toUInt256(12), 19, materialize('nested_alias'), 12 WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 180 out of 1000 SELECT toUInt256(12), 19, materialize('nested_alias'), 12 WHERE toNullable(19) Got boring AST Fuzzing step 181 out of 1000 SELECT toUInt256(12), 19, 'nested_alias', 12 WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 182 out of 1000 SELECT toUInt256(12), 19, 'nested_alias', 12 WHERE toNullable(toNullable(toUInt128(19))) Error on processing query 'SELECT toUInt256(12), 19, 'nested_alias', 12 WHERE toNullable(toNullable(toUInt128(19)))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 183 out of 1000 SELECT toUInt256(12), 19, 'nested_alias', 12 WHERE toNullable(19) Got boring AST Fuzzing step 184 out of 1000 SELECT toUInt256(12), 19, 'nested_alias', 12 WHERE toNullable(19) Got boring AST Fuzzing step 185 out of 1000 SELECT toUInt256(12), 19, 'nested_alias', 12 WHERE toNullable(19) Got boring AST Fuzzing step 186 out of 1000 SELECT toUInt256(12), 19, 'nested_alias', 12 WHERE toNullable(19) Got boring AST Fuzzing step 187 out of 1000 SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 188 out of 1000 SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) Got boring AST Fuzzing step 189 out of 1000 SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) Got boring AST Fuzzing step 190 out of 1000 SELECT 12, 19, materialize('nested_alias'), 12 WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 191 out of 1000 SELECT 12, 19, materialize('nested_alias'), 12 WHERE toNullable(19) Got boring AST Fuzzing step 192 out of 1000 SELECT 12, 19, materialize('nested_alias'), 12 WHERE toNullable(19) Got boring AST Fuzzing step 193 out of 1000 SELECT 12, 19, materialize('nested_alias'), 12 WHERE toNullable(19) Got boring AST Fuzzing step 194 out of 1000 SELECT 12, 19, materialize('nested_alias'), 12 WHERE toNullable(19) Got boring AST Fuzzing step 195 out of 1000 EXPLAIN PIPELINE header = true SELECT 12, toLowCardinality(19), materialize('nested_alias'), 12 WHERE toNullable(19) Error on processing query 'EXPLAIN PIPELINE header = true SELECT 12, toLowCardinality(19), materialize('nested_alias'), 12 WHERE toNullable(19)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 196 out of 1000 SELECT 12, 19, materialize('nested_alias'), 12 WHERE toNullable(19) Got boring AST Fuzzing step 197 out of 1000 SELECT 12, 19, materialize('nested_alias'), 12 WHERE toNullable(19) Got boring AST Fuzzing step 198 out of 1000 SELECT 12, 19, materialize('nested_alias'), 12 WHERE toNullable(19) Got boring AST Fuzzing step 199 out of 1000 SELECT 12, 19, 'nested_alias', 12 PREWHERE toNullable(19) WHERE toNullable(19) Error on processing query 'SELECT 12, 19, 'nested_alias', 12 PREWHERE toNullable(19) WHERE toNullable(19)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 200 out of 1000 SELECT 12, 19, 'nested_alias', materialize(12) WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 201 out of 1000 SELECT 12, 19, 'nested_alias', materialize(12) WHERE toNullable(19) Got boring AST Fuzzing step 202 out of 1000 SELECT 12, 19, 'nested_alias', materialize(12) WHERE toNullable(materialize(19)) Query succeeded, using this AST as a start Fuzzing step 203 out of 1000 SELECT 12, 19, 'nested_alias', materialize(12) WHERE toNullable(materialize(19)) Got boring AST Fuzzing step 204 out of 1000 SELECT 12, toNullable(19), 'nested_alias', materialize(12) WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 205 out of 1000 SELECT 12, toNullable(19), 'nested_alias', materialize(12) WHERE toNullable(19) Got boring AST Fuzzing step 206 out of 1000 SELECT 12, toNullable(19), 'nested_alias', 12 WHERE toNullable(19) Query succeeded, using this AST as a start Fuzzing step 207 out of 1000 SELECT 12, toNullable(19), 'nested_alias', 12 WHERE toNullable(19) Got boring AST Fuzzing step 208 out of 1000 SELECT 12, toNullable(19), 'nested_alias', 12 WHERE toNullable(19) Got boring AST Fuzzing step 209 out of 1000 SELECT 12, toNullable(19), 'nested_alias', 12 WHERE toNullable(19) Got boring AST Fuzzing step 210 out of 1000 SELECT 12, toNullable(19), 'nested_alias', 12 PREWHERE toLowCardinality(toNullable(100)) WHERE toNullable(19) Error on processing query 'SELECT 12, toNullable(19), 'nested_alias', 12 PREWHERE toLowCardinality(toNullable(100)) WHERE toNullable(19)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 211 out of 1000 SELECT 12, toNullable(19), 'nested_alias', 12 WHERE toNullable(19) Got boring AST Fuzzing step 212 out of 1000 SELECT 12, toNullable(19), 'nested_alias', 12 WHERE toNullable(19) Got boring AST Fuzzing step 213 out of 1000 SELECT 12, toNullable(19), 'nested_alias', 12 WHERE toNullable(19) Got boring AST Fuzzing step 214 out of 1000 SELECT 12, toNullable(19), 'nested_alias', 12 WHERE toNullable(19) Got boring AST Fuzzing step 215 out of 1000 SELECT 12, toNullable(19), 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), toUInt256(materialize(toNullable(12))), toNullable(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 216 out of 1000 SELECT 12, toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1), 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), materialize(toNullable(12)), toNullable(19) WITH TOTALS Error on processing query 'SELECT 12, toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1), 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), materialize(toNullable(12)), toNullable(19) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_30' in scope SELECT 12, toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1), 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), materialize(toNullable(12)), toNullable(19) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 217 out of 1000 SELECT materialize(12), toNullable(19), 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), toUInt256(materialize(toNullable(12))), toNullable(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 218 out of 1000 SELECT materialize(12), toNullable(19), 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), materialize(toNullable(12)), toNullable(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 219 out of 1000 SELECT materialize(12), toNullable(19), 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), materialize(toNullable(12)), toNullable(toNullable(19)) Got boring AST Fuzzing step 220 out of 1000 SELECT materialize(12), 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), materialize(toNullable(12)), toNullable(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 221 out of 1000 SELECT materialize(12), 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), materialize(toNullable(12)), toNullable(toNullable(19)) Got boring AST Fuzzing step 222 out of 1000 SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), materialize(toNullable(12)), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 223 out of 1000 SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(toUInt128(toNullable(toUInt256(19)), toUInt256(19), 19), 19) GROUP BY toUInt128(toUInt128(18)), toNullable(12), toNullable(19) Error on processing query 'SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(toUInt128(toNullable(toUInt256(19)), toUInt256(19), 19), 19) GROUP BY toUInt128(toUInt128(18)), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt128'. Expected 1 argument, got 3 arguments: In scope SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(toUInt128(toNullable(toUInt256(19)), toUInt256(19), 19), 19) GROUP BY toUInt128(toUInt128(18)), toNullable(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 224 out of 1000 SELECT toNullable(26), 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), materialize(toUInt256(22), toNullable(12)), toNullable(19) WITH TOTALS Error on processing query 'SELECT toNullable(26), 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), materialize(toUInt256(22), toNullable(12)), toNullable(19) 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 toNullable(26), 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), materialize(toUInt256(22), toNullable(12)), toNullable(19) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 225 out of 1000 SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), materialize(toNullable(12)), toNullable(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 226 out of 1000 SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), materialize(toNullable(12)), toNullable(toNullable(19)) Got boring AST Fuzzing step 227 out of 1000 SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), materialize(toNullable(12)), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 228 out of 1000 SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY 18, materialize(toNullable(12)), 19 Error on processing query 'SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY 18, materialize(toNullable(12)), 19': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 4]. In scope SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY 18, materialize(toNullable(12)), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 229 out of 1000 SELECT 12, 19, 'nested_alias', 12 GROUP BY toUInt128(18), materialize(toNullable(12)), 19 Error on processing query 'SELECT 12, 19, 'nested_alias', 12 GROUP BY toUInt128(18), materialize(toNullable(12)), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 4]. In scope SELECT 12, 19, 'nested_alias', 12 GROUP BY toUInt128(18), materialize(toNullable(12)), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 230 out of 1000 SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), materialize(toNullable(12)), toNullable(19) Got boring AST Fuzzing step 231 out of 1000 SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 232 out of 1000 SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(19) Error on processing query 'SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 4]. In scope SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 233 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('12'): 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 234 out of 1000 SELECT 12, 19, 'nested_alias', 12 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 235 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 236 out of 1000 SELECT 12, 19 PREWHERE toUInt128(26) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'SELECT 12, 19 PREWHERE toUInt128(26) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 237 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 238 out of 1000 SELECT toNullable('WITH 01091 AS id SELECT 1;', 26), 12, 19 WHERE toNullable(toLowCardinality(1), 19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'SELECT toNullable('WITH 01091 AS id SELECT 1;', 26), 12, 19 WHERE toNullable(toLowCardinality(1), 19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toNullable('WITH 01091 AS id SELECT 1;', 26), 12, 19 WHERE toNullable(toLowCardinality(1), 19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 239 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19) Error on processing query 'SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 240 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 241 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 242 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 243 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 244 out of 1000 SELECT materialize(toNullable(12)), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 245 out of 1000 SELECT materialize(toNullable(12)), 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19) Error on processing query 'SELECT materialize(toNullable(12)), 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(toNullable(12)), 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 246 out of 1000 SELECT materialize(toNullable(12)), 19 WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(19) Error on processing query 'SELECT materialize(toNullable(12)), 19 WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(toNullable(12)), 19 WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 247 out of 1000 SELECT materialize(toNullable(12)), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 248 out of 1000 SELECT toNullable(12), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 249 out of 1000 SELECT toNullable(12), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 250 out of 1000 SELECT toNullable(12), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19 Error on processing query 'SELECT toNullable(12), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(12), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 251 out of 1000 SELECT toNullable(12), 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19) WITH CUBE Error on processing query 'SELECT toNullable(12), 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19) WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(12), 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 252 out of 1000 SELECT toNullable(12), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 253 out of 1000 SELECT toNullable(12), 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19) Error on processing query 'SELECT toNullable(12), 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(12), 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 254 out of 1000 SELECT toNullable(65535, 12), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'SELECT toNullable(65535, 12), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toNullable(65535, 12), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 255 out of 1000 SELECT toNullable(12), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 256 out of 1000 SELECT toNullable(toFixedString('nested_alias', 12), 12), 19 WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(19) Error on processing query 'SELECT toNullable(toFixedString('nested_alias', 12), 12), 19 WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toNullable(toFixedString('nested_alias', 12), 12), 19 WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 257 out of 1000 SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 258 out of 1000 SELECT toNullable(toLowCardinality(toNullable(100)), 12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(test_nested_alias_idx__fuzz_19, 19) Error on processing query 'SELECT toNullable(toLowCardinality(toNullable(100)), 12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(test_nested_alias_idx__fuzz_19, 19)': 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(toNullable(100)), 12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(test_nested_alias_idx__fuzz_19, 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 259 out of 1000 EXPLAIN PIPELINE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 EXPLAIN SYNTAX SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 261 out of 1000 EXPLAIN PIPELINE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 262 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 263 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 264 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 265 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 266 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 267 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 268 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('toNullable'): toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 269 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('toNullable'): toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 270 out of 1000 EXPLAIN SYNTAX SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 271 out of 1000 EXPLAIN SYNTAX SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 272 out of 1000 EXPLAIN SYNTAX SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 273 out of 1000 EXPLAIN SYNTAX SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 274 out of 1000 SELECT 12, toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19) Error on processing query 'SELECT 12, toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT 12, toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 275 out of 1000 EXPLAIN SYNTAX SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 276 out of 1000 EXPLAIN SYNTAX SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 277 out of 1000 EXPLAIN AST SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 278 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 279 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 280 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 281 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 282 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 283 out of 1000 EXPLAIN PIPELINE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 284 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 285 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 286 out of 1000 EXPLAIN SYNTAX SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 287 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('toNullable'): toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 288 out of 1000 EXPLAIN PIPELINE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 289 out of 1000 EXPLAIN SYNTAX SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 290 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 291 out of 1000 EXPLAIN SYNTAX SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 292 out of 1000 EXPLAIN PIPELINE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 293 out of 1000 EXPLAIN SYNTAX SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 294 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 295 out of 1000 EXPLAIN SYNTAX SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 EXPLAIN AST SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 EXPLAIN AST SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 298 out of 1000 EXPLAIN AST SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 299 out of 1000 EXPLAIN AST SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 300 out of 1000 SELECT toNullable(12), toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 301 out of 1000 SELECT toNullable(12), toLowCardinality(toLowCardinality(19)) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(materialize(toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 302 out of 1000 SELECT 12, toLowCardinality(toLowCardinality(19)) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(toLowCardinality(19)) Query succeeded, using this AST as a start Fuzzing step 303 out of 1000 SELECT 12, toLowCardinality(toLowCardinality(19)) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toNullable(12)), toNullable(toLowCardinality(19)) Query succeeded, using this AST as a start Fuzzing step 304 out of 1000 SELECT 12, toLowCardinality(toLowCardinality(19)) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(toLowCardinality(19)) Query succeeded, using this AST as a start Fuzzing step 305 out of 1000 SELECT 12, toLowCardinality(toLowCardinality(19)) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 306 out of 1000 SELECT 12 WHERE toNullable(19) GROUP BY 18, toNullable(12), 19 Error on processing query 'SELECT 12 WHERE toNullable(19) GROUP BY 18, toNullable(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 1]. In scope SELECT 12 WHERE toNullable(19) GROUP BY 18, toNullable(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 307 out of 1000 SELECT 12, toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 308 out of 1000 SELECT 12, toLowCardinality(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 309 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 310 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 311 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19 Error on processing query 'SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 312 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 313 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 314 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 315 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 316 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19 Error on processing query 'SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 317 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(normalizeQuery(toFixedString('default_settings', 16), query) = normalizeQuery(toNullable(toNullable(1091))), 19) Error on processing query 'SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(normalizeQuery(toFixedString('default_settings', 16), query) = normalizeQuery(toNullable(toNullable(1091))), 19)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(normalizeQuery(toFixedString('default_settings', 16), query) = normalizeQuery(toNullable(toNullable(1091))), 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 318 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19 Error on processing query 'SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 319 out of 1000 SELECT materialize(19) WHERE toNullable(19) GROUP BY 18, toNullable(12), 19 Error on processing query 'SELECT materialize(19) WHERE toNullable(19) GROUP BY 18, toNullable(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 1]. In scope SELECT materialize(19) WHERE toNullable(19) GROUP BY 18, toNullable(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 320 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 321 out of 1000 SELECT 12, 19 WHERE toNullable(test_nested_alias_idx__fuzz_11, 19) GROUP BY toUInt128(18), toNullable(materialize(toNullable(toUInt256(12)))), toNullable(19) Error on processing query 'SELECT 12, 19 WHERE toNullable(test_nested_alias_idx__fuzz_11, 19) GROUP BY toUInt128(18), toNullable(materialize(toNullable(toUInt256(12)))), toNullable(19)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_11' in scope SELECT 12, 19 WHERE toNullable(test_nested_alias_idx__fuzz_11, 19) GROUP BY toUInt128(18), toNullable(materialize(toNullable(toUInt256(12)))), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 322 out of 1000 SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19) WITH CUBE Error on processing query 'SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19) WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT 12, 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 323 out of 1000 SELECT 12, 19 PREWHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'SELECT 12, 19 PREWHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 324 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 326 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19 Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 327 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 328 out of 1000 SELECT 19 PREWHERE normalizeQuery(toUInt128(toNullable(1091)), 'with 01091 as id select sum(number) from numbers_mt(1000000);') WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'SELECT 19 PREWHERE normalizeQuery(toUInt128(toNullable(1091)), 'with 01091 as id select sum(number) from numbers_mt(1000000);') WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope SELECT 19 PREWHERE normalizeQuery(toUInt128(toNullable(1091)), 'with 01091 as id select sum(number) from numbers_mt(1000000);') WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 329 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(toNullable(18)), 12, toNullable(19) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(toNullable(18)), 12, toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(toNullable(18)), 12, toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 330 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 331 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 332 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 333 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 334 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(19) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 335 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 336 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(materialize(12)), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 337 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 338 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 339 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 340 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 341 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19 Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 342 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 343 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 344 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 345 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 346 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 347 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(greater(toLowCardinality(toLowCardinality(toNullable(100))), a2, event_date, -2147483649, 100), 18), toNullable(12), toNullable(19) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(greater(toLowCardinality(toLowCardinality(toNullable(100))), a2, event_date, -2147483649, 100), 18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(greater(toLowCardinality(toLowCardinality(toNullable(100))), a2, event_date, -2147483649, 100), 18), toNullable(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 348 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 349 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 350 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 351 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 352 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 353 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 355 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 356 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 357 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 358 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 359 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 360 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 361 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 362 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 363 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 364 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 365 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 366 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 367 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 368 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 369 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 370 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 372 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 373 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 374 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 376 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 379 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19 Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 380 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 381 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 382 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 383 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 384 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 385 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 386 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 387 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 388 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 389 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 390 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 391 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 392 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 394 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 395 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 396 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 399 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 400 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 401 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 402 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 404 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 405 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 406 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 407 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 408 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 409 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 410 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 411 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 412 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 413 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 414 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 415 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 416 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 417 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 418 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 419 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 420 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 421 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 422 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 423 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 424 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 425 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 426 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 427 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 428 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 429 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 430 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 431 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 432 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 433 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 434 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 435 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 436 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 437 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 438 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 439 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 440 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 441 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 442 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 443 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 444 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 445 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 446 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 447 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 448 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 449 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 450 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 451 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 452 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 453 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 454 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 455 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 456 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 457 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY 18, toNullable(12), 19 Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY 18, toNullable(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY 18, toNullable(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 458 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 459 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 460 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 461 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 462 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 463 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 464 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 465 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 466 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 467 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 468 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 469 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 470 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 471 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 472 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 473 out of 1000 EXPLAIN QUERY TREE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 474 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 475 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 476 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 477 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 478 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 479 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 480 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 481 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 482 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 483 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 484 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 485 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 486 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toLowCardinality(toNullable(1)), 12), toNullable(19) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toLowCardinality(toNullable(1)), 12), toNullable(19)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toLowCardinality(toNullable(1)), 12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 489 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 490 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 491 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 492 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 493 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 494 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 495 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 496 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 497 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toNullable(12)), 19 Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toNullable(12)), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toNullable(12)), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 498 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 499 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 500 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 501 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 502 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 503 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 504 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 505 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 506 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 507 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 508 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 509 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 510 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 511 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 512 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19 Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 513 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 514 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 515 out of 1000 SELECT 19 GROUP BY 18, toNullable(12), toNullable(19) Error on processing query 'SELECT 19 GROUP BY 18, toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 GROUP BY 18, toNullable(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 516 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 517 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 518 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 519 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 520 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 521 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 522 out of 1000 EXPLAIN ESTIMATE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 523 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 524 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 525 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 526 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 527 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 528 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 529 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 530 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 531 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 532 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 533 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 534 out of 1000 EXPLAIN AST SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 535 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 536 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 537 out of 1000 EXPLAIN SYNTAX SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 538 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 539 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 540 out of 1000 EXPLAIN SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 541 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 542 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 543 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 544 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 545 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19 Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 546 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 547 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19 Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 548 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 549 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 550 out of 1000 SELECT materialize(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19), 19) Error on processing query 'SELECT materialize(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19), 19)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT materialize(19) WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19), 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 551 out of 1000 SELECT 19 WHERE toNullable(materialize(19)) GROUP BY 18, toNullable(12), toNullable(19) Error on processing query 'SELECT 19 WHERE toNullable(materialize(19)) GROUP BY 18, toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(materialize(19)) GROUP BY 18, toNullable(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 552 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 553 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 554 out of 1000 SELECT toLowCardinality(toNullable(19)) WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(19) Error on processing query 'SELECT toLowCardinality(toNullable(19)) WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 1]. In scope SELECT toLowCardinality(toNullable(19)) WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 555 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 556 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(a > materialize(100), 12), toNullable(19) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(a > materialize(100), 12), toNullable(19)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(a > materialize(100), 12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 557 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 558 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 559 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, 19 Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, 19': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 560 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19 Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 561 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), 12, toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 562 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 563 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 564 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Got boring AST Fuzzing step 565 out of 1000 SELECT 19 PREWHERE test_alias_skip_idx__fuzz_16 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19) Error on processing query 'SELECT 19 PREWHERE test_alias_skip_idx__fuzz_16 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_16' in scope SELECT 19 PREWHERE test_alias_skip_idx__fuzz_16 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 566 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(toLowCardinality(toNullable(19))) Query succeeded, using this AST as a start Fuzzing step 567 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(toNullable(19)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(toNullable(19))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('19'): 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(toNullable(19)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 568 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(toLowCardinality(toNullable(19))) Got boring AST Fuzzing step 569 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(12), toNullable(toLowCardinality(toNullable(19))) Got boring AST Fuzzing step 570 out of 1000 EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(toLowCardinality(toNullable(19))) Error on processing query 'EXPLAIN PIPELINE SELECT 19 WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(toLowCardinality(toNullable(19)))': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY 18, toNullable(12), toNullable(toLowCardinality(toNullable(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 571 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toLowCardinality(12)), toNullable(toLowCardinality(toNullable(19))) Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toLowCardinality(12), toNullable(toLowCardinality(toNullable(greaterOrEquals(today() - 1), 19))) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toLowCardinality(12), toNullable(toLowCardinality(toNullable(greaterOrEquals(today() - 1), 19)))': Received from localhost:9000. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: In scope SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toLowCardinality(12), toNullable(toLowCardinality(toNullable(greaterOrEquals(today() - 1), 19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 23. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 24. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 28. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 573 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toLowCardinality(12)), toNullable(toLowCardinality(toNullable(19))) Got boring AST Fuzzing step 574 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toLowCardinality(12)), toLowCardinality(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 575 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toLowCardinality(toUInt128(12))), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 SELECT 19 WHERE toNullable(materialize(19)) GROUP BY toUInt128(18), toNullable(toLowCardinality(toUInt128(12))), 19 Error on processing query 'SELECT 19 WHERE toNullable(materialize(19)) GROUP BY toUInt128(18), toNullable(toLowCardinality(toUInt128(12))), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(materialize(19)) GROUP BY toUInt128(18), toNullable(toLowCardinality(toUInt128(12))), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 577 out of 1000 SELECT toUInt256(19) WHERE toNullable(materialize(19)) GROUP BY 18, toNullable(test_alias_skip_idx__fuzz_40, toLowCardinality(12)), toNullable(toFixedString(22, 'nested_alias', 12, 12), 19) Error on processing query 'SELECT toUInt256(19) WHERE toNullable(materialize(19)) GROUP BY 18, toNullable(test_alias_skip_idx__fuzz_40, toLowCardinality(12)), toNullable(toFixedString(22, 'nested_alias', 12, 12), 19)': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 1]. In scope SELECT toUInt256(19) WHERE toNullable(materialize(19)) GROUP BY 18, toNullable(test_alias_skip_idx__fuzz_40, toLowCardinality(12)), toNullable(toFixedString(22, 'nested_alias', 12, 12), 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 578 out of 1000 SELECT 19 WHERE toNullable(19) WITH TOTALS Error on processing query 'SELECT 19 WHERE toNullable(19) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 579 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY 18, toNullable(toLowCardinality(toUInt128(12))), toNullable(19) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY 18, toNullable(toLowCardinality(toUInt128(12))), toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY 18, toNullable(toLowCardinality(toUInt128(12))), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 580 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toUInt128(12)), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 581 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY GROUPING SETS ( (toUInt128(18)), (toNullable(toUInt128(12))), (toNullable(19))) Query succeeded, using this AST as a start Fuzzing step 582 out of 1000 SELECT toNullable(materialize(toLowCardinality(19))), 19 WHERE toNullable(19) GROUP BY GROUPING SETS ( (toUInt128(18)), (toNullable(toUInt128(12))), (toNullable(19))) Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 SELECT toNullable(materialize(toLowCardinality(19))), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toUInt128(12)), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 584 out of 1000 EXPLAIN json = true SELECT toNullable(materialize(19)), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toUInt128(12)), toNullable(19) Error on processing query 'EXPLAIN json = true SELECT toNullable(materialize(19)), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toUInt128(12)), toNullable(19)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 585 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toLowCardinality(19)), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toUInt128(12)), 19 Error on processing query 'EXPLAIN PIPELINE SELECT toNullable(toLowCardinality(19)), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toUInt128(12)), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(toLowCardinality(19)), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toNullable(toUInt128(12)), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 586 out of 1000 SELECT toNullable(materialize(toLowCardinality(19))), 19 WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), toUInt128(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 SELECT toNullable(toLowCardinality(19)), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toUInt128(12), 19 Error on processing query 'SELECT toNullable(toLowCardinality(19)), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toUInt128(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(toLowCardinality(19)), 19 WHERE toNullable(19) GROUP BY toUInt128(18), toUInt128(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 588 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toLowCardinality(19)), materialize(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(toLowCardinality((event_date >= (today() - toLowCardinality(test_nested_alias_idx__fuzz_8, toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id), toNullable(19)), 18), toUInt128(12), toNullable(19) Error on processing query 'EXPLAIN PIPELINE SELECT toNullable(toLowCardinality(19)), materialize(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(toLowCardinality((event_date >= (today() - toLowCardinality(test_nested_alias_idx__fuzz_8, toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id), toNullable(19)), 18), toUInt128(12), toNullable(19)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'event_date' in scope SELECT toNullable(toLowCardinality(19)), materialize(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(toLowCardinality((event_date >= (today() - toLowCardinality(test_nested_alias_idx__fuzz_8, toNullable(1)))) AND (query_id = id) AND (thread_id != master_thread_id), toNullable(19)), 18), toUInt128(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 27. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 589 out of 1000 SELECT toNullable(materialize(toLowCardinality(19))), toLowCardinality(toNullable(19)) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), toUInt128(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 590 out of 1000 SELECT toNullable(materialize(toLowCardinality(19))), toLowCardinality(toNullable(toLowCardinality(19))) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), toUInt128(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 591 out of 1000 SELECT toNullable(materialize(toLowCardinality(19))), toLowCardinality(toLowCardinality(19)) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), 12, 19 Error on processing query 'SELECT toNullable(materialize(toLowCardinality(19))), toLowCardinality(toLowCardinality(19)) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), 12, 19': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(materialize(toLowCardinality(19))), toLowCardinality(toLowCardinality(19)) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), 12, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 592 out of 1000 SELECT toNullable(materialize(toLowCardinality(19))), toNullable(toLowCardinality(19)) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), toUInt128(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 593 out of 1000 SELECT toNullable(materialize(toLowCardinality(19))), toNullable(toLowCardinality(19)) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), toUInt128(12), toNullable(19) Got boring AST Fuzzing step 594 out of 1000 SELECT materialize(toLowCardinality(19)), toNullable(toLowCardinality(19)) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), toUInt128(toNullable(19), 12), toNullable(19) Error on processing query 'SELECT materialize(toLowCardinality(19)), toNullable(toLowCardinality(19)) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), toUInt128(toNullable(19), 12), toNullable(19)': 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 materialize(toLowCardinality(19)), toNullable(toLowCardinality(19)) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), toUInt128(toNullable(19), 12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 595 out of 1000 SELECT toNullable(materialize(toLowCardinality(19))), toNullable(toLowCardinality(19)) WHERE toNullable(toLowCardinality(19)) GROUP BY 18, toUInt128(12), toNullable(19) Error on processing query 'SELECT toNullable(materialize(toLowCardinality(19))), toNullable(toLowCardinality(19)) WHERE toNullable(toLowCardinality(19)) GROUP BY 18, toUInt128(12), toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(materialize(toLowCardinality(19))), toNullable(toLowCardinality(19)) WHERE toNullable(toLowCardinality(19)) GROUP BY 18, toUInt128(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 596 out of 1000 SELECT toNullable(toLowCardinality(19)), toNullable(toNullable(19), toLowCardinality(19)) WHERE toNullable(19) GROUP BY toUInt128(18), toUInt128(12), toNullable(19) Error on processing query 'SELECT toNullable(toLowCardinality(19)), toNullable(toNullable(19), toLowCardinality(19)) WHERE toNullable(19) GROUP BY toUInt128(18), toUInt128(12), toNullable(19)': 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(19)), toNullable(toNullable(19), toLowCardinality(19)) WHERE toNullable(19) GROUP BY toUInt128(18), toUInt128(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 597 out of 1000 SELECT materialize(toLowCardinality(19)), toNullable(toLowCardinality(19)) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), toUInt128(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 598 out of 1000 SELECT materialize(toLowCardinality(19)), toUInt128(toNullable(toLowCardinality(toUInt256(uniqExact(materialize(toLowCardinality(12)), thread_id), 19)), 19)), toLowCardinality(19) WHERE toNullable(uniqExact(thread_id) > materialize(toNullable(2)), toLowCardinality(19)) GROUP BY toUInt128(18), toUInt128(12), toNullable(toLowCardinality(19)) Error on processing query 'SELECT materialize(toLowCardinality(19)), toUInt128(toNullable(toLowCardinality(toUInt256(uniqExact(materialize(toLowCardinality(12)), thread_id), 19)), 19)), toLowCardinality(19) WHERE toNullable(uniqExact(thread_id) > materialize(toNullable(2)), toLowCardinality(19)) GROUP BY toUInt128(18), toUInt128(12), toNullable(toLowCardinality(19))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT materialize(toLowCardinality(19)), toUInt128(toNullable(toLowCardinality(toUInt256(uniqExact(materialize(toLowCardinality(12)), thread_id), 19)), 19)), toLowCardinality(19) WHERE toNullable(uniqExact(thread_id) > materialize(toNullable(2)), toLowCardinality(19)) GROUP BY toUInt128(18), toUInt128(12), toNullable(toLowCardinality(19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 19. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 22. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd Fuzzing step 599 out of 1000 SELECT materialize(toLowCardinality(19)), toNullable(toLowCardinality(19)) WHERE toNullable(toLowCardinality(19)) GROUP BY 18, toUInt128(12), toNullable(19) Error on processing query 'SELECT materialize(toLowCardinality(19)), toNullable(toLowCardinality(19)) WHERE toNullable(toLowCardinality(19)) GROUP BY 18, toUInt128(12), toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(toLowCardinality(19)), toNullable(toLowCardinality(19)) WHERE toNullable(toLowCardinality(19)) GROUP BY 18, toUInt128(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 600 out of 1000 SELECT materialize(toLowCardinality(19)), toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), toUInt128(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 601 out of 1000 SELECT materialize(toLowCardinality(19)), toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), toUInt128(12), toNullable(19) Got boring AST Fuzzing step 602 out of 1000 SELECT toLowCardinality(19), toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(uniqExact(toNullable(toUInt128(12)), thread_id) > 2, 18), toUInt128(12), toNullable(19) Error on processing query 'SELECT toLowCardinality(19), toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(uniqExact(toNullable(toUInt128(12)), thread_id) > 2, 18), toUInt128(12), toNullable(19)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT toLowCardinality(19), toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(uniqExact(toNullable(toUInt128(12)), thread_id) > 2, 18), toUInt128(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 603 out of 1000 EXPLAIN ESTIMATE SELECT materialize(toLowCardinality(19)), toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY 18, toUInt128(12), 19 Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(toLowCardinality(19)), toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY 18, toUInt128(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(toLowCardinality(19)), toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY 18, toUInt128(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 604 out of 1000 SELECT materialize(toLowCardinality(19)), toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), 12, toNullable(19) Error on processing query 'SELECT materialize(toLowCardinality(19)), toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), 12, toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(toLowCardinality(19)), toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), 12, toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 605 out of 1000 SELECT materialize(toLowCardinality(19)), toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(18), toUInt128(12), toNullable(19) Got boring AST Fuzzing step 606 out of 1000 SELECT materialize(toLowCardinality(19)), toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(materialize(toLowCardinality(toNullable(toUInt256(18))))), toUInt128(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 607 out of 1000 SELECT materialize(toLowCardinality(19)), toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(materialize(toLowCardinality(toNullable(toUInt256(18))))), toUInt128(12), toNullable(19) Got boring AST Fuzzing step 608 out of 1000 SELECT materialize(toLowCardinality(19)), toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(materialize(currentDatabase(2147483647), toLowCardinality(toNullable(toUInt256(18))))), toUInt128(12), 19 Error on processing query 'SELECT materialize(toLowCardinality(19)), toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(materialize(currentDatabase(2147483647), toLowCardinality(toNullable(toUInt256(18))))), toUInt128(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(toLowCardinality(19)), toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(materialize(currentDatabase(2147483647), toLowCardinality(toNullable(toUInt256(18))))), toUInt128(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 609 out of 1000 SELECT toLowCardinality(19), 19 WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(toLowCardinality(toNullable(toUInt256(18)))), 12, toNullable(19) Error on processing query 'SELECT toLowCardinality(19), 19 WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(toLowCardinality(toNullable(toUInt256(18)))), 12, toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT toLowCardinality(19), 19 WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(toLowCardinality(toNullable(toUInt256(18)))), 12, toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 610 out of 1000 SELECT toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY toUInt128(materialize(toLowCardinality(toNullable(toUInt256(18))))), toUInt128(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 611 out of 1000 SELECT toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(toLowCardinality(toNullable(toUInt256(18)))), 12, toNullable(19) Error on processing query 'SELECT toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(toLowCardinality(toNullable(toUInt256(18)))), 12, toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(toLowCardinality(toNullable(toUInt256(18)))), 12, toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 612 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY toUInt128(materialize(toLowCardinality(toNullable(toUInt256(18))))), toUInt128(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 613 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY materialize(toLowCardinality(toNullable(toUInt256(18)))), toUInt128(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 614 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY materialize(toLowCardinality(toNullable(toUInt256(18)))), toUInt128(toLowCardinality(12)), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY materialize(toLowCardinality(toNullable(toUInt256(18)))), toLowCardinality(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 616 out of 1000 SELECT toNullable(19) PREWHERE current_database = currentDatabase(equals(normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)))) WHERE toNullable(19) GROUP BY materialize(toLowCardinality(toNullable(toUInt256(18)))), toLowCardinality(12), toNullable(19) Error on processing query 'SELECT toNullable(19) PREWHERE current_database = currentDatabase(equals(normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)))) WHERE toNullable(19) GROUP BY materialize(toLowCardinality(toNullable(toUInt256(18)))), toLowCardinality(12), toNullable(19)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT toNullable(19) PREWHERE current_database = currentDatabase(equals(normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)))) WHERE toNullable(19) GROUP BY materialize(toLowCardinality(toNullable(toUInt256(18)))), toLowCardinality(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 617 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY materialize(toLowCardinality(toUInt256(18))), 12, toNullable(19) Error on processing query 'SELECT toNullable(19) WHERE toNullable(19) GROUP BY materialize(toLowCardinality(toUInt256(18))), 12, toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) WHERE toNullable(19) GROUP BY materialize(toLowCardinality(toUInt256(18))), 12, toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 618 out of 1000 SELECT toNullable(19) PREWHERE toNullable(toLowCardinality(toUInt256(19)), 19) WHERE toNullable(19) GROUP BY materialize(toNullable(toUInt256(18))), toLowCardinality(12), 19 Error on processing query 'SELECT toNullable(19) PREWHERE toNullable(toLowCardinality(toUInt256(19)), 19) WHERE toNullable(19) GROUP BY materialize(toNullable(toUInt256(18))), toLowCardinality(12), 19': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toNullable(19) PREWHERE toNullable(toLowCardinality(toUInt256(19)), 19) WHERE toNullable(19) GROUP BY materialize(toNullable(toUInt256(18))), toLowCardinality(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 619 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY materialize(toLowCardinality(toNullable(toUInt256(18)))), toLowCardinality(12), 19 Error on processing query 'SELECT toNullable(19) WHERE toNullable(19) GROUP BY materialize(toLowCardinality(toNullable(toUInt256(18)))), toLowCardinality(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) WHERE toNullable(19) GROUP BY materialize(toLowCardinality(toNullable(toUInt256(18)))), toLowCardinality(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 620 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY materialize(toLowCardinality(toNullable(toUInt256(18)))), toLowCardinality(12), toNullable(19) Got boring AST Fuzzing step 621 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY materialize(toLowCardinality(toNullable(toUInt256(18)))), toLowCardinality(12), toNullable(19) Got boring AST Fuzzing step 622 out of 1000 SELECT toNullable(19) WHERE toNullable(toUInt256(19)) GROUP BY materialize(toLowCardinality(toNullable(18))), toLowCardinality(12), 19 Error on processing query 'SELECT toNullable(19) WHERE toNullable(toUInt256(19)) GROUP BY materialize(toLowCardinality(toNullable(18))), toLowCardinality(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) WHERE toNullable(toUInt256(19)) GROUP BY materialize(toLowCardinality(toNullable(18))), toLowCardinality(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 623 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(toUInt256(18))), toLowCardinality(12), toNullable(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 624 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(toNullable(19)) Query succeeded, using this AST as a start Fuzzing step 625 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(toNullable(19)) Got boring AST Fuzzing step 626 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(toNullable(19)) Got boring AST Fuzzing step 627 out of 1000 SELECT toNullable(19) PREWHERE toNullable(2) WHERE toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), toNullable(toNullable(toUInt256(19))) WITH TOTALS Error on processing query 'SELECT toNullable(19) PREWHERE toNullable(2) WHERE toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), toNullable(toNullable(toUInt256(19))) WITH TOTALS': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 628 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(19) Query succeeded, using this AST as a start Fuzzing step 629 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(19) Got boring AST Fuzzing step 630 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(19) Got boring AST Fuzzing step 631 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(test_nested_alias_idx__fuzz_22, 18)), toLowCardinality(12), toNullable(19) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(test_nested_alias_idx__fuzz_22, 18)), toLowCardinality(12), toNullable(19)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_22' in scope SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(test_nested_alias_idx__fuzz_22, 18)), toLowCardinality(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 632 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), 12, toNullable(19) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), 12, toNullable(19)': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), 12, toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 633 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(18), 12, 19 Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(18), 12, 19': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(18), 12, 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 634 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(currentDatabase(equals(normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)))), 19) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(currentDatabase(equals(normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)))), 19)': Received from localhost:9000. DB::Exception: Cannot apply function normalizeQuery to fixed string.: In scope SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(currentDatabase(equals(normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)))), 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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/normalizeQuery.cpp:50: DB::(anonymous namespace)::Impl::vectorFixed(DB::PODArray, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000aa8ad7b 5. /build/src/Functions/FunctionStringToString.h:0: DB::FunctionStringToString, DB::(anonymous namespace)::Impl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8a98e 6. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 7. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 8. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 9. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69770 10. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c32 11. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 12. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 13. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 28. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 29. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 Fuzzing step 635 out of 1000 SELECT currentDatabase(toNullable(12)), 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(19) Error on processing query 'SELECT currentDatabase(toNullable(12)), 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(19)': Received from localhost:9000. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: In scope SELECT currentDatabase(toNullable(12)), 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 636 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), 12, toNullable(normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)), 19) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), 12, toNullable(normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)), 19)': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), 12, toNullable(normalizeQuery(query) = normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)), 19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 637 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(test_alias_skip_idx__fuzz_31, toNullable(18)), toLowCardinality(12), 19 Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(test_alias_skip_idx__fuzz_31, toNullable(18)), toLowCardinality(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(test_alias_skip_idx__fuzz_31, toNullable(18)), toLowCardinality(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 638 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(19) Got boring AST Fuzzing step 639 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(test_nested_alias_idx__fuzz_42, 12), toNullable(19) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(test_nested_alias_idx__fuzz_42, 12), toNullable(19)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_42' in scope SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(test_nested_alias_idx__fuzz_42, 12), toNullable(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 640 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), 19 Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), 19': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), 19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 641 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(19) Got boring AST Fuzzing step 642 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(19) Got boring AST Fuzzing step 643 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(toUInt256(12)), toNullable(materialize(19)) Query succeeded, using this AST as a start Fuzzing step 644 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(materialize(19)) Query succeeded, using this AST as a start Fuzzing step 645 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), 12, toNullable(materialize(19)) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), 12, toNullable(materialize(19))': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), 12, toNullable(materialize(19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 646 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(materialize(19)) Got boring AST Fuzzing step 647 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(materialize(19)) Got boring AST Fuzzing step 648 out of 1000 SELECT 19 WHERE toNullable(materialize(toLowCardinality(toUInt128(22))), 19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(materialize(19)) Error on processing query 'SELECT 19 WHERE toNullable(materialize(toLowCardinality(toUInt128(22))), 19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(materialize(19))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 19 WHERE toNullable(materialize(toLowCardinality(toUInt128(22))), 19) GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), toNullable(materialize(19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 649 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY toNullable(18), toLowCardinality(12), toNullable(materialize(19)) Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 SELECT toLowCardinality(toNullable(19)) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(12)), (toNullable(materialize(19)))) Query succeeded, using this AST as a start Fuzzing step 651 out of 1000 SELECT toLowCardinality(toNullable(19)) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(12)), (toNullable(materialize(19)))) Got boring AST Fuzzing step 652 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(12)), (materialize(19))) Query succeeded, using this AST as a start Fuzzing step 653 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(toUInt256(12)))), (materialize(19))) Query succeeded, using this AST as a start Fuzzing step 654 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(equals(19, current_database, toNullable(toLowCardinality(19)), currentDatabase()), 18)), (toLowCardinality(toLowCardinality(toUInt256(12)))), (materialize(19))) Error on processing query 'SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(equals(19, current_database, toNullable(toLowCardinality(19)), currentDatabase()), 18)), (toLowCardinality(toLowCardinality(toUInt256(12)))), (materialize(19)))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(equals(19, current_database, toNullable(toLowCardinality(19)), currentDatabase()), 18)), (toLowCardinality(toLowCardinality(toUInt256(12)))), (materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 655 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(toUInt256(toNullable(12))))), (19)) Error on processing query 'SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(toUInt256(toNullable(12))))), (19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(toUInt256(toNullable(12))))), (19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 656 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(toUInt256(12)))), (19)) Error on processing query 'SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(toUInt256(12)))), (19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(toUInt256(12)))), (19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 657 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(toUInt256(12)))), (19)) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(toUInt256(12)))), (19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(toUInt256(12)))), (19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 658 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toUInt256(12))), (materialize(toUInt256(materialize(100)), 19))) Error on processing query 'EXPLAIN PIPELINE SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toUInt256(12))), (materialize(toUInt256(materialize(100)), 19)))': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toUInt256(12))), (materialize(toUInt256(materialize(100)), 19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 659 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (materialize(19))) Query succeeded, using this AST as a start Fuzzing step 660 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (materialize(19))) Got boring AST Fuzzing step 661 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (18), (toLowCardinality(toLowCardinality(12))), (materialize(19))) Error on processing query 'SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((18), (toLowCardinality(toLowCardinality(12))), (materialize(19)))': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((18), (toLowCardinality(toLowCardinality(12))), (materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 662 out of 1000 SELECT toNullable(19) WHERE toNullable(toLowCardinality(toNullable(1091)), 19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (materialize(19))) Error on processing query 'SELECT toNullable(19) WHERE toNullable(toLowCardinality(toNullable(1091)), 19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(12))), (materialize(19)))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toNullable(19) WHERE toNullable(toLowCardinality(toNullable(1091)), 19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(12))), (materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 663 out of 1000 SELECT toNullable(19) PREWHERE test_alias_skip_idx__fuzz_18 WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (materialize(19))) Error on processing query 'SELECT toNullable(19) PREWHERE test_alias_skip_idx__fuzz_18 WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(12))), (materialize(19)))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_18' in scope SELECT toNullable(19) PREWHERE test_alias_skip_idx__fuzz_18 WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(12))), (materialize(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 664 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (19)) Error on processing query 'EXPLAIN PIPELINE SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(12))), (19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(12))), (19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 665 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (materialize(19))) Got boring AST Fuzzing step 666 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (materialize(toLowCardinality(19)))) Query succeeded, using this AST as a start Fuzzing step 667 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 668 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (toLowCardinality(19))) Got boring AST Fuzzing step 669 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (toLowCardinality(19))) Got boring AST Fuzzing step 670 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (toLowCardinality(19))) Got boring AST Fuzzing step 671 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(12)), (19)) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(12)), (19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(12)), (19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 672 out of 1000 SELECT 19 PREWHERE uniqExact(thread_id) > toNullable(2) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(12)), (toLowCardinality(19))) Error on processing query 'SELECT 19 PREWHERE uniqExact(thread_id) > toNullable(2) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(12)), (toLowCardinality(19)))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 19 PREWHERE uniqExact(thread_id) > toNullable(2) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(12)), (toLowCardinality(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 673 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (19)) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(12))), (19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(12))), (19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 674 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;')), 12))), (toLowCardinality(19))) WITH ROLLUP Error on processing query 'SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;')), 12))), (toLowCardinality(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 675 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (toLowCardinality(19))) Got boring AST Fuzzing step 676 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(toLowCardinality(18))), (toLowCardinality(12)), (19)) Error on processing query 'SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(toLowCardinality(18))), (toLowCardinality(12)), (19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(toLowCardinality(18))), (toLowCardinality(12)), (19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 677 out of 1000 SELECT toNullable(toNullable(19)) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (toLowCardinality(materialize(26), 19))) Error on processing query 'SELECT toNullable(toNullable(19)) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(12))), (toLowCardinality(materialize(26), 19)))': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toNullable(toNullable(19)) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(12))), (toLowCardinality(materialize(26), 19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 678 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (toLowCardinality(19))) Got boring AST Fuzzing step 679 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (19)) Error on processing query 'SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(12))), (19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(12))), (19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 680 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(12)), (19)) Error on processing query 'SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(12)), (19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(12)), (19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 681 out of 1000 SELECT toNullable(19) WHERE toNullable(toLowCardinality(toNullable(19))) WITH TOTALS Error on processing query 'SELECT toNullable(19) WHERE toNullable(toLowCardinality(toNullable(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 682 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (19)) Error on processing query 'SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(12))), (19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(12))), (19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 683 out of 1000 SELECT toNullable(19) PREWHERE normalizeQuery(materialize(toLowCardinality(100)), test_alias_skip_idx__fuzz_44, query) = normalizeQuery(19, 'with 01091 as id select sum(number) from numbers_mt(1000000);') WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(toNullable(18))), (toLowCardinality(toLowCardinality(12))), (toLowCardinality(19))) Error on processing query 'SELECT toNullable(19) PREWHERE normalizeQuery(materialize(toLowCardinality(100)), test_alias_skip_idx__fuzz_44, query) = normalizeQuery(19, 'with 01091 as id select sum(number) from numbers_mt(1000000);') WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(toNullable(18))), (toLowCardinality(toLowCardinality(12))), (toLowCardinality(19)))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_44' in scope SELECT toNullable(19) PREWHERE normalizeQuery(materialize(toLowCardinality(100)), test_alias_skip_idx__fuzz_44, query) = normalizeQuery(19, 'with 01091 as id select sum(number) from numbers_mt(1000000);') WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(toNullable(18))), (toLowCardinality(toLowCardinality(12))), (toLowCardinality(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 684 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (toLowCardinality(19))) Got boring AST Fuzzing step 685 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (19)) Error on processing query 'SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(12))), (19))': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (toLowCardinality(toLowCardinality(12))), (19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 686 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (toLowCardinality(19))) Got boring AST Fuzzing step 687 out of 1000 SELECT toNullable(19) WHERE toNullable(toUInt128(19)) WITH TOTALS Error on processing query 'SELECT toNullable(19) WHERE toNullable(toUInt128(19)) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 688 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(toLowCardinality(12))), (toLowCardinality(19))) Got boring AST Fuzzing step 689 out of 1000 SELECT toNullable(19) WHERE toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(12)), (toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 690 out of 1000 SELECT 19 WHERE toNullable(19) GROUP BY GROUPING SETS ( (18), (toLowCardinality(12)), (toLowCardinality(19))) Error on processing query 'SELECT 19 WHERE toNullable(19) GROUP BY GROUPING SETS ((18), (toLowCardinality(12)), (toLowCardinality(19)))': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toNullable(19) GROUP BY GROUPING SETS ((18), (toLowCardinality(12)), (toLowCardinality(19))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 691 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(12)), (toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 692 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(12)), (toLowCardinality(19))) Got boring AST Fuzzing step 693 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(12)), (toLowCardinality(19))) Got boring AST Fuzzing step 694 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (toLowCardinality(12)), (toLowCardinality(19))) Got boring AST Fuzzing step 695 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(19) GROUP BY GROUPING SETS ( (toNullable(18)), (12), (toLowCardinality(toLowCardinality(19)))) WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (12), (toLowCardinality(toLowCardinality(19)))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 52 ('toNullable'): toNullable(19) GROUP BY GROUPING SETS ((toNullable(18)), (12), (toLowCardinality(toLowCardinality(19)))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 696 out of 1000 SELECT toNullable(19) WITH TOTALS Error on processing query 'SELECT toNullable(19) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 697 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ( (toNullable(toLowCardinality(18))), (toLowCardinality(12)), (toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 698 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ( (toNullable(toLowCardinality(materialize(18)))), (toLowCardinality(12)), (toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 699 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ( (toNullable(toLowCardinality(materialize(18)))), (toLowCardinality(12)), (toLowCardinality(19))) Got boring AST Fuzzing step 700 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ( (toNullable(toLowCardinality(materialize(18)))), (toLowCardinality(12)), (toLowCardinality(19))) Got boring AST Fuzzing step 701 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ( (toNullable(toLowCardinality(materialize(18)))), (toLowCardinality(12)), (toLowCardinality(19))) Got boring AST Fuzzing step 702 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ( (toNullable(toLowCardinality(materialize(18)))), (toLowCardinality(12)), (toLowCardinality(19))) Got boring AST Fuzzing step 703 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ( (toNullable(toLowCardinality(18))), (toLowCardinality(12)), (toLowCardinality(19))) Query succeeded, using this AST as a start Fuzzing step 704 out of 1000 SELECT toNullable(19) GROUP BY GROUPING SETS ( (toNullable(toLowCardinality(18))), (toLowCardinality(12)), (toLowCardinality(19))) Got boring AST Fuzzing step 705 out of 1000 SELECT toNullable(19) GROUP BY toNullable(toLowCardinality(18)), toLowCardinality(12), toLowCardinality(19) Query succeeded, using this AST as a start Fuzzing step 706 out of 1000 SELECT toNullable(19) GROUP BY toNullable(toLowCardinality(18)), toLowCardinality(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 707 out of 1000 SELECT materialize(materialize(toNullable(100))), toNullable(19) GROUP BY toNullable(toLowCardinality(18)), toLowCardinality(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 708 out of 1000 SELECT materialize(materialize(toNullable(100))), toNullable(19) GROUP BY toNullable(toLowCardinality(18)), 12, 19 WITH ROLLUP Error on processing query 'SELECT materialize(materialize(toNullable(100))), toNullable(19) GROUP BY toNullable(toLowCardinality(18)), 12, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(materialize(toNullable(100))), toNullable(19) GROUP BY toNullable(toLowCardinality(18)), 12, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 709 out of 1000 SELECT materialize(materialize(toNullable(100))), toNullable(19) GROUP BY toNullable(toLowCardinality(18)), toLowCardinality(12), toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 710 out of 1000 SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), 12, toLowCardinality(19) Error on processing query 'SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), 12, toLowCardinality(19)': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), 12, toLowCardinality(19). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 711 out of 1000 SELECT materialize(materialize(toNullable(100))), toNullable(19) GROUP BY toNullable(toLowCardinality(18)), toLowCardinality(12), toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 712 out of 1000 SELECT materialize(materialize(toNullable(100))), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 713 out of 1000 SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), 12, toLowCardinality(19) WITH ROLLUP Error on processing query 'SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), 12, toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), 12, toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 714 out of 1000 SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP Error on processing query 'SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 715 out of 1000 SELECT materialize(materialize(100)), toNullable(19) GROUP BY 18, toLowCardinality(12), toLowCardinality(19) WITH ROLLUP Error on processing query 'SELECT materialize(materialize(100)), toNullable(19) GROUP BY 18, toLowCardinality(12), toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(materialize(100)), toNullable(19) GROUP BY 18, toLowCardinality(12), toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 716 out of 1000 SELECT materialize(materialize(toNullable(100))), toNullable(19) PREWHERE test_alias_skip_idx__fuzz_12 GROUP BY toLowCardinality(18), 12, toLowCardinality(19) WITH ROLLUP Error on processing query 'SELECT materialize(materialize(toNullable(100))), toNullable(19) PREWHERE test_alias_skip_idx__fuzz_12 GROUP BY toLowCardinality(18), 12, toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_12' in scope SELECT materialize(materialize(toNullable(100))), toNullable(19) PREWHERE test_alias_skip_idx__fuzz_12 GROUP BY toLowCardinality(18), 12, toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 717 out of 1000 EXPLAIN PIPELINE header = true SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE header = true SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 718 out of 1000 SELECT materialize(materialize(100)), toNullable(19) GROUP BY toLowCardinality(18), 12, toLowCardinality(19) WITH ROLLUP Error on processing query 'SELECT materialize(materialize(100)), toNullable(19) GROUP BY toLowCardinality(18), 12, toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(materialize(100)), toNullable(19) GROUP BY toLowCardinality(18), 12, toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 719 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), toLowCardinality(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), toLowCardinality(19) W. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 720 out of 1000 SELECT materialize(materialize(toNullable(100))), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 721 out of 1000 SELECT materialize(materialize(toNullable(100))), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 722 out of 1000 SELECT materialize(materialize(toNullable(100))), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 723 out of 1000 SELECT materialize(materialize(toNullable(100))), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 724 out of 1000 SELECT materialize(materialize(toNullable(toUInt128(19), 100))), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), toLowCardinality(19) WITH ROLLUP Error on processing query 'SELECT materialize(materialize(toNullable(toUInt128(19), 100))), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT materialize(materialize(toNullable(toUInt128(19), 100))), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 725 out of 1000 SELECT materialize(materialize(toNullable(100))), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), toLowCardinality(19) WITH ROLLUP Got boring AST Fuzzing step 726 out of 1000 SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), 12, toLowCardinality(19) WITH ROLLUP Error on processing query 'SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), 12, toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), 12, toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 727 out of 1000 SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP Error on processing query 'SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 728 out of 1000 SELECT materialize(materialize(40, toNullable(100))), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(test_alias_skip_idx__fuzz_33, 12), toLowCardinality(19) WITH ROLLUP Error on processing query 'SELECT materialize(materialize(40, toNullable(100))), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(test_alias_skip_idx__fuzz_33, 12), toLowCardinality(19) WITH ROLLUP': 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(40, toNullable(100))), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(test_alias_skip_idx__fuzz_33, 12), toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 729 out of 1000 SELECT materialize(toNullable(100)), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), toLowCardinality(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 730 out of 1000 SELECT materialize(toNullable(100)), 19 GROUP BY 18, toLowCardinality(12), toLowCardinality(19) WITH ROLLUP Error on processing query 'SELECT materialize(toNullable(100)), 19 GROUP BY 18, toLowCardinality(12), toLowCardinality(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(toNullable(100)), 19 GROUP BY 18, toLowCardinality(12), toLowCardinality(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 731 out of 1000 SELECT toNullable(100), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), toLowCardinality(materialize(toNullable(19))) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 732 out of 1000 SELECT toNullable(materialize(100)), toNullable(19) GROUP BY 18, toLowCardinality(12), toLowCardinality(materialize(toNullable(19))) WITH ROLLUP Error on processing query 'SELECT toNullable(materialize(100)), toNullable(19) GROUP BY 18, toLowCardinality(12), toLowCardinality(materialize(toNullable(19))) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(materialize(100)), toNullable(19) GROUP BY 18, toLowCardinality(12), toLowCardinality(materialize(toNullable(19))) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 733 out of 1000 SELECT toNullable(100), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toNullable(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 734 out of 1000 SELECT toNullable(100), toNullable(19) PREWHERE greater(uniqExact(thread_id)) GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toNullable(19)) WITH ROLLUP Error on processing query 'SELECT toNullable(100), toNullable(19) PREWHERE greater(uniqExact(thread_id)) GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toNullable(19)) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT toNullable(100), toNullable(19) PREWHERE greater(uniqExact(thread_id)) GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toNullable(19)) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 735 out of 1000 SELECT toNullable(100), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toNullable(19)) WITH ROLLUP Got boring AST Fuzzing step 736 out of 1000 SELECT toNullable(100), toNullable(19) GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 737 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 738 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, 19 PREWHERE test_alias_skip_idx__fuzz_18 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, 19 PREWHERE test_alias_skip_idx__fuzz_18 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('100'): 100, 19 PREWHERE test_alias_skip_idx__fuzz_18 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 739 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 740 out of 1000 SELECT 100, toNullable(19) GROUP BY GROUPING SETS ( (toLowCardinality(18)), (toLowCardinality(12)), (materialize(19))) WITH ROLLUP Error on processing query 'SELECT 100, toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(18)), (toLowCardinality(12)), (materialize(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 741 out of 1000 SELECT 100, 19 PREWHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND notEquals(thread_id, test_alias_skip_idx__fuzz_11, master_thread_id) GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 PREWHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND notEquals(thread_id, test_alias_skip_idx__fuzz_11, master_thread_id) GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'event_date' in scope SELECT 100, 19 PREWHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND notEquals(thread_id, test_alias_skip_idx__fuzz_11, master_thread_id) GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 742 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 743 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 744 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 745 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 746 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), 12, 19 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), 12, 19 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), 12, 19 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 747 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 748 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 749 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 750 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 751 out of 1000 EXPLAIN PIPELINE SELECT 100, 19 GROUP BY toLowCardinality(18), 12, materialize(19) WITH ROLLUP WITH CUBE Error on processing query 'EXPLAIN PIPELINE SELECT 100, 19 GROUP BY toLowCardinality(18), 12, materialize(19) WITH ROLLUP WITH CUBE': Received from localhost:9000. DB::Exception: Syntax error: failed at position 150 ('CUBE'): CUBE. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 752 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 753 out of 1000 SELECT toNullable(toUInt128(100)), 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP Error on processing query 'SELECT toNullable(toUInt128(100)), 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(toUInt128(100)), 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 754 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 755 out of 1000 EXPLAIN PIPELINE SELECT 100, 19 WITH TOTALS Error on processing query 'EXPLAIN PIPELINE SELECT 100, 19 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 756 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(materialize(toNullable('merge_expressions=0', 19)), 19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(materialize(toNullable('merge_expressions=0', 19)), 19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(materialize(toNullable('merge_expressions=0', 19)), 19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 757 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 758 out of 1000 SELECT 100, 19 WHERE test_alias_skip_idx__fuzz_17 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 WHERE test_alias_skip_idx__fuzz_17 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_17' in scope SELECT 100, 19 WHERE test_alias_skip_idx__fuzz_17 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 759 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 760 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 761 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 762 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 763 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 764 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), 12, materialize(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), 12, materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), 12, materialize(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 765 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 766 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 767 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 768 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 769 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 770 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 771 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(19), 12), materialize(toLowCardinality(toNullable(toNullable(1))), 19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(19), 12), materialize(toLowCardinality(toNullable(toNullable(1))), 19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(19), 12), materialize(toLowCardinality(toNullable(toNullable(1))), 19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 772 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 773 out of 1000 SELECT 100, toLowCardinality(toNullable(19)) GROUP BY 18, 12, materialize(19) WITH ROLLUP Error on processing query 'SELECT 100, toLowCardinality(toNullable(19)) GROUP BY 18, 12, materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, toLowCardinality(toNullable(19)) GROUP BY 18, 12, materialize(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 774 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 775 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 776 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 777 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), 12, materialize(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), 12, materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), 12, materialize(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 778 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 779 out of 1000 SELECT toLowCardinality(100), 19 PREWHERE toNullable(toNullable(19), materialize(100), 1091 AS id) GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP Error on processing query 'SELECT toLowCardinality(100), 19 PREWHERE toNullable(toNullable(19), materialize(100), 1091 AS id) GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 3, should be 1: In scope SELECT toLowCardinality(100), 19 PREWHERE toNullable(toNullable(19), materialize(100), 1091 AS id) GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 780 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 781 out of 1000 SELECT toLowCardinality(100), 19 PREWHERE toNullable(toUInt128(2)) GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Error on processing query 'SELECT toLowCardinality(100), 19 PREWHERE toNullable(toUInt128(2)) GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 782 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 783 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP Got boring AST Fuzzing step 784 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(toUInt128(12)), materialize(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 785 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(toUInt128(12)), 19 WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(toUInt128(12)), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(toUInt128(12)), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 786 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(toUInt128(12)), 19 WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(toUInt128(12)), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(toUInt128(12)), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 787 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(toUInt128(12)), materialize(toUInt256(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 788 out of 1000 SELECT 100, 19 GROUP BY 18, toUInt128(12), materialize(toUInt256(19)) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toUInt128(12), materialize(toUInt256(19)) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toUInt128(12), materialize(toUInt256(19)) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 789 out of 1000 SELECT 100, 19 GROUP BY 18, toUInt128(12), materialize(toUInt256(19)) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toUInt128(12), materialize(toUInt256(19)) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toUInt128(12), materialize(toUInt256(19)) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 790 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(toUInt128(12)), materialize(toUInt256(19)) WITH ROLLUP Got boring AST Fuzzing step 791 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), materialize(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 792 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(toUInt128(12)), materialize(toUInt256(19)) WITH ROLLUP Got boring AST Fuzzing step 793 out of 1000 SELECT 100, 19 WITH TOTALS Error on processing query 'SELECT 100, 19 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 794 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toUInt256(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 795 out of 1000 SELECT materialize(toLowCardinality(toUInt256(100))), 19 GROUP BY 18, toLowCardinality(12), materialize(toUInt256(19)) WITH ROLLUP Error on processing query 'SELECT materialize(toLowCardinality(toUInt256(100))), 19 GROUP BY 18, toLowCardinality(12), materialize(toUInt256(19)) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(toLowCardinality(toUInt256(100))), 19 GROUP BY 18, toLowCardinality(12), materialize(toUInt256(19)) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 796 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toUInt256(19)) WITH ROLLUP Got boring AST Fuzzing step 797 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), 12, materialize(toUInt256(19)) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), 12, materialize(toUInt256(19)) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), 12, materialize(toUInt256(19)) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 798 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toUInt256(19)) WITH ROLLUP Got boring AST Fuzzing step 799 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), 12, materialize(toUInt256(19)) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), 12, materialize(toUInt256(19)) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), 12, materialize(toUInt256(19)) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 800 out of 1000 SELECT toLowCardinality(toUInt256(100)), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toUInt256(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 801 out of 1000 SELECT toLowCardinality(toUInt256(100)), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toUInt256(19)) WITH ROLLUP Got boring AST Fuzzing step 802 out of 1000 SELECT toLowCardinality(toUInt256(100)), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toUInt256(toUInt128(19))) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 803 out of 1000 SELECT toLowCardinality(toUInt256(100)), toUInt256(19) WHERE toUInt256(1) GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toUInt128(19)) WITH ROLLUP Error on processing query 'SELECT toLowCardinality(toUInt256(100)), toUInt256(19) WHERE toUInt256(1) GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toUInt128(19)) WITH ROLLUP': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 804 out of 1000 EXPLAIN PIPELINE header = true, compact = true SELECT toLowCardinality(toUInt256(100)), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toUInt256(toUInt128(19))) WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE header = true, compact = true SELECT toLowCardinality(toUInt256(100)), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toUInt256(toUInt128(19))) WITH ROLLUP': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 805 out of 1000 SELECT toLowCardinality(toUInt256(100)), 19 WHERE normalizeQuery(query) GROUP BY toLowCardinality(18), 12, materialize(toUInt256(toUInt128(19))) WITH ROLLUP Error on processing query 'SELECT toLowCardinality(toUInt256(100)), 19 WHERE normalizeQuery(query) GROUP BY toLowCardinality(18), 12, materialize(toUInt256(toUInt128(19))) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT toLowCardinality(toUInt256(100)), 19 WHERE normalizeQuery(query) GROUP BY toLowCardinality(18), 12, materialize(toUInt256(toUInt128(19))) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 806 out of 1000 SELECT toUInt256(100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toUInt256(toUInt128(19))) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 807 out of 1000 SELECT toUInt256(100), 19 GROUP BY 18, 12, materialize(toUInt256(toUInt128(19))) WITH ROLLUP Error on processing query 'SELECT toUInt256(100), 19 GROUP BY 18, 12, materialize(toUInt256(toUInt128(19))) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT toUInt256(100), 19 GROUP BY 18, 12, materialize(toUInt256(toUInt128(19))) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 808 out of 1000 SELECT toUInt256(100), 19 GROUP BY toLowCardinality(18), 12, materialize(toUInt128(19)) WITH ROLLUP Error on processing query 'SELECT toUInt256(100), 19 GROUP BY toLowCardinality(18), 12, materialize(toUInt128(19)) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT toUInt256(100), 19 GROUP BY toLowCardinality(18), 12, materialize(toUInt128(19)) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 809 out of 1000 SELECT toUInt256(100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toUInt256(19)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 810 out of 1000 SELECT toUInt256(100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP WITH CUBE Error on processing query 'SELECT toUInt256(100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(19) WITH ROLLUP WITH CUBE': Received from localhost:9000. DB::Exception: Syntax error: failed at position 160 ('CUBE'): CUBE. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 811 out of 1000 SELECT toUInt256(toLowCardinality(26), 100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toUInt256(19)) WITH ROLLUP Error on processing query 'SELECT toUInt256(toLowCardinality(26), 100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toUInt256(19)) WITH ROLLUP': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt256'. Expected 1 argument, got 2 arguments: In scope SELECT toUInt256(toLowCardinality(26), 100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), materialize(toUInt256(19)) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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)::NameToUInt256, 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&) @ 0x00000000071719f8 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x000000000716b91b 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 812 out of 1000 SELECT toUInt256(100), 19 GROUP BY 18, toLowCardinality(12), materialize(toUInt256(19)) WITH ROLLUP Error on processing query 'SELECT toUInt256(100), 19 GROUP BY 18, toLowCardinality(12), materialize(toUInt256(19)) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT toUInt256(100), 19 GROUP BY 18, toLowCardinality(12), materialize(toUInt256(19)) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 813 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toUInt256(100), 19 GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), materialize(toUInt256(19)) WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toUInt256(100), 19 GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), materialize(toUInt256(19)) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('toUInt256'): toUInt256(100), 19 GROUP BY toLowCardinality(toNullable(18)), toLowCardinality(12), materialize(toUInt256(19)) WITH RO. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 814 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 815 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 816 out of 1000 SELECT toUInt128(100), 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP Error on processing query 'SELECT toUInt128(100), 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT toUInt128(100), 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 817 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 818 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 819 out of 1000 SELECT 100, 19 GROUP BY GROUPING SETS ( (toLowCardinality(18)), (toLowCardinality(12)), (toUInt256(19))) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY GROUPING SETS ((toLowCardinality(18)), (toLowCardinality(12)), (toUInt256(19))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 820 out of 1000 SELECT 100, materialize(toNullable(19)) GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP Error on processing query 'SELECT 100, materialize(toNullable(19)) GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, materialize(toNullable(19)) GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 821 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 822 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), 12, 19 WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), 12, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), 12, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 823 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 824 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 825 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 826 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 827 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 828 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 829 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 830 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 831 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 832 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), 12, 19 WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), 12, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), 12, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 833 out of 1000 SELECT 100, 19 WITH TOTALS Error on processing query 'SELECT 100, 19 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 834 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 835 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 836 out of 1000 EXPLAIN AST graph = true SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'EXPLAIN AST graph = true SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 837 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 838 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 839 out of 1000 EXPLAIN ESTIMATE SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 840 out of 1000 EXPLAIN ESTIMATE SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 841 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 842 out of 1000 EXPLAIN QUERY TREE SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 843 out of 1000 EXPLAIN QUERY TREE SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 844 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 845 out of 1000 EXPLAIN QUERY TREE SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 846 out of 1000 EXPLAIN QUERY TREE SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 847 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 848 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('100'): 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 849 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 850 out of 1000 EXPLAIN AST SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 851 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), 19 WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 852 out of 1000 EXPLAIN AST SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 853 out of 1000 EXPLAIN ESTIMATE SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 854 out of 1000 EXPLAIN AST SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 855 out of 1000 EXPLAIN ESTIMATE SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 856 out of 1000 EXPLAIN ESTIMATE SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 857 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 858 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 859 out of 1000 EXPLAIN ESTIMATE SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 860 out of 1000 EXPLAIN SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 861 out of 1000 EXPLAIN SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 862 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(toUInt256(18)), toLowCardinality(12), toUInt256(normalizeQuery(toFixedString('default_settings', 16), query) = normalizeQuery(toNullable(toLowCardinality(toNullable(1091))), 'with 01091 as id select sum(number) from numbers_mt(1000000);'), 19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(toUInt256(18)), toLowCardinality(12), toUInt256(normalizeQuery(toFixedString('default_settings', 16), query) = normalizeQuery(toNullable(toLowCardinality(toNullable(1091))), 'with 01091 as id select sum(number) from numbers_mt(1000000);'), 19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT 100, 19 GROUP BY toLowCardinality(toUInt256(18)), toLowCardinality(12), toUInt256(normalizeQuery(toFixedString('default_settings', 16), query) = normalizeQuery(toNullable(toLowCardinality(toNullable(1091))), 'with 01091 as id select sum(number) from numbers_mt(1000000);'), 19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 863 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 864 out of 1000 EXPLAIN ESTIMATE SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 865 out of 1000 EXPLAIN ESTIMATE SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 866 out of 1000 EXPLAIN ESTIMATE SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 867 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('100'): 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 868 out of 1000 EXPLAIN SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 869 out of 1000 EXPLAIN SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 870 out of 1000 EXPLAIN SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 871 out of 1000 EXPLAIN SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 872 out of 1000 EXPLAIN SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 873 out of 1000 EXPLAIN SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 874 out of 1000 EXPLAIN SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 875 out of 1000 EXPLAIN SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 876 out of 1000 EXPLAIN SYNTAX SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 877 out of 1000 EXPLAIN SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 878 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 879 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 880 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 881 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 882 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 883 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 884 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 885 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 886 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 887 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(toUInt256(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), toLowCardinality(toUInt256(2))), 12), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(toUInt256(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), toLowCardinality(toUInt256(2))), 12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 3, should be 1: In scope SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(toUInt256(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), toLowCardinality(toUInt256(2))), 12), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 888 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 889 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 890 out of 1000 SELECT toUInt128(toNullable(19)), 100, 19 WHERE materialize(toNullable('enable_optimizations=0')) GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT toUInt128(toNullable(19)), 100, 19 WHERE materialize(toNullable('enable_optimizations=0')) GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 3]. In scope SELECT toUInt128(toNullable(19)), 100, 19 WHERE materialize(toNullable('enable_optimizations=0')) GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 891 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 892 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 893 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 894 out of 1000 SELECT 100, 19 GROUP BY 18, 12, toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, 12, toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, 12, toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 895 out of 1000 SELECT 100, 19 PREWHERE materialize('nested_alias') GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP Error on processing query 'SELECT 100, 19 PREWHERE materialize('nested_alias') GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 PREWHERE materialize('nested_alias') GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 896 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 897 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 898 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 899 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 900 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 901 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), 12, 19 WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), 12, 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), 12, 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 902 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 903 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 904 out of 1000 SELECT materialize(toLowCardinality(100)), 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP Error on processing query 'SELECT materialize(toLowCardinality(100)), 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(toLowCardinality(100)), 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 905 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 906 out of 1000 SELECT 100, 19 PREWHERE test_nested_alias_idx__fuzz_5 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 PREWHERE test_nested_alias_idx__fuzz_5 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_5' in scope SELECT 100, 19 PREWHERE test_nested_alias_idx__fuzz_5 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 907 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(toUInt128(18)), 12, toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(toUInt128(18)), 12, toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(toUInt128(18)), 12, toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 908 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 12 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY toLowCardinality(18), 12, toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 909 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 910 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 911 out of 1000 SELECT toLowCardinality(100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 912 out of 1000 SELECT toLowCardinality(100), 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT toLowCardinality(100), 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT toLowCardinality(100), 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 913 out of 1000 SELECT toLowCardinality(100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 914 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(1048576, 19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(1048576, 19) WITH ROLLUP': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt256'. Expected 1 argument, got 2 arguments: In scope SELECT 100, 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(1048576, 19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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)::NameToUInt256, 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&) @ 0x00000000071719f8 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x000000000716b91b 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 915 out of 1000 SELECT toLowCardinality(100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 916 out of 1000 SELECT toLowCardinality(100), 19 PREWHERE test_nested_alias_idx__fuzz_8 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT toLowCardinality(100), 19 PREWHERE test_nested_alias_idx__fuzz_8 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_8' in scope SELECT toLowCardinality(100), 19 PREWHERE test_nested_alias_idx__fuzz_8 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 917 out of 1000 SELECT toLowCardinality(100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 918 out of 1000 SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT 100, 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 919 out of 1000 SELECT toLowCardinality(100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 920 out of 1000 SELECT toLowCardinality(100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 921 out of 1000 SELECT toLowCardinality(100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 922 out of 1000 SELECT 100, 19 GROUP BY toLowCardinality(greater(100, a2, toLowCardinality(toLowCardinality(19, 1), 1091, 19), event_date, materialize(materialize(1091), toInt256(-2147483649)), materialize(100)), 18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 100, 19 GROUP BY toLowCardinality(greater(100, a2, toLowCardinality(toLowCardinality(19, 1), 1091, 19), event_date, materialize(materialize(1091), toInt256(-2147483649)), materialize(100)), 18), toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT 100, 19 GROUP BY toLowCardinality(greater(100, a2, toLowCardinality(toLowCardinality(19, 1), 1091, 19), event_date, materialize(materialize(1091), toInt256(-2147483649)), materialize(100)), 18), toLowCardinality(12), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 923 out of 1000 SELECT toLowCardinality(100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP Error on processing query 'SELECT toLowCardinality(100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 2]. In scope SELECT toLowCardinality(100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 924 out of 1000 SELECT toLowCardinality(100), 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 925 out of 1000 SELECT toLowCardinality(100), 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT toLowCardinality(100), 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 2]. In scope SELECT toLowCardinality(100), 19 GROUP BY 18, toLowCardinality(12), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 926 out of 1000 SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(12), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 927 out of 1000 SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 928 out of 1000 SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 929 out of 1000 SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), 19 WITH ROLLUP Error on processing query 'SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 19 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 930 out of 1000 SELECT 19 WHERE toUInt128(materialize(12)) GROUP BY 18, toLowCardinality(toNullable(toUInt256(12))), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT 19 WHERE toUInt128(materialize(12)) GROUP BY 18, toLowCardinality(toNullable(toUInt256(12))), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 WHERE toUInt128(materialize(12)) GROUP BY 18, toLowCardinality(toNullable(toUInt256(12))), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 931 out of 1000 SELECT 19 GROUP BY 18, toLowCardinality(toNullable(12)), 19 WITH ROLLUP Error on processing query 'SELECT 19 GROUP BY 18, toLowCardinality(toNullable(12)), 19 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 1]. In scope SELECT 19 GROUP BY 18, toLowCardinality(toNullable(12)), 19 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 932 out of 1000 SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 933 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 934 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 935 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 936 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('19'): 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 937 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 938 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 939 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 940 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 941 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 942 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 943 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 944 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 945 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 946 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 947 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 948 out of 1000 SELECT 19 GROUP BY 18, toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP WITH CUBE Error on processing query 'SELECT 19 GROUP BY 18, toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP WITH CUBE': Received from localhost:9000. DB::Exception: Syntax error: failed at position 135 ('CUBE'): CUBE. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 949 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 950 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 951 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 952 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 953 out of 1000 EXPLAIN AST SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 954 out of 1000 EXPLAIN AST SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 955 out of 1000 EXPLAIN AST SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 956 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('19'): 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 957 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('19'): 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 958 out of 1000 EXPLAIN AST SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 959 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 960 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 961 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('19'): 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 962 out of 1000 EXPLAIN AST SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 963 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 964 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 965 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 966 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 967 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 968 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 969 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 970 out of 1000 EXPLAIN AST SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 971 out of 1000 EXPLAIN AST SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 972 out of 1000 EXPLAIN AST SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 973 out of 1000 EXPLAIN AST SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 974 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 975 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 976 out of 1000 SELECT toNullable(toUInt128(19)) GROUP BY 18, toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Error on processing query 'SELECT toNullable(toUInt128(19)) GROUP BY 18, toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 18 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(toUInt128(19)) GROUP BY 18, toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 977 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 978 out of 1000 EXPLAIN SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 979 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 980 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 53 ('19'): 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 981 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 982 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 983 out of 1000 EXPLAIN AST SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 984 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 985 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP': Received from localhost:9000. DB::Exception: Syntax error: failed at position 53 ('19'): 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 986 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 987 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 988 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 989 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 990 out of 1000 EXPLAIN QUERY TREE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 991 out of 1000 EXPLAIN SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 992 out of 1000 EXPLAIN SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 993 out of 1000 EXPLAIN SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 994 out of 1000 EXPLAIN SYNTAX SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 995 out of 1000 EXPLAIN ESTIMATE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 996 out of 1000 EXPLAIN ESTIMATE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 997 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 998 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 999 out of 1000 EXPLAIN PIPELINE SELECT 19 GROUP BY toLowCardinality(18), toLowCardinality(toNullable(12)), toUInt256(19) WITH ROLLUP Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 2 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 3 out of 1000 EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN QUERY TREE query. Supported settings: dump_passes, dump_ast, dump_tree, run_passes, passes. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [11], String&&) @ 0x00000000115973eb 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115903be 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 4 out of 1000 EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN QUERY TREE query. Supported settings: dump_passes, dump_ast, dump_tree, run_passes, passes. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [11], String&&) @ 0x00000000115973eb 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115903be 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 5 out of 1000 EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_nested_alias_idx WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN QUERY TREE query. Supported settings: dump_passes, dump_ast, dump_tree, run_passes, passes. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [11], String&&) @ 0x00000000115973eb 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115903be 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 6 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_4 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 7 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_36 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 8 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_32 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 9 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM test_nested_alias_idx__fuzz_32 PREWHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM test_nested_alias_idx__fuzz_32 PREWHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM test_nested_alias_idx__fuzz_32 PREWHERE a2 > 100 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 10 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_4 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 11 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_4 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 12 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_36 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 13 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_48 WHERE a2 > materialize(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 14 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_4 WHERE a2 > materialize(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 15 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_4 WHERE a2 > materialize(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 16 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_4 WHERE a2 > materialize(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 17 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_36 WHERE a2 > materialize(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 18 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_36 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 19 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_36 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 20 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_36 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 21 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_32 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 22 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_35 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 23 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_32 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 24 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_32 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 25 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_32 WHERE a2 > materialize(toUInt256(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 26 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_36 WHERE a2 > materialize(toUInt256(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 27 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_6 WHERE greater(materialize(toUInt256(100))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT * FROM test_nested_alias_idx__fuzz_6 WHERE greater(materialize(toUInt256(100))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT * FROM test_nested_alias_idx__fuzz_6 WHERE greater(materialize(toUInt256(100))) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 28 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_nested_alias_idx__fuzz_48 WHERE a2 > materialize(toUInt256(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 29 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_nested_alias_idx__fuzz_48 WHERE a2 > materialize(toUInt256(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 30 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_48 WHERE a2 > materialize(toUInt256(100)) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 31 out of 1000 SELECT * FROM test_nested_alias_idx__fuzz_35 WHERE a2 > materialize(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 32 out of 1000 SELECT toUInt128(2), * FROM test_nested_alias_idx__fuzz_32 WHERE a2 > materialize(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 33 out of 1000 SELECT toUInt128(2), * FROM test_nested_alias_idx__fuzz_6 WHERE a2 > materialize(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 34 out of 1000 SELECT toUInt128(2), * FROM test_nested_alias_idx__fuzz_32 WHERE a2 > materialize(100) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 35 out of 1000 SELECT toUInt128(2), * FROM test_nested_alias_idx__fuzz_32 WHERE a2 > materialize(100) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 36 out of 1000 SELECT toUInt128(2), * FROM test_nested_alias_idx__fuzz_6 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 37 out of 1000 SELECT toUInt128(2), * FROM test_nested_alias_idx__fuzz_6 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 38 out of 1000 SELECT toUInt128(2), * FROM test_nested_alias_idx__fuzz_48 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 39 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_6 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 40 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_6 WHERE greater(a2) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 2, * FROM test_nested_alias_idx__fuzz_6 WHERE greater(a2) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT 2, * FROM test_nested_alias_idx__fuzz_6 WHERE greater(a2) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 41 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_6 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 42 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_36 WHERE a2 > 100 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 43 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_35 WHERE greater(100) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 2, * FROM test_nested_alias_idx__fuzz_35 WHERE greater(100) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT 2, * FROM test_nested_alias_idx__fuzz_35 WHERE greater(100) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 44 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 45 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 46 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 47 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 48 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 49 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 50 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 51 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_32 WHERE toUInt128(toUInt256(12)) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 2, * FROM test_nested_alias_idx__fuzz_32 WHERE toUInt128(toUInt256(12)) SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 52 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 53 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 54 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 55 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 56 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 58 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 59 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_6 GROUP BY toLowCardinality(toLowCardinality(19)), current_database = currentDatabase(toLowCardinality(12)) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 2, * FROM test_nested_alias_idx__fuzz_6 GROUP BY toLowCardinality(toLowCardinality(19)), current_database = currentDatabase(toLowCardinality(12)) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT 2, * FROM test_nested_alias_idx__fuzz_6 GROUP BY toLowCardinality(toLowCardinality(19)), current_database = currentDatabase(toLowCardinality(12)) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 60 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT 2, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 2147483648 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT 2, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 2147483648': Received from localhost:9000. DB::Exception: Field value 2147483648 is out of range of bool type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::Field const&, String&&) @ 0x0000000010bb38ab 4. /build/src/Core/SettingsFields.cpp:0: bool DB::(anonymous namespace)::fieldToNumber(DB::Field const&) @ 0x0000000010bada71 5. /build/src/Core/SettingsFields.h:38: DB::SettingFieldNumber::SettingFieldNumber(DB::Field const&) @ 0x0000000010bb2a6c 6. /build/src/Core/SettingsFields.h:45: DB::SettingsTraits::Accessor::instance()::$_0::operator()() const::'lambda1205'(DB::Field const&)::__invoke(DB::Field const&) @ 0x0000000010ad81d2 7. /build/src/Core/Settings.h:0: DB::BaseSettings::castValueUtil(std::basic_string_view>, DB::Field const&) @ 0x0000000010898059 8. /build/src/Access/SettingsConstraints.cpp:233: bool DB::getNewValueToCheck(DB::Settings const&, DB::SettingChange&, DB::Field&, bool) @ 0x00000000108971df 9. /build/src/Access/SettingsConstraints.cpp:285: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000010895ee2 10. /build/contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000010896153 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) @ 0x00000000110fd429 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSetQuery::executeForCurrentContext(bool) @ 0x00000000116b8503 13. /build/src/Interpreters/InterpreterSetQuery.h:14: DB::applySettingsFromSelectWithUnion(DB::ASTSelectWithUnionQuery const&, std::shared_ptr) @ 0x00000000116b8cd6 14. /build/src/Interpreters/InterpreterSetQuery.cpp:0: DB::InterpreterSetQuery::applySettingsFromQuery(std::shared_ptr const&, std::shared_ptr) @ 0x00000000116b8728 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSetQuery::applySettingsFromQuery(std::shared_ptr const&, std::shared_ptr) @ 0x00000000116b8a32 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011922b97 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 61 out of 1000 EXPLAIN PIPELINE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 62 out of 1000 EXPLAIN PIPELINE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 63 out of 1000 EXPLAIN PIPELINE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 64 out of 1000 EXPLAIN ESTIMATE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 65 out of 1000 EXPLAIN PIPELINE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 66 out of 1000 EXPLAIN QUERY TREE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 67 out of 1000 EXPLAIN QUERY TREE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 68 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('2'): 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 69 out of 1000 EXPLAIN SYNTAX SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 70 out of 1000 EXPLAIN SYNTAX SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 71 out of 1000 EXPLAIN SYNTAX SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 72 out of 1000 EXPLAIN ESTIMATE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 73 out of 1000 EXPLAIN QUERY TREE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 74 out of 1000 EXPLAIN QUERY TREE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 75 out of 1000 EXPLAIN QUERY TREE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 76 out of 1000 EXPLAIN AST SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 77 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('2'): 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 78 out of 1000 EXPLAIN AST SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 79 out of 1000 EXPLAIN PIPELINE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 80 out of 1000 EXPLAIN PIPELINE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 81 out of 1000 EXPLAIN PIPELINE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 82 out of 1000 EXPLAIN PIPELINE SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 83 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 85 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 86 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 87 out of 1000 SELECT toNullable(2), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 88 out of 1000 SELECT toNullable(2), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 89 out of 1000 SELECT toNullable(toLowCardinality(2)), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 90 out of 1000 SELECT toLowCardinality(2), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 SELECT toLowCardinality(2), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 92 out of 1000 SELECT toLowCardinality(2), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 94 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 95 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 96 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 97 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 98 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 99 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 100 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 101 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 102 out of 1000 SELECT 2, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 256 Fuzzing step 103 out of 1000 SELECT 2, normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;')), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 104 out of 1000 SELECT 2, normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;')), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 105 out of 1000 SELECT 2, normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;')), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 106 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 107 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 108 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 109 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 110 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 111 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 112 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 113 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 114 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 115 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 116 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 117 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 118 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 119 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 120 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 121 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 122 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 123 out of 1000 EXPLAIN ESTIMATE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 124 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 125 out of 1000 EXPLAIN SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 126 out of 1000 EXPLAIN SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 127 out of 1000 EXPLAIN SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 128 out of 1000 EXPLAIN SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 129 out of 1000 EXPLAIN SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 130 out of 1000 EXPLAIN ESTIMATE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 131 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 132 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 133 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 134 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 135 out of 1000 SELECT 2, normalizeQuery(test_alias_skip_idx__fuzz_10, 'WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 2, normalizeQuery(test_alias_skip_idx__fuzz_10, 'WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_10' in scope SELECT 2, normalizeQuery(test_alias_skip_idx__fuzz_10, 'WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 136 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 137 out of 1000 EXPLAIN ESTIMATE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 138 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 140 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 141 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 142 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 143 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 144 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('2'): 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 145 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 146 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 147 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 148 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 149 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 150 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('2'): 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 151 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 152 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 153 out of 1000 EXPLAIN SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 154 out of 1000 EXPLAIN SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 155 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('2'): 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 156 out of 1000 EXPLAIN SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 157 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('2'): 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 158 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 159 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 160 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 161 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('2'): 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 162 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 163 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 164 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('2'): 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 165 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 166 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 167 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('2'): 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 168 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 169 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 170 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 171 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 172 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 173 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 174 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 175 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('2'): 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 176 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 177 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 178 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 179 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 180 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 181 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 182 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('2'): 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 183 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 184 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 185 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 186 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 187 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 188 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 189 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 190 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 191 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 192 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 193 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 194 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 195 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 197 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 198 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 65535 Fuzzing step 199 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 200 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 201 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 202 out of 1000 SELECT 2, normalizeQuery(toFixedString(toLowCardinality('enable_optimizations=0'), 22), 'WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 2, normalizeQuery(toFixedString(toLowCardinality('enable_optimizations=0'), 22), 'WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope SELECT 2, normalizeQuery(toFixedString(toLowCardinality('enable_optimizations=0'), 22), 'WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 203 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 204 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 205 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), toUInt128(12), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 206 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), toUInt128(12), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 207 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), toUInt128(12), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 208 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), toUInt128(12), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 209 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), toUInt128(12), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 210 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), toUInt128(12), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 211 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), toUInt128(12), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 212 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), toUInt128(12), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 213 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 214 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 215 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 216 out of 1000 EXPLAIN SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 217 out of 1000 EXPLAIN SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 218 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 219 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 220 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('2'): 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 221 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 222 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 223 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 224 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 225 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 226 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 227 out of 1000 EXPLAIN ESTIMATE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 228 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 229 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 230 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 231 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 232 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 233 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 234 out of 1000 EXPLAIN SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 235 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 236 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 237 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 238 out of 1000 EXPLAIN SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 239 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 240 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 241 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('2'): 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 242 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 243 out of 1000 EXPLAIN SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 244 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 245 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 246 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 247 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 248 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 249 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 250 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 251 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 2 Fuzzing step 252 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 253 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 254 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 255 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 256 out of 1000 SELECT 2, normalizeQuery(toNullable('merge_expressions=0', 19), 'WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 2, normalizeQuery(toNullable('merge_expressions=0', 19), 'WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 2, normalizeQuery(toNullable('merge_expressions=0', 19), 'WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 257 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 258 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 259 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 261 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 262 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = -2147483647 Fuzzing step 263 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 264 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 265 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 266 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 267 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 268 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 269 out of 1000 EXPLAIN AST graph = true SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN AST graph = true SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 270 out of 1000 EXPLAIN ESTIMATE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 271 out of 1000 EXPLAIN ESTIMATE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 272 out of 1000 EXPLAIN ESTIMATE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 273 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 274 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 275 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 276 out of 1000 EXPLAIN SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 277 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 278 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 279 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 280 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 281 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 282 out of 1000 EXPLAIN ESTIMATE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 283 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 284 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 285 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 286 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 287 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('2'): 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 288 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 289 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 290 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 291 out of 1000 EXPLAIN ESTIMATE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 292 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 293 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 294 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 295 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 296 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 298 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 299 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 300 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 301 out of 1000 SELECT toUInt256(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 302 out of 1000 SELECT toUInt256(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 303 out of 1000 SELECT toUInt256(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 304 out of 1000 SELECT toUInt256(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 305 out of 1000 SELECT toUInt256(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 306 out of 1000 SELECT toUInt256(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 307 out of 1000 SELECT toUInt256(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 308 out of 1000 SELECT toUInt256(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 309 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 310 out of 1000 SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 311 out of 1000 SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 312 out of 1000 SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 313 out of 1000 SELECT 2, normalizeQuery(toNullable(toNullable('WITH 01091 AS id SELECT 1;'))), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 7 Fuzzing step 314 out of 1000 SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 315 out of 1000 SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 316 out of 1000 SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 317 out of 1000 SELECT 2, normalizeQuery(uniqExact(thread_id) IGNORE NULLS > 2, toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 2, normalizeQuery(uniqExact(thread_id) IGNORE NULLS > 2, toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 2, normalizeQuery(uniqExact(thread_id) IGNORE NULLS > 2, toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 318 out of 1000 SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 319 out of 1000 SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 320 out of 1000 SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 321 out of 1000 SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 322 out of 1000 SELECT 2, normalizeQuery(toNullable(equals(normalizeQuery(query), toUInt256(1), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))), 'WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 2, normalizeQuery(toNullable(equals(normalizeQuery(query), toUInt256(1), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))), 'WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT 2, normalizeQuery(toNullable(equals(normalizeQuery(query), toUInt256(1), materialize('WITH 01091 AS id SELECT 1;'), normalizeQuery(materialize('with 01091 as id select sum(number) from numbers(1000000);'))), 'WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 19. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 323 out of 1000 SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_6 PREWHERE uniqExact(1, thread_id) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_6 PREWHERE uniqExact(1, thread_id) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_6 PREWHERE uniqExact(1, thread_id) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 324 out of 1000 SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 2147483648 Fuzzing step 325 out of 1000 SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 326 out of 1000 SELECT toUInt128(2), normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 SELECT toUInt128(2), normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 328 out of 1000 SELECT toUInt128(2), normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 329 out of 1000 SELECT toUInt128(2), normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 330 out of 1000 SELECT toUInt128(materialize(toLowCardinality(2))), normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 331 out of 1000 SELECT toUInt128(materialize(toLowCardinality(2))), normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 332 out of 1000 SELECT toUInt128(toLowCardinality(2)), normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 333 out of 1000 SELECT toUInt128(toLowCardinality(2)), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 GROUP BY 1048577, today() - toLowCardinality(1), -1, toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, toLowCardinality(-2147483649, 100)), 'WITH 01091 AS id SELECT 1;'), 2 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toUInt128(toLowCardinality(2)), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 GROUP BY 1048577, today() - toLowCardinality(1), -1, toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, toLowCardinality(-2147483649, 100)), 'WITH 01091 AS id SELECT 1;'), 2 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Positional argument number 1048577 is out of bounds. Expected in range [1, 4]. In scope SELECT toUInt128(toLowCardinality(2)), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 GROUP BY 1048577, today() - toLowCardinality(1), -1, toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, toLowCardinality(-2147483649, 100)), 'WITH 01091 AS id SELECT 1;'), 2 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 334 out of 1000 SELECT toUInt128(toLowCardinality(2)), normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 335 out of 1000 SELECT toUInt128(toLowCardinality(2)), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 336 out of 1000 SELECT toUInt128(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 337 out of 1000 SELECT toUInt128(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 338 out of 1000 SELECT toUInt128(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 339 out of 1000 SELECT toUInt128(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 340 out of 1000 SELECT toUInt128(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 341 out of 1000 SELECT toUInt128(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = -2147483649 Fuzzing step 342 out of 1000 SELECT toUInt128(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 343 out of 1000 SELECT toUInt128(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 344 out of 1000 SELECT toUInt128(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 345 out of 1000 SELECT toUInt128(2), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 346 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 347 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 348 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 65536 Fuzzing step 349 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 350 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 351 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 352 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 353 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 355 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 356 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 357 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 358 out of 1000 SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 359 out of 1000 SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 360 out of 1000 SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 361 out of 1000 SELECT 2, normalizeQuery(toNullable('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 362 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 363 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 364 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 365 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), materialize(12), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 366 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), materialize(12), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 367 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 368 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 369 out of 1000 EXPLAIN ESTIMATE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 370 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 372 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 373 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 374 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 375 out of 1000 EXPLAIN AST SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 376 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 EXPLAIN PIPELINE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 EXPLAIN ESTIMATE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 379 out of 1000 EXPLAIN ESTIMATE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 380 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 381 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('2'): 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 382 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 383 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 384 out of 1000 EXPLAIN ESTIMATE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 385 out of 1000 EXPLAIN ESTIMATE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 386 out of 1000 EXPLAIN ESTIMATE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 387 out of 1000 EXPLAIN ESTIMATE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 388 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 389 out of 1000 EXPLAIN SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 390 out of 1000 EXPLAIN SYNTAX SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 391 out of 1000 EXPLAIN QUERY TREE SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 392 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 394 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 395 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 396 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 398 out of 1000 SELECT 2, normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 399 out of 1000 SELECT toNullable(toUInt128(2)), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 400 out of 1000 SELECT toNullable(toUInt128(2)), toFixedString(toNullable('merge_expressions=0', toUInt256(19)), 19), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toNullable(toUInt128(2)), toFixedString(toNullable('merge_expressions=0', toUInt256(19)), 19), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0': 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(2)), toFixedString(toNullable('merge_expressions=0', toUInt256(19)), 19), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 401 out of 1000 SELECT toNullable(toUInt128(2)), normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_48 WHERE 0. SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT toNullable(toUInt128(2)), normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;')), 12, * FROM test_nested_alias_idx__fuzz_48 WHERE 0. SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 402 out of 1000 SELECT toNullable(toUInt128(2)), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 403 out of 1000 SELECT toNullable(toUInt128(2)), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 404 out of 1000 SELECT toNullable(toUInt128(2)), normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 405 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 406 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 407 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN ESTIMATE SELECT normalizeQuery(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Cannot apply function normalizeQuery to fixed string.: In scope SELECT normalizeQuery(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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/normalizeQuery.cpp:50: DB::(anonymous namespace)::Impl::vectorFixed(DB::PODArray, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000aa8ad7b 5. /build/src/Functions/FunctionStringToString.h:0: DB::FunctionStringToString, DB::(anonymous namespace)::Impl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8a98e 6. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 7. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 8. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 9. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69770 10. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c32 11. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 12. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 13. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 17. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 24. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 25. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 408 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 WHERE toFixedString('merge_expressions=0', 19, toLowCardinality(19)) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 WHERE toFixedString('merge_expressions=0', 19, toLowCardinality(19)) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 WHERE toFixedString('merge_expressions=0', 19, toLowCardinality(19)) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 409 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 411 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 412 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 413 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 414 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 415 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 416 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 417 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 418 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 PREWHERE test_nested_alias_idx__fuzz_46 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 PREWHERE test_nested_alias_idx__fuzz_46 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_46' in scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 PREWHERE test_nested_alias_idx__fuzz_46 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 420 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 421 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 422 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 423 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 424 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 425 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 GROUP BY plus(c, greater(toNullable(toUInt128(100)), a2, toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, 19), event_date, materialize(materialize(1091), toInt256(-2147483649)), 100), 1), toUInt128(materialize(toLowCardinality(toNullable(toUInt256(19))))), uniqExact(materialize(100), thread_id) RESPECT NULLS SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 GROUP BY plus(c, greater(toNullable(toUInt128(100)), a2, toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, 19), event_date, materialize(materialize(1091), toInt256(-2147483649)), 100), 1), toUInt128(materialize(toLowCardinality(toNullable(toUInt256(19))))), uniqExact(materialize(100), thread_id) RESPECT NULLS SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 GROUP BY plus(c, greater(toNullable(toUInt128(100)), a2, toLowCardinality(toLowCardinality(toUInt128(19), 1), 1091, 19), event_date, materialize(materialize(1091), toInt256(-2147483649)), 100), 1), toUInt128(materialize(toLowCardinality(toNullable(toUInt256(19))))), uniqExact(materialize(100), thread_id) RESPECT NULLS SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 23. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 24. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 28. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b Fuzzing step 426 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(0., 64)), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 427 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(0., 64)), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 428 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(0., 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(0., 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(0., 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 429 out of 1000 SELECT normalizeQuery((event_date >= (today() - 1)) AND (thread_id != master_thread_id), 'WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(0., 64)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery((event_date >= (today() - 1)) AND (thread_id != master_thread_id), 'WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(0., 64)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'event_date' in scope SELECT normalizeQuery((event_date >= (today() - 1)) AND (thread_id != master_thread_id), 'WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(0., 64)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 430 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(materialize(toDecimal128(0., 25)), 64)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 431 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(materialize(toDecimal128(0., 25)), 64)), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 432 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(materialize(toDecimal128(0., 25)), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(materialize(toDecimal128(0., 25)), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(materialize(toDecimal128(0., 25)), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 433 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(materialize(toDecimal128(0., 25)), toNullable(64))), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 434 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(materialize(toDecimal128(0., 25)), 64)), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 435 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(materialize(0., 25), 64)), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(materialize(0., 25), 64)), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(materialize(0., 25), 64)), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 436 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(toDecimal128(0., 25), 64)), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 437 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(0., 25, 64)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(0., 25, 64)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': 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 normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(0., 25, 64)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 17. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 438 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(toDecimal128(0., 25), 64)), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 439 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(0., 25, 64)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(0., 25, 64)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': 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 normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(0., 25, 64)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 17. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 440 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(toDecimal128(0., 25), 64)), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 441 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 442 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(toDecimal128(0., 25), 64)), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 443 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(toDecimal128(0., 25), 64)), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 444 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(0., 25, 64)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(0., 25, 64)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': 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 normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(0., 25, 64)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 17. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 445 out of 1000 EXPLAIN PIPELINE compact = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(toDecimal128(0., 25), 64)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, materialize(toDecimal256(toDecimal128(0., 25), 64)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 446 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 447 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 448 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., toLowCardinality(25))), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., toLowCardinality(25))), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': 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 normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., toLowCardinality(25))), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 449 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal128(0., 25), 64, * FROM test_nested_alias_idx__fuzz_48 PREWHERE thread_id SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal128(0., 25), 64, * FROM test_nested_alias_idx__fuzz_48 PREWHERE thread_id SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'thread_id' in scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal128(0., 25), 64, * FROM test_nested_alias_idx__fuzz_48 PREWHERE thread_id SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 450 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 451 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 452 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 453 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 454 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 455 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(0., 25, 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(0., 25, 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': 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 normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(0., 25, 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 456 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 457 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 458 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 459 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 460 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 461 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 462 out of 1000 SELECT normalizeQuery(materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26))), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery(materialize(toFixedString('WITH 01091 AS id SELECT 1;', 26))), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Cannot apply function normalizeQuery to fixed string.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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/normalizeQuery.cpp:50: DB::(anonymous namespace)::Impl::vectorFixed(DB::PODArray, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000aa8ad7b 5. /build/src/Functions/FunctionStringToString.h:0: DB::FunctionStringToString, DB::(anonymous namespace)::Impl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8a98e 6. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 7. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 8. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 9. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 10. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 11. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x0000000010fdf321 12. /build/src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block const&) const @ 0x0000000010fde334 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:10: DB::ExpressionTransform::transformHeader(DB::Block const&, DB::ActionsDAG const&) @ 0x0000000012fc8fd2 14. /build/src/Processors/QueryPlan/ExpressionStep.cpp:20: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, DB::ActionsDAG) @ 0x000000001315c174 15. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&) @ 0x00000000104d4d5a 16. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001166911c 17. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x000000001166358a 18. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 19. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 20. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 463 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 464 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_ex. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 465 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 466 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 467 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 468 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 469 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 470 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 471 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 472 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 473 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 474 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 475 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 476 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 477 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 478 out of 1000 EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_ex. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 479 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 480 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 481 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 482 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 483 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 484 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 485 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 486 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 487 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 489 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 490 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 491 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 492 out of 1000 EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_ex. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 493 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 494 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 495 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 496 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 497 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 498 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 499 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(64), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(64), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0': 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 normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(64), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 500 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 501 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 502 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 503 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 504 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_ex. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 505 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 506 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 507 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 508 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 509 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 510 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 511 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 512 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 513 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 514 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 515 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 516 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 517 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 518 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 519 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 520 out of 1000 EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_ex. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 521 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 522 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 523 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 524 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 525 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 526 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 527 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 528 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 529 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 530 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 531 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 532 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_ex. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 533 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_ex. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 534 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 535 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 536 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 537 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 538 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 539 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 540 out of 1000 EXPLAIN PIPELINE compact = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 541 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 542 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal256(toDecimal128(0., 25), 64), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 543 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, toDecimal128(0., 25), 64, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 544 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 545 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 546 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 547 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 548 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), 0., 25, materialize(64), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 549 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), 0., 25, materialize(64), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 550 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), 58, 0., 25, materialize(64), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 551 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), 58, 0., 25, materialize(64), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), 58, 0., 25, materialize(64), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 553 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 554 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 555 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 556 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 558 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 559 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 560 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 561 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 562 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 58, 0., toLowCardinality(25), 64, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 564 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 58, 0., toLowCardinality(25), 64, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 565 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 566 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 567 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 568 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_4 GROUP BY test_alias_skip_idx__fuzz_32, toUInt256(test_alias_skip_idx__fuzz_12, toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19)), toNullable(1091), toUInt128(22) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_4 GROUP BY test_alias_skip_idx__fuzz_32, toUInt256(test_alias_skip_idx__fuzz_12, toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19)), toNullable(1091), toUInt128(22) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_32' in scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_4 GROUP BY test_alias_skip_idx__fuzz_32, toUInt256(test_alias_skip_idx__fuzz_12, toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19)), toNullable(1091), toUInt128(22) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 569 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 570 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(materialize(12)), 58, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 571 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(materialize(12)), 0., toNullable(25), 64, * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(materialize(12)), 0., toNullable(toLowCardinality(25)), 64, * FROM test_nested_alias_idx__fuzz_4 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 573 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., toNullable(toLowCardinality(25)), 64, * FROM test_nested_alias_idx__fuzz_4 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 574 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., toNullable(toLowCardinality(25)), 64, * FROM test_nested_alias_idx__fuzz_4 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 575 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., toNullable(toLowCardinality(25)), 64, * FROM test_nested_alias_idx__fuzz_32 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., toNullable(toLowCardinality(25)), 64, * FROM test_nested_alias_idx__fuzz_32 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 577 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., toNullable(toLowCardinality(25)), 64, * FROM test_nested_alias_idx__fuzz_32 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 578 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., toNullable(toLowCardinality(25)), 64, * FROM test_nested_alias_idx__fuzz_32 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 579 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), event_date >= (today() - toNullable(1)), toLowCardinality(0.), toNullable(toLowCardinality(25)), 64, * FROM test_nested_alias_idx__fuzz_32 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), event_date >= (today() - toNullable(1)), toLowCardinality(0.), toNullable(toLowCardinality(25)), 64, * FROM test_nested_alias_idx__fuzz_32 WHERE 64 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'event_date' in scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), event_date >= (today() - toNullable(1)), toLowCardinality(0.), toNullable(toLowCardinality(25)), 64, * FROM test_nested_alias_idx__fuzz_32 WHERE 64 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 580 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., toNullable(toLowCardinality(25)), 64, * FROM test_nested_alias_idx__fuzz_35 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 581 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toNullable(toLowCardinality(25)), 64, * FROM test_nested_alias_idx__fuzz_4 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 582 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toNullable(toLowCardinality(25)), 64, * FROM test_nested_alias_idx__fuzz_4 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 583 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toNullable(toLowCardinality(25)), 64, * FROM test_nested_alias_idx__fuzz_4 WHERE 256 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toNullable(toLowCardinality(25)), 64, * FROM test_nested_alias_idx__fuzz_4 WHERE 256 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 584 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toNullable(toLowCardinality(25)), 64, * FROM test_nested_alias_idx__fuzz_6 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 585 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toNullable(toLowCardinality(toLowCardinality(25))), 64, * FROM test_nested_alias_idx__fuzz_36 PREWHERE normalizeQuery(19, toNullable('with 01091 as id select sum(number) from numbers_mt(1000000);')) WHERE 2 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toNullable(toLowCardinality(toLowCardinality(25))), 64, * FROM test_nested_alias_idx__fuzz_36 PREWHERE normalizeQuery(19, toNullable('with 01091 as id select sum(number) from numbers_mt(1000000);')) WHERE 2 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toNullable(toLowCardinality(toLowCardinality(25))), 64, * FROM test_nested_alias_idx__fuzz_36 PREWHERE normalizeQuery(19, toNullable('with 01091 as id select sum(number) from numbers_mt(1000000);')) WHERE 2 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 586 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toNullable(25), 64, * FROM test_nested_alias_idx__fuzz_6 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toNullable(25), 64, * FROM test_nested_alias_idx__fuzz_32 WHERE 64 SETTINGS query_plan_merge_expressions = 1023 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toNullable(25), 64, * FROM test_nested_alias_idx__fuzz_32 WHERE 64 SETTINGS query_plan_merge_expressions = 1023': Received from localhost:9000. DB::Exception: Field value 1023 is out of range of bool type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::Field const&, String&&) @ 0x0000000010bb38ab 4. /build/src/Core/SettingsFields.cpp:0: bool DB::(anonymous namespace)::fieldToNumber(DB::Field const&) @ 0x0000000010bada71 5. /build/src/Core/SettingsFields.h:38: DB::SettingFieldNumber::SettingFieldNumber(DB::Field const&) @ 0x0000000010bb2a6c 6. /build/src/Core/SettingsFields.h:45: DB::SettingsTraits::Accessor::instance()::$_0::operator()() const::'lambda1205'(DB::Field const&)::__invoke(DB::Field const&) @ 0x0000000010ad81d2 7. /build/src/Core/Settings.h:0: DB::BaseSettings::castValueUtil(std::basic_string_view>, DB::Field const&) @ 0x0000000010898059 8. /build/src/Access/SettingsConstraints.cpp:233: bool DB::getNewValueToCheck(DB::Settings const&, DB::SettingChange&, DB::Field&, bool) @ 0x00000000108971df 9. /build/src/Access/SettingsConstraints.cpp:285: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000010895ee2 10. /build/contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000010896153 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) @ 0x00000000110fd429 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSetQuery::executeForCurrentContext(bool) @ 0x00000000116b8503 13. /build/src/Interpreters/InterpreterSetQuery.h:14: DB::applySettingsFromSelectWithUnion(DB::ASTSelectWithUnionQuery const&, std::shared_ptr) @ 0x00000000116b8cd6 14. /build/src/Interpreters/InterpreterSetQuery.cpp:0: DB::InterpreterSetQuery::applySettingsFromQuery(std::shared_ptr const&, std::shared_ptr) @ 0x00000000116b8728 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSetQuery::applySettingsFromQuery(std::shared_ptr const&, std::shared_ptr) @ 0x00000000116b8a32 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011922b97 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 588 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_48 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 589 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_36 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 590 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_32 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 591 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_32 WHERE 9223372036854775806 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_32 WHERE 9223372036854775806 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 592 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_4 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 593 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_4 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 594 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_35 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 595 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_35 WHERE 257 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_35 WHERE 257 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 596 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_35 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 597 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_35 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 598 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_36 WHERE 64 GROUP BY normalizeQuery(test_alias_skip_idx__fuzz_44) = normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)), toUInt128(16) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_36 WHERE 64 GROUP BY normalizeQuery(test_alias_skip_idx__fuzz_44) = normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)), toUInt128(16) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_44' in scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_36 WHERE 64 GROUP BY normalizeQuery(test_alias_skip_idx__fuzz_44) = normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)), toUInt128(16) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 599 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_35 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 600 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_6 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 601 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_35 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 602 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_35 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 603 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_48 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_48 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 605 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_48 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 606 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_35 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 607 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_48 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 608 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_48 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 609 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_48 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 610 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_32 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 611 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_32 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 612 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_32 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 613 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, 64, * FROM test_nested_alias_idx__fuzz_35 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 614 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., 25, toLowCardinality(toNullable(64)), * FROM test_nested_alias_idx__fuzz_35 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., 25, toLowCardinality(toNullable(64)), * FROM test_nested_alias_idx__fuzz_36 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 616 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., 25, toLowCardinality(toNullable(64)), * FROM test_nested_alias_idx__fuzz_36 WHERE 64 SETTINGS query_plan_merge_expressions = 65536 Fuzzing step 617 out of 1000 EXPLAIN QUERY TREE dump_ast = true, passes = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., 25, toNullable(64), * FROM test_nested_alias_idx__fuzz_35 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN QUERY TREE dump_ast = true, passes = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., 25, toNullable(64), * FROM test_nested_alias_idx__fuzz_35 WHERE 64 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 618 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., 25, toLowCardinality(toNullable(22, 64)), * FROM test_nested_alias_idx__fuzz_36 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., 25, toLowCardinality(toNullable(22, 64)), * FROM test_nested_alias_idx__fuzz_36 WHERE 64 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., 25, toLowCardinality(toNullable(22, 64)), * FROM test_nested_alias_idx__fuzz_36 WHERE 64 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 619 out of 1000 EXPLAIN PIPELINE compact = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(materialize(12)), 0., toLowCardinality(25), toLowCardinality(toNullable(64)), * FROM test_nested_alias_idx__fuzz_36 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(materialize(12)), 0., toLowCardinality(25), toLowCardinality(toNullable(64)), * FROM test_nested_alias_idx__fuzz_36 WHERE 64 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 620 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., 25, toLowCardinality(toNullable(64)), * FROM test_nested_alias_idx__fuzz_36 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 621 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., toUInt256(25), toLowCardinality(64), * FROM test_nested_alias_idx__fuzz_36 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 622 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toUInt256(25), toLowCardinality(64), * FROM test_nested_alias_idx__fuzz_36 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 623 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, toLowCardinality(64), * FROM test_nested_alias_idx__fuzz_36 WHERE 256 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., 25, toLowCardinality(64), * FROM test_nested_alias_idx__fuzz_36 WHERE 256 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 624 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toUInt256(25), 64, * FROM test_nested_alias_idx__fuzz_6 WHERE -2 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toUInt256(25), 64, * FROM test_nested_alias_idx__fuzz_6 WHERE -2 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 625 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toUInt256(25), toLowCardinality(64), * FROM test_nested_alias_idx__fuzz_4 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 626 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toUInt256(25), toLowCardinality(64), * FROM test_nested_alias_idx__fuzz_36 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 627 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., toUInt256(toNullable(25)), toLowCardinality(64), * FROM test_nested_alias_idx__fuzz_36 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 628 out of 1000 SELECT normalizeQuery(test_alias_skip_idx__fuzz_44, 'WITH 01091 AS id SELECT 1;'), 12, 0., toUInt256(25), toLowCardinality(64), uniqExact(1, thread_id) > toNullable(2), * FROM test_nested_alias_idx__fuzz_4 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery(test_alias_skip_idx__fuzz_44, 'WITH 01091 AS id SELECT 1;'), 12, 0., toUInt256(25), toLowCardinality(64), uniqExact(1, thread_id) > toNullable(2), * FROM test_nested_alias_idx__fuzz_4 WHERE 64 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_44' in scope SELECT normalizeQuery(test_alias_skip_idx__fuzz_44, 'WITH 01091 AS id SELECT 1;'), 12, 0., toUInt256(25), toLowCardinality(64), uniqExact(1, thread_id) > toNullable(2), * FROM test_nested_alias_idx__fuzz_4 WHERE 64 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 629 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., toUInt256(toNullable(25)), toLowCardinality(64), * FROM test_nested_alias_idx__fuzz_6 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 630 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(12), 0., toUInt256(25), toLowCardinality(64), * FROM test_nested_alias_idx__fuzz_6 WHERE 64 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 631 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toUInt256(25), toLowCardinality(64), * FROM test_nested_alias_idx__fuzz_6 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 632 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toUInt256(25), toLowCardinality(64), * FROM test_nested_alias_idx__fuzz_36 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 633 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toUInt256(25), toLowCardinality(64), * FROM test_nested_alias_idx__fuzz_36 PREWHERE toFixedString(toLowCardinality(materialize('merge_expressions=0')), toLowCardinality(19)) WHERE 2 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toUInt256(25), toLowCardinality(64), * FROM test_nested_alias_idx__fuzz_36 PREWHERE toFixedString(toLowCardinality(materialize('merge_expressions=0')), toLowCardinality(19)) WHERE 2 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: LowCardinality(FixedString(19)). In query SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, 0., toUInt256(25), toLowCardinality(64), * FROM test_nested_alias_idx__fuzz_36 PREWHERE toFixedString(toLowCardinality(materialize('merge_expressions=0')), toLowCardinality(19)) WHERE 2 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 634 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 635 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_32 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 636 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 637 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 638 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 639 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 WHERE 65536 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 WHERE 65536 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 640 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 641 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 642 out of 1000 SELECT normalizeQuery(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 12, * FROM test_nested_alias_idx__fuzz_35 PREWHERE 2 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 12, * FROM test_nested_alias_idx__fuzz_35 PREWHERE 2 WHERE 2 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Cannot apply function normalizeQuery to fixed string.: In scope SELECT normalizeQuery(toFixedString('WITH 01091 AS id SELECT 1;', 26)), 12, * FROM test_nested_alias_idx__fuzz_35 PREWHERE 2 WHERE 2 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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/normalizeQuery.cpp:50: DB::(anonymous namespace)::Impl::vectorFixed(DB::PODArray, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000aa8ad7b 5. /build/src/Functions/FunctionStringToString.h:0: DB::FunctionStringToString, DB::(anonymous namespace)::Impl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8a98e 6. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 7. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 8. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 9. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69770 10. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c32 11. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 12. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 13. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 17. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 643 out of 1000 SELECT normalizeQuery(toFixedString(materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26), toFixedString('WITH 01091 AS id SELECT 1;', 26)), 12, * FROM test_nested_alias_idx__fuzz_35 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery(toFixedString(materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26), toFixedString('WITH 01091 AS id SELECT 1;', 26)), 12, * FROM test_nested_alias_idx__fuzz_35 WHERE 2 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope SELECT normalizeQuery(toFixedString(materialize(toNullable('WITH 01091 AS id SELECT 1;')), 26), toFixedString('WITH 01091 AS id SELECT 1;', 26)), 12, * FROM test_nested_alias_idx__fuzz_35 WHERE 2 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 644 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 645 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 646 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 647 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 648 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 649 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_35 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 651 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 652 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 WHERE 2 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 653 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 654 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 655 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 656 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 657 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 658 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 659 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 660 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 661 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toNullable(12)), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 662 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toNullable(12)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 663 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toNullable(toLowCardinality(toLowCardinality(19))), toNullable(12)), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toNullable(toLowCardinality(toLowCardinality(19))), toNullable(12)), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toNullable(toLowCardinality(toLowCardinality(19))), toNullable(12)), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 664 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toLowCardinality(materialize(19), 1091 AS id), toNullable(12)), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toLowCardinality(materialize(19), 1091 AS id), toNullable(12)), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toLowCardinality(materialize(19), 1091 AS id), toNullable(12)), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 665 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 666 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 667 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 668 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 669 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 670 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = NULL Fuzzing step 671 out of 1000 EXPLAIN PIPELINE header = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE header = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 672 out of 1000 SELECT normalizeQuery(19 >= (today() - toLowCardinality(toNullable(toNullable(1)))), 'WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery(19 >= (today() - toLowCardinality(toNullable(toNullable(1)))), 'WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Illegal types of arguments (UInt8, Date) of function greaterOrEquals: In scope SELECT normalizeQuery(19 >= (today() - toLowCardinality(toNullable(toNullable(1)))), 'WITH 01091 AS id SELECT 1;'), 12, * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x00000000070bacab 4. /build/src/Functions/FunctionsComparison.h:0: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008ecc8f4 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 6. /build/src/Functions/IFunction.cpp:486: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bf5b 7. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 8. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011063bcb 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 673 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 674 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 675 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 676 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 677 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(12), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(toLowCardinality(toUInt128(12))), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 679 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(toLowCardinality(toUInt128(12))), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 680 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(toLowCardinality(toUInt128(12))), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 681 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(toLowCardinality(toUInt128(12))), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 682 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(toLowCardinality(toUInt128(12))), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 2147483648 Fuzzing step 683 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toNullable(toLowCardinality(toUInt128(12))), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 684 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toUInt128(12)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 685 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toUInt128(12)), toNullable(materialize('WITH 01091 AS id SELECT 1;'), 26), * FROM test_nested_alias_idx__fuzz_35 GROUP BY today() - materialize(1), toLowCardinality(toNullable(19)) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toUInt128(12)), toNullable(materialize('WITH 01091 AS id SELECT 1;'), 26), * FROM test_nested_alias_idx__fuzz_35 GROUP BY today() - materialize(1), toLowCardinality(toNullable(19)) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toUInt128(12)), toNullable(materialize('WITH 01091 AS id SELECT 1;'), 26), * FROM test_nested_alias_idx__fuzz_35 GROUP BY today() - materialize(1), toLowCardinality(toNullable(19)) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 686 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toUInt128(12)), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 687 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toUInt128(12)), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 688 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toUInt128(12)), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 689 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toUInt128(12)), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 690 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toUInt128(12)), * FROM test_nested_alias_idx__fuzz_48 GROUP BY test_nested_alias_idx__fuzz_20 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toUInt128(12)), * FROM test_nested_alias_idx__fuzz_48 GROUP BY test_nested_alias_idx__fuzz_20 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_20' in scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toUInt128(12)), * FROM test_nested_alias_idx__fuzz_48 GROUP BY test_nested_alias_idx__fuzz_20 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 691 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toUInt128(12)), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 692 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toUInt128(12)), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 693 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toUInt128(12)), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 694 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), toLowCardinality(toUInt128(12)), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 695 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 696 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 697 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 698 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 699 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 700 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 701 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 702 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 703 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 704 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 705 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 GROUP BY toNullable(toUInt256(19), 19), materialize(materialize(toLowCardinality(19))), materialize(100), toLowCardinality(toNullable(toLowCardinality(19), 100, 1091 AS id), toLowCardinality(toUInt256(2))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 GROUP BY toNullable(toUInt256(19), 19), materialize(materialize(toLowCardinality(19))), materialize(100), toLowCardinality(toNullable(toLowCardinality(19), 100, 1091 AS id), toLowCardinality(toUInt256(2))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 GROUP BY toNullable(toUInt256(19), 19), materialize(materialize(toLowCardinality(19))), materialize(100), toLowCardinality(toNullable(toLowCardinality(19), 100, 1091 AS id), toLowCardinality(toUInt256(2))) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 706 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 707 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 708 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 709 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 710 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 711 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 712 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 713 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 714 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 715 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 716 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 717 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 GROUP BY toNullable(toUInt128(100)), today(currentDatabase(toLowCardinality(2147483647))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 GROUP BY toNullable(toUInt128(100)), today(currentDatabase(toLowCardinality(2147483647))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 GROUP BY toNullable(toUInt128(100)), today(currentDatabase(toLowCardinality(2147483647))) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 718 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 719 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 720 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 721 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 722 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 723 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 724 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 725 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 726 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 727 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 728 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 729 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 730 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 731 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 732 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 733 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 734 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 735 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 736 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 737 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 738 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 739 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 740 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 741 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 742 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 743 out of 1000 EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 744 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 745 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 746 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 747 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 748 out of 1000 EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 749 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 750 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 751 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 752 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 753 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 754 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 755 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 756 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 757 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 758 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 759 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 760 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 761 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 762 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 763 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 764 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 765 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 766 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 767 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 768 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 769 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 770 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 771 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 772 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 773 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 774 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 775 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 776 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 777 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 778 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 779 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 780 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 781 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 782 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 783 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 784 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 785 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 786 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 PREWHERE normalizeQuery(toNullable(19), toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 PREWHERE normalizeQuery(toNullable(19), toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 PREWHERE normalizeQuery(toNullable(19), toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 787 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 WHERE toLowCardinality(test_alias_skip_idx__fuzz_2, toUInt128(materialize(19))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 WHERE toLowCardinality(test_alias_skip_idx__fuzz_2, toUInt128(materialize(19))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_2' in scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 WHERE toLowCardinality(test_alias_skip_idx__fuzz_2, toUInt128(materialize(19))) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 788 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 789 out of 1000 SELECT test_alias_skip_idx__fuzz_28, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT test_alias_skip_idx__fuzz_28, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_28' in scope SELECT test_alias_skip_idx__fuzz_28, normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 790 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 791 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_4 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 792 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 793 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_4 PREWHERE toUInt128(materialize(toUInt256(toUInt128(19)), materialize(12))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_4 PREWHERE toUInt128(materialize(toUInt256(toUInt128(19)), materialize(12))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_4 PREWHERE toUInt128(materialize(toUInt256(toUInt128(19)), materialize(12))) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 794 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 795 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 796 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 797 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 PREWHERE uniqExact(thread_id) IGNORE NULLS > materialize(2) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 PREWHERE uniqExact(thread_id) IGNORE NULLS > materialize(2) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 PREWHERE uniqExact(thread_id) IGNORE NULLS > materialize(2) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 798 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_36 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 799 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 801 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 802 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 803 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 GROUP BY toDecimal32(0., 2), toFixedString('enable_optimizations=0', 22), normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)), (current_database = currentDatabase()) AND (toUInt256(toUInt128(19)) >= (today() - toUInt128(1))) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 GROUP BY toDecimal32(0., 2), toFixedString('enable_optimizations=0', 22), normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)), (current_database = currentDatabase()) AND (toUInt256(toUInt128(19)) >= (today() - toUInt128(1))) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Cannot apply function normalizeQuery to fixed string.: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 GROUP BY toDecimal32(0., 2), toFixedString('enable_optimizations=0', 22), normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)), (current_database = currentDatabase()) AND (toUInt256(toUInt128(19)) >= (today() - toUInt128(1))) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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/normalizeQuery.cpp:50: DB::(anonymous namespace)::Impl::vectorFixed(DB::PODArray, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000aa8ad7b 5. /build/src/Functions/FunctionStringToString.h:0: DB::FunctionStringToString, DB::(anonymous namespace)::Impl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8a98e 6. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 7. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 8. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 9. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69770 10. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c32 11. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 12. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 13. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 804 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 805 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 806 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 807 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 808 out of 1000 EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 809 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 810 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 811 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 812 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 813 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 814 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 815 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 816 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 817 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 818 out of 1000 EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 819 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 820 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 821 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 822 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 823 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 824 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 825 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 826 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 827 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 828 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 829 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 830 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 831 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 832 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 833 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 834 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 835 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 836 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 837 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_36 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 838 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_4 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 839 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 840 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 841 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 842 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 843 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 844 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 845 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 846 out of 1000 EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 847 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 848 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 849 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 850 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 851 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 852 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 853 out of 1000 EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 854 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 855 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 856 out of 1000 EXPLAIN PIPELINE compact = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 857 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 858 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 859 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 860 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 861 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_36 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 862 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 PREWHERE toLowCardinality(26) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 863 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 PREWHERE toLowCardinality(26) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 864 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 PREWHERE toLowCardinality(26) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 865 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 PREWHERE toLowCardinality(26) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = -9223372036854775808 Fuzzing step 866 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(26) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 867 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(26) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 868 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(26) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 869 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 870 out of 1000 SELECT normalizeQuery(toFixedString('WITH 01091 AS id SELECT 1;', 26)), * FROM test_nested_alias_idx__fuzz_6 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery(toFixedString('WITH 01091 AS id SELECT 1;', 26)), * FROM test_nested_alias_idx__fuzz_6 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Cannot apply function normalizeQuery to fixed string.: In scope SELECT normalizeQuery(toFixedString('WITH 01091 AS id SELECT 1;', 26)), * FROM test_nested_alias_idx__fuzz_6 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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/normalizeQuery.cpp:50: DB::(anonymous namespace)::Impl::vectorFixed(DB::PODArray, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000aa8ad7b 5. /build/src/Functions/FunctionStringToString.h:0: DB::FunctionStringToString, DB::(anonymous namespace)::Impl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8a98e 6. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 7. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 8. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 9. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69770 10. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c32 11. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 12. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 13. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 17. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 871 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 872 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 873 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 874 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 PREWHERE toLowCardinality(toNullable((current_database = currentDatabase()) AND (toUInt256(19) >= (today() - toUInt128(1))), 26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 PREWHERE toLowCardinality(toNullable((current_database = currentDatabase()) AND (toUInt256(19) >= (today() - toUInt128(1))), 26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 PREWHERE toLowCardinality(toNullable((current_database = currentDatabase()) AND (toUInt256(19) >= (today() - toUInt128(1))), 26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 875 out of 1000 EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTING. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 876 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 877 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 878 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 879 out of 1000 EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTING. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 880 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 881 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 882 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 883 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 884 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 885 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 886 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 887 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 888 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 889 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 890 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 891 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 892 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 893 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 894 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 895 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 896 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 897 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 898 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 899 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 900 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 901 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 902 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 903 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 904 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 905 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 906 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 907 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 908 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 909 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 910 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 911 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 912 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTING. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 913 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 914 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 915 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 916 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 917 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 918 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 919 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 920 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 921 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 922 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 923 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 924 out of 1000 EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTING. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 925 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 926 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 927 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 928 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTING. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 929 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 930 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 931 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTING. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 932 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 933 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 934 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 935 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 936 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 937 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 938 out of 1000 EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTING. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 939 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 940 out of 1000 EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTING. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 941 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 942 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 943 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 PREWHERE toLowCardinality(toNullable(toNullable(toUInt128(26)))) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 PREWHERE toLowCardinality(toNullable(toNullable(toUInt128(26)))) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt128) of column 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a563d 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 944 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 945 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 946 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 947 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 948 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 949 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 950 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 PREWHERE toLowCardinality(materialize(toDecimal128(0., 25)), toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 PREWHERE toLowCardinality(materialize(toDecimal128(0., 25)), toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 PREWHERE toLowCardinality(materialize(toDecimal128(0., 25)), toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 951 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 952 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 953 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 954 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTING. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 955 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 956 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 957 out of 1000 EXPLAIN ESTIMATE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 958 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 959 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 960 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 961 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 962 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 963 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 964 out of 1000 EXPLAIN AST SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 965 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_36 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 966 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 967 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 968 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 PREWHERE toLowCardinality(toNullable(26)) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 969 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 PREWHERE toLowCardinality(toNullable(materialize(toLowCardinality(26)))) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 970 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 PREWHERE toLowCardinality(toNullable(materialize(toLowCardinality(26)))) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 971 out of 1000 SELECT normalizeQuery(toUInt128(toUInt256(19), toUInt256(19), 19), 'WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_4 PREWHERE toLowCardinality(materialize(26), toNullable(materialize(toLowCardinality(toLowCardinality(toNullable(toUInt128(12))), 26)))) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery(toUInt128(toUInt256(19), toUInt256(19), 19), 'WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_4 PREWHERE toLowCardinality(materialize(26), toNullable(materialize(toLowCardinality(toLowCardinality(toNullable(toUInt128(12))), 26)))) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt128'. Expected 1 argument, got 3 arguments: In scope SELECT normalizeQuery(toUInt128(toUInt256(19), toUInt256(19), 19), 'WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_4 PREWHERE toLowCardinality(materialize(26), toNullable(materialize(toLowCardinality(toLowCardinality(toNullable(toUInt128(12))), 26)))) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 17. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 972 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 PREWHERE toLowCardinality(toUInt128(materialize(toNullable(100))), materialize(toLowCardinality(26))) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 PREWHERE toLowCardinality(toUInt128(materialize(toNullable(100))), materialize(toLowCardinality(26))) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_6 PREWHERE toLowCardinality(toUInt128(materialize(toNullable(100))), materialize(toLowCardinality(26))) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 973 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 PREWHERE toLowCardinality(toNullable(materialize(toLowCardinality(26)))) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 974 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 PREWHERE toLowCardinality(materialize(toLowCardinality(26))) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 975 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(materialize(toLowCardinality(26))) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_35 PREWHERE toLowCardinality(materialize(toLowCardinality(26))) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 976 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_48 PREWHERE toLowCardinality(materialize(toLowCardinality(26))) WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 977 out of 1000 SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_4 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 978 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 979 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 980 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 981 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 982 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 983 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 984 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 985 out of 1000 EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 986 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 987 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('normalizeQuery'): normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 988 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 989 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 990 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 991 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 992 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 993 out of 1000 EXPLAIN PIPELINE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 994 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 995 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 996 out of 1000 EXPLAIN SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 997 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Query succeeded, using this AST as a start Fuzzing step 998 out of 1000 EXPLAIN SYNTAX SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 Got boring AST Fuzzing step 999 out of 1000 EXPLAIN QUERY TREE SELECT normalizeQuery('WITH 01091 AS id SELECT 1;'), * FROM test_nested_alias_idx__fuzz_32 WHERE toLowCardinality(26) SETTINGS query_plan_merge_expressions = 0 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 'default_settings' Got boring AST Fuzzing step 2 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 3 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 4 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 5 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 6 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 7 out of 1000 EXPLAIN PIPELINE header = true, compact = true SELECT 'default_settings' Error on processing query 'EXPLAIN PIPELINE header = true, compact = true SELECT 'default_settings'': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 8 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 9 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 10 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 11 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 12 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 13 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 14 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 15 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 16 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 17 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 18 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 19 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 20 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 21 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 22 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 23 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 24 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 25 out of 1000 EXPLAIN actions = true, sorting = true SELECT 'default_settings' Error on processing query 'EXPLAIN actions = true, sorting = true SELECT 'default_settings'': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "actions" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 26 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 27 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 28 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 29 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT 'default_settings' Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT 'default_settings'': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 30 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 31 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 32 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 33 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 34 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 35 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 36 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 37 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 38 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 39 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 40 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 41 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 42 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 43 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 44 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 45 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 46 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 47 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 48 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' Got boring AST Fuzzing step 49 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'default_settings' Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'default_settings'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 (''default_settings''): 'default_settings'. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 50 out of 1000 SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 51 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 52 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 53 out of 1000 EXPLAIN SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 54 out of 1000 EXPLAIN SELECT 'default_settings' Got boring AST Fuzzing step 55 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 56 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings' Got boring AST Fuzzing step 57 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings' Got boring AST Fuzzing step 58 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 59 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Got boring AST Fuzzing step 60 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Got boring AST Fuzzing step 61 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Got boring AST Fuzzing step 62 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Got boring AST Fuzzing step 63 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Got boring AST Fuzzing step 64 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Got boring AST Fuzzing step 65 out of 1000 EXPLAIN SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 66 out of 1000 EXPLAIN SELECT 'default_settings' Got boring AST Fuzzing step 67 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'default_settings' Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'default_settings'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 (''default_settings''): 'default_settings'. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 68 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 69 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 70 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Got boring AST Fuzzing step 71 out of 1000 EXPLAIN AST SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 72 out of 1000 EXPLAIN AST SELECT 'default_settings' Got boring AST Fuzzing step 73 out of 1000 EXPLAIN AST SELECT 'default_settings' Got boring AST Fuzzing step 74 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 75 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 76 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Got boring AST Fuzzing step 77 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 78 out of 1000 EXPLAIN AST SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 79 out of 1000 EXPLAIN AST SELECT 'default_settings' Got boring AST Fuzzing step 80 out of 1000 EXPLAIN AST SELECT 'default_settings' Got boring AST Fuzzing step 81 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'default_settings' Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'default_settings'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 (''default_settings''): 'default_settings'. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 82 out of 1000 EXPLAIN AST SELECT 'default_settings' Got boring AST Fuzzing step 83 out of 1000 EXPLAIN AST SELECT 'default_settings' Got boring AST Fuzzing step 84 out of 1000 EXPLAIN AST SELECT 'default_settings' Got boring AST Fuzzing step 85 out of 1000 EXPLAIN SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 86 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 87 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Got boring AST Fuzzing step 88 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 89 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 90 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'default_settings' Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'default_settings'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 (''default_settings''): 'default_settings'. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 91 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' Got boring AST Fuzzing step 92 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'default_settings' Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'default_settings'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 (''default_settings''): 'default_settings'. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 94 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Got boring AST Fuzzing step 95 out of 1000 EXPLAIN AST SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 96 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 97 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'default_settings' Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'default_settings'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 (''default_settings''): 'default_settings'. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 98 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings' Got boring AST Fuzzing step 99 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings' Got boring AST Fuzzing step 100 out of 1000 SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 101 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 102 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 103 out of 1000 SELECT 'default_settings' WHERE normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)) Error on processing query 'SELECT 'default_settings' WHERE normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT 'default_settings' WHERE normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19, toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', 61)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 104 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' GROUP BY materialize(toFixedString('default_settings', 16)), toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;') Error on processing query 'EXPLAIN ESTIMATE SELECT 'default_settings' GROUP BY materialize(toFixedString('default_settings', 16)), toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;')': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT 'default_settings' GROUP BY materialize(toFixedString('default_settings', 16)), toLowCardinality(greater(toLowCardinality(100), a2, toLowCardinality(100)), 'WITH 01091 AS id SELECT 1;'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 20. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 21. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 105 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 106 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 107 out of 1000 SELECT 'default_settings' GROUP BY materialize(toNullable(toUInt256(16, toLowCardinality(toLowCardinality(toUInt256(2)))))), toLowCardinality(19), equals(1048575, current_database, currentDatabase(toUInt256(toLowCardinality(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), toLowCardinality(toUInt256(2)))))) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19)) AND greaterOrEquals(minus(toUInt128(toUInt128(1091)), today(), 1)), toUInt128(toUInt128(toLowCardinality(12))) Error on processing query 'SELECT 'default_settings' GROUP BY materialize(toNullable(toUInt256(16, toLowCardinality(toLowCardinality(toUInt256(2)))))), toLowCardinality(19), equals(1048575, current_database, currentDatabase(toUInt256(toLowCardinality(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), toLowCardinality(toUInt256(2)))))) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19)) AND greaterOrEquals(minus(toUInt128(toUInt128(1091)), today(), 1)), toUInt128(toUInt128(toLowCardinality(12)))': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt256'. Expected 1 argument, got 2 arguments: In scope SELECT 'default_settings' GROUP BY materialize(toNullable(toUInt256(16, toLowCardinality(toLowCardinality(toUInt256(2)))))), toLowCardinality(19), equals(1048575, current_database, currentDatabase(toUInt256(toLowCardinality(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), toLowCardinality(toUInt256(2)))))) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, 19)) AND greaterOrEquals(minus(toUInt128(toUInt128(1091)), today(), 1)), toUInt128(toUInt128(toLowCardinality(12))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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)::NameToUInt256, 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&) @ 0x00000000071719f8 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x000000000716b91b 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 108 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 109 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 110 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 111 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 112 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 113 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 114 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 115 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 116 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 117 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 118 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 119 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 120 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 121 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 122 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 123 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 124 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 125 out of 1000 EXPLAIN AST SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 126 out of 1000 EXPLAIN AST SELECT 'default_settings' Got boring AST Fuzzing step 127 out of 1000 EXPLAIN AST SELECT 'default_settings' Got boring AST Fuzzing step 128 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 129 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' Got boring AST Fuzzing step 130 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' Got boring AST Fuzzing step 131 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' Got boring AST Fuzzing step 132 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' Got boring AST Fuzzing step 133 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' Got boring AST Fuzzing step 134 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' Got boring AST Fuzzing step 135 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' Got boring AST Fuzzing step 136 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 137 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Got boring AST Fuzzing step 138 out of 1000 EXPLAIN SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 EXPLAIN AST SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 140 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 141 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' Got boring AST Fuzzing step 142 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' Got boring AST Fuzzing step 143 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' Got boring AST Fuzzing step 144 out of 1000 SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 145 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 146 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 147 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 148 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 149 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 150 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 151 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 152 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 153 out of 1000 SELECT 'default_settings' GROUP BY 16 Error on processing query 'SELECT 'default_settings' GROUP BY 16': Received from localhost:9000. DB::Exception: Positional argument number 16 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 16. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 154 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 155 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 156 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 157 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 158 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 159 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 160 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 161 out of 1000 SELECT materialize('default_settings') Query succeeded, using this AST as a start Fuzzing step 162 out of 1000 SELECT materialize('default_settings') Got boring AST Fuzzing step 163 out of 1000 SELECT materialize('default_settings') Got boring AST Fuzzing step 164 out of 1000 SELECT materialize('default_settings') Got boring AST Fuzzing step 165 out of 1000 SELECT materialize('default_settings') Got boring AST Fuzzing step 166 out of 1000 SELECT materialize('default_settings') Got boring AST Fuzzing step 167 out of 1000 SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 168 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 169 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 170 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 171 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 172 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 173 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 174 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 175 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 176 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 177 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 178 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 179 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 180 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 181 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 182 out of 1000 SELECT 'default_settings' PREWHERE equals(materialize(toNullable(toNullable(toUInt256(100)))), 19, current_database, currentDatabase()) Error on processing query 'SELECT 'default_settings' PREWHERE equals(materialize(toNullable(toNullable(toUInt256(100)))), 19, current_database, currentDatabase())': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT 'default_settings' PREWHERE equals(materialize(toNullable(toNullable(toUInt256(100)))), 19, current_database, currentDatabase()). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 183 out of 1000 SELECT 'default_settings' WHERE toNullable(materialize(12)) Query succeeded, using this AST as a start Fuzzing step 184 out of 1000 SELECT 'default_settings' WHERE toNullable(materialize(12)) Got boring AST Fuzzing step 185 out of 1000 SELECT 'default_settings' WHERE toNullable(materialize(12)) Got boring AST Fuzzing step 186 out of 1000 SELECT toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), 'default_settings' WHERE toNullable(materialize(12)) Error on processing query 'SELECT toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), 'default_settings' WHERE toNullable(materialize(12))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 3, should be 1: In scope SELECT toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), 'default_settings' WHERE toNullable(materialize(12)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 187 out of 1000 SELECT 'default_settings' WHERE toNullable(materialize(12)) Got boring AST Fuzzing step 188 out of 1000 SELECT 'default_settings' WHERE toNullable(materialize(12)) Got boring AST Fuzzing step 189 out of 1000 SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 190 out of 1000 EXPLAIN indexes = true SELECT 'default_settings' Error on processing query 'EXPLAIN indexes = true SELECT 'default_settings'': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 191 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 192 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 193 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 194 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 195 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 196 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 197 out of 1000 SELECT 'default_settings' WHERE test_alias_skip_idx__fuzz_2 GROUP BY materialize(materialize(100)), toDecimal32(0., 2), equals(1048575, current_database, currentDatabase()) Error on processing query 'SELECT 'default_settings' WHERE test_alias_skip_idx__fuzz_2 GROUP BY materialize(materialize(100)), toDecimal32(0., 2), equals(1048575, current_database, currentDatabase())': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_2' in scope SELECT 'default_settings' WHERE test_alias_skip_idx__fuzz_2 GROUP BY materialize(materialize(100)), toDecimal32(0., 2), equals(1048575, current_database, currentDatabase()). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 198 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 199 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 200 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 201 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 202 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 203 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 204 out of 1000 SELECT 'default_settings' WHERE minus(today()) Error on processing query 'SELECT 'default_settings' WHERE minus(today())': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope SELECT 'default_settings' WHERE minus(today()). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 205 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 206 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 207 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 208 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 209 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 210 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 211 out of 1000 SELECT materialize('default_settings') Query succeeded, using this AST as a start Fuzzing step 212 out of 1000 SELECT materialize('default_settings') Got boring AST Fuzzing step 213 out of 1000 SELECT materialize('default_settings') Got boring AST Fuzzing step 214 out of 1000 SELECT materialize('default_settings') Got boring AST Fuzzing step 215 out of 1000 SELECT materialize('default_settings') Got boring AST Fuzzing step 216 out of 1000 SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 217 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 218 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 219 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 220 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 221 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 222 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 223 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 224 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 225 out of 1000 EXPLAIN PIPELINE header = true SELECT 'default_settings' Error on processing query 'EXPLAIN PIPELINE header = true SELECT 'default_settings'': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 226 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 227 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 228 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 229 out of 1000 SELECT 'default_settings' WHERE toUInt256(toNullable(1091)) Error on processing query 'SELECT 'default_settings' WHERE toUInt256(toNullable(1091))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 230 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 231 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 232 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 233 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 234 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 235 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 236 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 237 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(materialize(16)) Query succeeded, using this AST as a start Fuzzing step 238 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 239 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 240 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 241 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 242 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 243 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 244 out of 1000 EXPLAIN AST SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 245 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'default_settings' WHERE toLowCardinality(16) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'default_settings' WHERE toLowCardinality(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 (''default_settings''): 'default_settings' WHERE toLowCardinality(16). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 246 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'default_settings' WHERE toLowCardinality(16) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'default_settings' WHERE toLowCardinality(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 (''default_settings''): 'default_settings' WHERE toLowCardinality(16). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 247 out of 1000 EXPLAIN AST SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 248 out of 1000 EXPLAIN AST SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 249 out of 1000 EXPLAIN SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 250 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'default_settings' WHERE toLowCardinality(16) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'default_settings' WHERE toLowCardinality(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 (''default_settings''): 'default_settings' WHERE toLowCardinality(16). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 251 out of 1000 EXPLAIN SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 252 out of 1000 EXPLAIN SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 253 out of 1000 EXPLAIN SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 254 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 255 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 256 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 257 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 258 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'default_settings' WHERE toLowCardinality(16) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'default_settings' WHERE toLowCardinality(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''default_settings''): 'default_settings' WHERE toLowCardinality(16). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 259 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'default_settings' WHERE toLowCardinality(16) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'default_settings' WHERE toLowCardinality(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''default_settings''): 'default_settings' WHERE toLowCardinality(16). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 261 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 262 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 263 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'default_settings' WHERE toLowCardinality(16) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'default_settings' WHERE toLowCardinality(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 (''default_settings''): 'default_settings' WHERE toLowCardinality(16). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 264 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 265 out of 1000 EXPLAIN AST SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 266 out of 1000 EXPLAIN AST SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 267 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 268 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 269 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'default_settings' WHERE toLowCardinality(16) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'default_settings' WHERE toLowCardinality(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''default_settings''): 'default_settings' WHERE toLowCardinality(16). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 270 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 271 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 272 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 273 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 274 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 275 out of 1000 EXPLAIN AST SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 276 out of 1000 EXPLAIN AST SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 277 out of 1000 EXPLAIN AST SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 278 out of 1000 EXPLAIN AST SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 279 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 280 out of 1000 EXPLAIN AST SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 281 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 282 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 283 out of 1000 EXPLAIN SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 284 out of 1000 EXPLAIN SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 285 out of 1000 EXPLAIN AST SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 286 out of 1000 EXPLAIN AST SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 287 out of 1000 EXPLAIN AST SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 288 out of 1000 EXPLAIN AST SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 289 out of 1000 EXPLAIN SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 290 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 291 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 292 out of 1000 EXPLAIN SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 293 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 294 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 295 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 296 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 297 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 298 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 299 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 300 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 301 out of 1000 EXPLAIN PIPELINE header = true SELECT 'default_settings' WHERE toLowCardinality(16) Error on processing query 'EXPLAIN PIPELINE header = true SELECT 'default_settings' WHERE toLowCardinality(16)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 302 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 303 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 304 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 305 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 306 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 307 out of 1000 EXPLAIN QUERY TREE SELECT uniqExact(toFixedString(toNullable('merge_expressions=0'), 19), thread_id) > 2, 'default_settings' WHERE toLowCardinality(16) Error on processing query 'EXPLAIN QUERY TREE SELECT uniqExact(toFixedString(toNullable('merge_expressions=0'), 19), thread_id) > 2, 'default_settings' WHERE toLowCardinality(16)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT uniqExact(toFixedString(toNullable('merge_expressions=0'), 19), thread_id) > 2, 'default_settings' WHERE toLowCardinality(16). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 18. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 19. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 308 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 309 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 310 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 311 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 312 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 313 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 314 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 315 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 316 out of 1000 SELECT 'default_settings' PREWHERE toLowCardinality(16) Error on processing query 'SELECT 'default_settings' PREWHERE toLowCardinality(16)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 317 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 318 out of 1000 EXPLAIN PIPELINE compact = true SELECT 'default_settings' WHERE toLowCardinality(16) Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 'default_settings' WHERE toLowCardinality(16)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 319 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 320 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) GROUP BY toNullable(toUInt128(19)), greater(100), toUInt128(equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, toLowCardinality(greater(toLowCardinality(100), a2, 100), 'WITH 01091 AS id SELECT 1;'), 19)) AND greaterOrEquals(today() - 1), toLowCardinality(toNullable(toLowCardinality(1), 1091))) Error on processing query 'SELECT 'default_settings' WHERE toLowCardinality(16) GROUP BY toNullable(toUInt128(19)), greater(100), toUInt128(equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, toLowCardinality(greater(toLowCardinality(100), a2, 100), 'WITH 01091 AS id SELECT 1;'), 19)) AND greaterOrEquals(today() - 1), toLowCardinality(toNullable(toLowCardinality(1), 1091)))': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT 'default_settings' WHERE toLowCardinality(16) GROUP BY toNullable(toUInt128(19)), greater(100), toUInt128(equals(1048575, current_database, currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(sum(number) IGNORE NULLS, toLowCardinality(greater(toLowCardinality(100), a2, 100), 'WITH 01091 AS id SELECT 1;'), 19)) AND greaterOrEquals(today() - 1), toLowCardinality(toNullable(toLowCardinality(1), 1091))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 321 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(materialize(16)) Query succeeded, using this AST as a start Fuzzing step 322 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 323 out of 1000 SELECT toUInt128(materialize(toNullable(toUInt256(18)))), 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 324 out of 1000 SELECT toUInt128(toNullable(toUInt256(18))), 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 326 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 327 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 328 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 329 out of 1000 EXPLAIN QUERY TREE dump_passes = true, dump_ast = true SELECT 'default_settings' WHERE toLowCardinality(16) Error on processing query 'EXPLAIN QUERY TREE dump_passes = true, dump_ast = true SELECT 'default_settings' WHERE toLowCardinality(16)': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 330 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 331 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(materialize(16)) Query succeeded, using this AST as a start Fuzzing step 332 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(materialize(test_alias_skip_idx__fuzz_41, 16)) Error on processing query 'SELECT 'default_settings' WHERE toLowCardinality(materialize(test_alias_skip_idx__fuzz_41, 16))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_41' in scope SELECT 'default_settings' WHERE toLowCardinality(materialize(test_alias_skip_idx__fuzz_41, 16)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 333 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(materialize(16)) Got boring AST Fuzzing step 334 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(materialize(materialize(toUInt128(16)))) Error on processing query 'SELECT 'default_settings' WHERE toLowCardinality(materialize(materialize(toUInt128(16))))': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt128) of column toLowCardinality(materialize(materialize(_CAST('16'_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x0000000012fcc497 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001316d043 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&) @ 0x000000001163a878 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>>&) @ 0x0000000011668f69 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662c15 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 10. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 11. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 335 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(materialize(16)) Got boring AST Fuzzing step 336 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(materialize(16)) Got boring AST Fuzzing step 337 out of 1000 SELECT 'default_settings' PREWHERE toLowCardinality(materialize(16)) WHERE toLowCardinality(materialize(16)) Error on processing query 'SELECT 'default_settings' PREWHERE toLowCardinality(materialize(16)) WHERE toLowCardinality(materialize(16))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 338 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(materialize(16)) Got boring AST Fuzzing step 339 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 340 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 341 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 342 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 343 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' PREWHERE toLowCardinality(16) Error on processing query 'EXPLAIN ESTIMATE SELECT 'default_settings' PREWHERE toLowCardinality(16)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001165cc8d 8. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d9ee 9. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 10. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 344 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 345 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 346 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 347 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 348 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'default_settings' WHERE toLowCardinality(16) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'default_settings' WHERE toLowCardinality(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 (''default_settings''): 'default_settings' WHERE toLowCardinality(16). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 349 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 350 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 351 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 352 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'default_settings' WHERE toLowCardinality(16) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'default_settings' WHERE toLowCardinality(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 (''default_settings''): 'default_settings' WHERE toLowCardinality(16). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 353 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 354 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 355 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 356 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 357 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 358 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 359 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 360 out of 1000 EXPLAIN SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 361 out of 1000 EXPLAIN SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 362 out of 1000 EXPLAIN SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 363 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'default_settings' WHERE toLowCardinality(16) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'default_settings' WHERE toLowCardinality(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''default_settings''): 'default_settings' WHERE toLowCardinality(16). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 364 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 365 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 366 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 367 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'default_settings' WHERE toLowCardinality(16) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'default_settings' WHERE toLowCardinality(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''default_settings''): 'default_settings' WHERE toLowCardinality(16). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 368 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 369 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 370 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 372 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 373 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'default_settings' WHERE toLowCardinality(16) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'default_settings' WHERE toLowCardinality(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 (''default_settings''): 'default_settings' WHERE toLowCardinality(16). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 374 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'default_settings' WHERE toLowCardinality(16) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'default_settings' WHERE toLowCardinality(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 (''default_settings''): 'default_settings' WHERE toLowCardinality(16). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 376 out of 1000 EXPLAIN SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 EXPLAIN AST SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 379 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Query succeeded, using this AST as a start Fuzzing step 380 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 381 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 382 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 383 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 384 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(16) Got boring AST Fuzzing step 385 out of 1000 SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 386 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 387 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 388 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 389 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 390 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 391 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 392 out of 1000 SELECT 'default_settings' PREWHERE test_alias_skip_idx__fuzz_29 Error on processing query 'SELECT 'default_settings' PREWHERE test_alias_skip_idx__fuzz_29': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_29' in scope SELECT 'default_settings' PREWHERE test_alias_skip_idx__fuzz_29. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 393 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 394 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 395 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 396 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 397 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 398 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 399 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 400 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 401 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 402 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' Got boring AST Fuzzing step 404 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' Got boring AST Fuzzing step 405 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' Got boring AST Fuzzing step 406 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' Got boring AST Fuzzing step 407 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' Got boring AST Fuzzing step 408 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' Got boring AST Fuzzing step 409 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' Got boring AST Fuzzing step 410 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'default_settings' Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'default_settings'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 (''default_settings''): 'default_settings'. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 411 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' Got boring AST Fuzzing step 412 out of 1000 SELECT 'default_settings' Query succeeded, using this AST as a start Fuzzing step 413 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 414 out of 1000 SELECT 'default_settings' Got boring AST Fuzzing step 415 out of 1000 SELECT toLowCardinality('default_settings') Query succeeded, using this AST as a start Fuzzing step 416 out of 1000 SELECT toLowCardinality('default_settings') Got boring AST Fuzzing step 417 out of 1000 SELECT toLowCardinality('default_settings') GROUP BY toUInt256(toNullable(100)) Query succeeded, using this AST as a start Fuzzing step 418 out of 1000 SELECT toLowCardinality('default_settings') GROUP BY toNullable(100) Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality('default_settings') GROUP BY 100 Error on processing query 'EXPLAIN SYNTAX SELECT toLowCardinality('default_settings') GROUP BY 100': Received from localhost:9000. DB::Exception: Positional argument out of bounds: 100 (expected in range [1, 1]: While processing SELECT toLowCardinality('default_settings') GROUP BY 100: While processing SELECT toLowCardinality('default_settings') GROUP BY 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x000000001199a4f8 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&) @ 0x000000001189c5c0 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) @ 0x000000001189779f 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 @ 0x0000000011891fc6 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 @ 0x0000000011622615 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) @ 0x000000001161f094 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) @ 0x000000001161bd8c 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&) @ 0x000000001161baf1 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 13. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 420 out of 1000 SELECT toLowCardinality('default_settings') GROUP BY toNullable(100) Got boring AST Fuzzing step 421 out of 1000 SELECT toLowCardinality('default_settings') GROUP BY toNullable(100) Got boring AST Fuzzing step 422 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) Query succeeded, using this AST as a start Fuzzing step 423 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 424 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 425 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 426 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 427 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 428 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' GROUP BY toNullable(100) Query succeeded, using this AST as a start Fuzzing step 429 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 430 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 431 out of 1000 EXPLAIN AST SELECT 'default_settings' GROUP BY toNullable(100) Query succeeded, using this AST as a start Fuzzing step 432 out of 1000 EXPLAIN AST SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 433 out of 1000 EXPLAIN AST SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 434 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'default_settings' GROUP BY toNullable(100) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'default_settings' GROUP BY toNullable(100)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 (''default_settings''): 'default_settings' GROUP BY toNullable(100). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 435 out of 1000 EXPLAIN AST SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 436 out of 1000 EXPLAIN AST SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 437 out of 1000 EXPLAIN AST SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 438 out of 1000 EXPLAIN AST SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 439 out of 1000 EXPLAIN AST SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 440 out of 1000 EXPLAIN AST SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 441 out of 1000 SELECT 'default_settings' GROUP BY 100 Error on processing query 'SELECT 'default_settings' GROUP BY 100': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 442 out of 1000 EXPLAIN SELECT 'default_settings' GROUP BY toNullable(100) Query succeeded, using this AST as a start Fuzzing step 443 out of 1000 EXPLAIN SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 444 out of 1000 EXPLAIN SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 445 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' GROUP BY toNullable(100) Query succeeded, using this AST as a start Fuzzing step 446 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 447 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 448 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 449 out of 1000 EXPLAIN SELECT 'default_settings' GROUP BY toNullable(100) Query succeeded, using this AST as a start Fuzzing step 450 out of 1000 EXPLAIN SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 451 out of 1000 SELECT 'default_settings' GROUP BY 100 Error on processing query 'SELECT 'default_settings' GROUP BY 100': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 452 out of 1000 EXPLAIN SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 453 out of 1000 EXPLAIN SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 454 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' GROUP BY toNullable(100) Query succeeded, using this AST as a start Fuzzing step 455 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 456 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 457 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 458 out of 1000 EXPLAIN AST SELECT 'default_settings' GROUP BY toNullable(100) Query succeeded, using this AST as a start Fuzzing step 459 out of 1000 EXPLAIN AST SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 460 out of 1000 EXPLAIN AST SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 461 out of 1000 EXPLAIN QUERY TREE SELECT 'default_settings' GROUP BY toNullable(100) Query succeeded, using this AST as a start Fuzzing step 462 out of 1000 EXPLAIN AST SELECT 'default_settings' GROUP BY toNullable(100) Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 EXPLAIN SYNTAX SELECT 'default_settings' GROUP BY toNullable(100) Query succeeded, using this AST as a start Fuzzing step 464 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) Query succeeded, using this AST as a start Fuzzing step 465 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) Got boring AST Fuzzing step 466 out of 1000 SELECT 'default_settings' GROUP BY 100 Error on processing query 'SELECT 'default_settings' GROUP BY 100': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 467 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 468 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH CUBE Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 469 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE Got boring AST Fuzzing step 470 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 471 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 472 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 473 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 474 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 475 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 476 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 477 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 478 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 479 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 480 out of 1000 SELECT 'default_settings' WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(test_alias_skip_idx__fuzz_2, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) GROUP BY toNullable(100) WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(test_alias_skip_idx__fuzz_2, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) GROUP BY toNullable(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT 'default_settings' WHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(test_alias_skip_idx__fuzz_2, 'with 01091 as id select sum(number) from numbers_mt(1000000);')) AND 22 AND (event_date >= (today() - 1)) GROUP BY toNullable(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 481 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 482 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 483 out of 1000 SELECT 'default_settings' PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toNullable(12)) AND 22 AND (event_date >= (today() - materialize(toUInt256(1)))) GROUP BY toNullable(100) WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toNullable(12)) AND 22 AND (event_date >= (today() - materialize(toUInt256(1)))) GROUP BY toNullable(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT 'default_settings' PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);')) AND materialize(toNullable(12)) AND 22 AND (event_date >= (today() - materialize(toUInt256(1)))) GROUP BY toNullable(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 484 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 485 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 486 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 487 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 488 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 489 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH ROLLUP WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY toNullable(100) WITH ROLLUP WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 73 ('CUBE'): CUBE WITH TOTALS. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 490 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 491 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 492 out of 1000 SELECT materialize('default_settings') GROUP BY toNullable(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 493 out of 1000 SELECT materialize(toLowCardinality('default_settings')) PREWHERE toLowCardinality(toUInt256(19)) GROUP BY toNullable(100) WITH CUBE WITH TOTALS Error on processing query 'SELECT materialize(toLowCardinality('default_settings')) PREWHERE toLowCardinality(toUInt256(19)) GROUP BY toNullable(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 494 out of 1000 SELECT materialize('default_settings') GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 495 out of 1000 SELECT materialize('default_settings') WHERE materialize(toLowCardinality(toNullable(toUInt256(19)))) GROUP BY toNullable(toNullable(100)) WITH CUBE WITH TOTALS Error on processing query 'SELECT materialize('default_settings') WHERE materialize(toLowCardinality(toNullable(toUInt256(19)))) GROUP BY toNullable(toNullable(100)) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(Nullable(UInt256)) of column materialize(_CAST('19'_LowCardinality(Nullable(UInt256)), 'LowCardinality(Nullable(UInt256))'_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x0000000012fcc497 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001316d043 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&) @ 0x000000001163a878 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>>&) @ 0x0000000011668f69 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662c15 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 10. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 11. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 496 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 497 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 498 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 499 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 500 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 501 out of 1000 SELECT 'default_settings' PREWHERE toNullable(toUInt256(100)) GROUP BY toNullable(materialize(toUInt256(100)), 100) WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' PREWHERE toNullable(toUInt256(100)) GROUP BY toNullable(materialize(toUInt256(100)), 100) WITH CUBE 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 'default_settings' PREWHERE toNullable(toUInt256(100)) GROUP BY toNullable(materialize(toUInt256(100)), 100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 502 out of 1000 SELECT 'default_settings' WHERE 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' WHERE 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: String. In query SELECT 'default_settings' WHERE 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 503 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 504 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 505 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 506 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 507 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 508 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 509 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 510 out of 1000 SELECT 'default_settings' GROUP BY toNullable(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 511 out of 1000 SELECT 'default_settings' GROUP BY toNullable(materialize(100)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 512 out of 1000 SELECT 'default_settings' GROUP BY toNullable(materialize(100)) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 513 out of 1000 SELECT 'default_settings' GROUP BY toNullable(materialize(100)) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 514 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 515 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 516 out of 1000 SELECT 'default_settings' WHERE toLowCardinality(toNullable(1091 AS id)) GROUP BY materialize(100) WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' WHERE toLowCardinality(toNullable(1091 AS id)) GROUP BY materialize(100) WITH CUBE WITH TOTALS': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 517 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 518 out of 1000 SELECT 'default_settings' PREWHERE toLowCardinality('enable_optimizations=0') GROUP BY materialize(100) WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' PREWHERE toLowCardinality('enable_optimizations=0') GROUP BY materialize(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: LowCardinality(String). In query SELECT 'default_settings' PREWHERE toLowCardinality('enable_optimizations=0') GROUP BY materialize(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 519 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 520 out of 1000 EXPLAIN actions = true SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN actions = true SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "actions" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 521 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 522 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 523 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 524 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 525 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 526 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 527 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 528 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 529 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 530 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 531 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 532 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 533 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 534 out of 1000 SELECT 'default_settings' PREWHERE materialize(toNullable(toNullable(toUInt256(100)))) GROUP BY materialize(100) WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' PREWHERE materialize(toNullable(toNullable(toUInt256(100)))) GROUP BY materialize(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 535 out of 1000 SELECT 'default_settings' PREWHERE toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id) GROUP BY materialize(100) WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' PREWHERE toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id) GROUP BY materialize(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 'default_settings' PREWHERE toUInt256(toLowCardinality(100)) AND (thread_id != master_thread_id) GROUP BY materialize(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 536 out of 1000 SELECT materialize('default_settings') GROUP BY 100 WITH CUBE WITH TOTALS Error on processing query 'SELECT materialize('default_settings') GROUP BY 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT materialize('default_settings') GROUP BY 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 537 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 538 out of 1000 SELECT 'default_settings' PREWHERE today(currentDatabase(2147483647)) - 1 GROUP BY materialize(100) WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' PREWHERE today(currentDatabase(2147483647)) - 1 GROUP BY materialize(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: In scope SELECT 'default_settings' PREWHERE today(currentDatabase(2147483647)) - 1 GROUP BY materialize(100) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 539 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 540 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 541 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 542 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 543 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 544 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 545 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 546 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 547 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 548 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 549 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 550 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 551 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 552 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 553 out of 1000 EXPLAIN ESTIMATE SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 554 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 555 out of 1000 SELECT materialize(toLowCardinality('default_settings')) GROUP BY materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 556 out of 1000 SELECT materialize(toLowCardinality('default_settings')) GROUP BY 100 WITH CUBE WITH TOTALS Error on processing query 'SELECT materialize(toLowCardinality('default_settings')) GROUP BY 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT materialize(toLowCardinality('default_settings')) GROUP BY 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 557 out of 1000 SELECT toLowCardinality('default_settings') GROUP BY 100 WITH CUBE WITH TOTALS Error on processing query 'SELECT toLowCardinality('default_settings') GROUP BY 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT toLowCardinality('default_settings') GROUP BY 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 558 out of 1000 SELECT materialize('default_settings') GROUP BY 100 WITH CUBE WITH TOTALS Error on processing query 'SELECT materialize('default_settings') GROUP BY 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT materialize('default_settings') GROUP BY 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 559 out of 1000 SELECT materialize(toLowCardinality('default_settings')) GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 560 out of 1000 SELECT materialize(toLowCardinality('default_settings')) GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 561 out of 1000 SELECT materialize(toLowCardinality('default_settings')) GROUP BY 100 WITH CUBE WITH TOTALS Error on processing query 'SELECT materialize(toLowCardinality('default_settings')) GROUP BY 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT materialize(toLowCardinality('default_settings')) GROUP BY 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 562 out of 1000 SELECT materialize(toLowCardinality('default_settings')) GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 563 out of 1000 SELECT materialize('default_settings') GROUP BY materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 564 out of 1000 SELECT materialize('default_settings') GROUP BY 100 WITH CUBE WITH TOTALS Error on processing query 'SELECT materialize('default_settings') GROUP BY 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT materialize('default_settings') GROUP BY 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 565 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 566 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 567 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 568 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 569 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 570 out of 1000 SELECT 'default_settings' GROUP BY materialize(toUInt256(100)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 571 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 573 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 574 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 575 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 576 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 577 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 578 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 579 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 (''default_settings''): 'default_settings' GROUP BY materialize(100) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 580 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 581 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 582 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 583 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 584 out of 1000 EXPLAIN PIPELINE SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 585 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 586 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 587 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 588 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 589 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 590 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 591 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 592 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 593 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 594 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 595 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 596 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH TOTALS Got boring AST Fuzzing step 597 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH TOTALS Got boring AST Fuzzing step 598 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 599 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 600 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH TOTALS Got boring AST Fuzzing step 601 out of 1000 SELECT 'default_settings' PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND equals(current_database, test_alias_skip_idx__fuzz_37, currentDatabase()) AND (event_date >= (today() - 1)) GROUP BY 100 WITH TOTALS Error on processing query 'SELECT 'default_settings' PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND equals(current_database, test_alias_skip_idx__fuzz_37, currentDatabase()) AND (event_date >= (today() - 1)) GROUP BY 100 WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT 'default_settings' PREWHERE (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND equals(current_database, test_alias_skip_idx__fuzz_37, currentDatabase()) AND (event_date >= (today() - 1)) GROUP BY 100 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 602 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH TOTALS Got boring AST Fuzzing step 603 out of 1000 SELECT 'default_settings' WHERE uniqExact(thread_id) IGNORE NULLS > materialize(2) GROUP BY materialize(100) WITH TOTALS Error on processing query 'SELECT 'default_settings' WHERE uniqExact(thread_id) IGNORE NULLS > materialize(2) GROUP BY materialize(100) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 'default_settings' WHERE uniqExact(thread_id) IGNORE NULLS > materialize(2) GROUP BY materialize(100) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 604 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 605 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH TOTALS Got boring AST Fuzzing step 606 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH TOTALS Got boring AST Fuzzing step 607 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH TOTALS Got boring AST Fuzzing step 608 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH TOTALS Got boring AST Fuzzing step 609 out of 1000 SELECT test_alias_skip_idx__fuzz_14, toUInt128(100), 'default_settings' GROUP BY materialize(100) WITH TOTALS Error on processing query 'SELECT test_alias_skip_idx__fuzz_14, toUInt128(100), 'default_settings' GROUP BY materialize(100) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_14' in scope SELECT test_alias_skip_idx__fuzz_14, toUInt128(100), 'default_settings' GROUP BY materialize(100) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 610 out of 1000 SELECT 'default_settings' GROUP BY materialize(100) WITH TOTALS Got boring AST Fuzzing step 611 out of 1000 SELECT 'default_settings' GROUP BY GROUPING SETS ((100)) WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY GROUPING SETS ((100)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY GROUPING SETS ((100)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 612 out of 1000 SELECT 'default_settings' GROUP BY materialize(toUInt128(100)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 613 out of 1000 SELECT 'default_settings' GROUP BY materialize(toUInt128(100)) WITH TOTALS Got boring AST Fuzzing step 614 out of 1000 SELECT 'default_settings' GROUP BY materialize(toUInt128(100)) WITH TOTALS Got boring AST Fuzzing step 615 out of 1000 SELECT 'default_settings' PREWHERE normalizeQuery(test_nested_alias_idx__fuzz_30) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);') GROUP BY materialize(toUInt128(100)) WITH TOTALS Error on processing query 'SELECT 'default_settings' PREWHERE normalizeQuery(test_nested_alias_idx__fuzz_30) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);') GROUP BY materialize(toUInt128(100)) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_30' in scope SELECT 'default_settings' PREWHERE normalizeQuery(test_nested_alias_idx__fuzz_30) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);') GROUP BY materialize(toUInt128(100)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 616 out of 1000 SELECT 'default_settings' GROUP BY materialize(toUInt128(100)) WITH TOTALS Got boring AST Fuzzing step 617 out of 1000 SELECT 'default_settings' GROUP BY materialize(toUInt128(100)) WITH TOTALS Got boring AST Fuzzing step 618 out of 1000 SELECT 'default_settings' GROUP BY materialize(toUInt128(100)) WITH TOTALS Got boring AST Fuzzing step 619 out of 1000 SELECT 'default_settings' GROUP BY materialize(toUInt128(100)) WITH TOTALS Got boring AST Fuzzing step 620 out of 1000 SELECT 'default_settings' GROUP BY materialize(toUInt128(100)) WITH TOTALS Got boring AST Fuzzing step 621 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 622 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 623 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 624 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 625 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 626 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 627 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 628 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 629 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT 'default_settings' GROUP BY toUInt128(100) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 630 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 631 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 632 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 633 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 634 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 635 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 636 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 637 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(toLowCardinality(100)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 638 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 639 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 640 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 641 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT toNullable('default_settings') GROUP BY toUInt128(100) WITH TOTALS Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT toNullable('default_settings') GROUP BY toUInt128(100) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 642 out of 1000 SELECT normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);'), 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Error on processing query 'SELECT normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);'), 'default_settings' GROUP BY toUInt128(100) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers_mt(1000000);'), 'default_settings' GROUP BY toUInt128(100) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 643 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 644 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 645 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 646 out of 1000 SELECT 'default_settings' WHERE event_date GROUP BY toUInt128(100) WITH TOTALS Error on processing query 'SELECT 'default_settings' WHERE event_date GROUP BY toUInt128(100) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'event_date' in scope SELECT 'default_settings' WHERE event_date GROUP BY toUInt128(100) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 647 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 648 out of 1000 EXPLAIN PIPELINE compact = true SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 'default_settings' GROUP BY toUInt128(100) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 649 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 650 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 651 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'default_settings' GROUP BY toUInt128(currentDatabase(toNullable(12)), 100) WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'default_settings' GROUP BY toUInt128(currentDatabase(toNullable(12)), 100) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 (''default_settings''): 'default_settings' GROUP BY toUInt128(currentDatabase(toNullable(12)), 100) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 652 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 653 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(toUInt256(100)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 654 out of 1000 SELECT 'default_settings' PREWHERE uniqExact(1, thread_id) > 2 GROUP BY toUInt128(toUInt256(100)) WITH TOTALS Error on processing query 'SELECT 'default_settings' PREWHERE uniqExact(1, thread_id) > 2 GROUP BY toUInt128(toUInt256(100)) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 'default_settings' PREWHERE uniqExact(1, thread_id) > 2 GROUP BY toUInt128(toUInt256(100)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 655 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(toUInt256(100)) WITH TOTALS Got boring AST Fuzzing step 656 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(toUInt256(toLowCardinality(toNullable(toUInt128(12))), 100)) WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY toUInt128(toUInt256(toLowCardinality(toNullable(toUInt128(12))), 100)) WITH TOTALS': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt256'. Expected 1 argument, got 2 arguments: In scope SELECT 'default_settings' GROUP BY toUInt128(toUInt256(toLowCardinality(toNullable(toUInt128(12))), 100)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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)::NameToUInt256, 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&) @ 0x00000000071719f8 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToUInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000716ba80 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 Fuzzing step 657 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(toUInt256(100)) WITH TOTALS Got boring AST Fuzzing step 658 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 659 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(materialize(100)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 660 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 661 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 662 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 663 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 664 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 665 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 666 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 667 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 668 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 669 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 670 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 671 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 672 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 673 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 674 out of 1000 SELECT 'default_settings' WITH TOTALS Error on processing query 'SELECT 'default_settings' 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 675 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 676 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 677 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 678 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 679 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 680 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 681 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 682 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 683 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 684 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 685 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 686 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH TOTALS Got boring AST Fuzzing step 687 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 688 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 689 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 690 out of 1000 SELECT 'default_settings' WITH TOTALS Error on processing query 'SELECT 'default_settings' 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 691 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(toNullable(toUInt128(1)), 100) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY toUInt128(toNullable(toUInt128(1)), 100) WITH ROLLUP 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 'default_settings' GROUP BY toUInt128(toNullable(toUInt128(1)), 100) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 692 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 693 out of 1000 SELECT 'default_settings' WHERE toUInt128(materialize(12)) GROUP BY 100 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'default_settings' WHERE toUInt128(materialize(12)) GROUP BY 100 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' WHERE toUInt128(materialize(12)) GROUP BY 100 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 694 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 695 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 696 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 697 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 698 out of 1000 SELECT 'default_settings' GROUP BY toUInt128(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 699 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 700 out of 1000 SELECT 'default_settings' GROUP BY 100 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'default_settings' GROUP BY 100 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' GROUP BY 100 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 701 out of 1000 SELECT 'default_settings' WHERE toNullable(19) GROUP BY toUInt128(100) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 702 out of 1000 SELECT 'default_settings' WHERE toNullable(19) GROUP BY 100 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'default_settings' WHERE toNullable(19) GROUP BY 100 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT 'default_settings' WHERE toNullable(19) GROUP BY 100 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 703 out of 1000 SELECT 'default_settings' WHERE toNullable(materialize(19)) GROUP BY toUInt128(100) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 704 out of 1000 SELECT 'default_settings' WHERE toNullable(materialize(19)) GROUP BY toUInt128(materialize(100)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 705 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT 'default_settings' WHERE toNullable(materialize(19)) GROUP BY toUInt128(100) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT 'default_settings' WHERE toNullable(materialize(19)) GROUP BY toUInt128(100) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 706 out of 1000 SELECT 'default_settings' WHERE toNullable(toUInt128(toLowCardinality(toUInt256(1091))), materialize(19)) GROUP BY toUInt128(materialize(100)) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'default_settings' WHERE toNullable(toUInt128(toLowCardinality(toUInt256(1091))), materialize(19)) GROUP BY toUInt128(materialize(100)) WITH ROLLUP 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 'default_settings' WHERE toNullable(toUInt128(toLowCardinality(toUInt256(1091))), materialize(19)) GROUP BY toUInt128(materialize(100)) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 707 out of 1000 SELECT today() - toLowCardinality(toNullable(1)), 'default_settings' WHERE toNullable(materialize(19)) GROUP BY toUInt128(materialize(100)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 708 out of 1000 SELECT today() - toLowCardinality(toNullable(1)), 'default_settings' WHERE toNullable(materialize(19)) GROUP BY toUInt128(materialize(100)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 709 out of 1000 SELECT today() - toLowCardinality(toNullable(1)), 'default_settings' WHERE toNullable(materialize(19)) GROUP BY toUInt128(materialize(100)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 710 out of 1000 SELECT today() - toLowCardinality(toNullable(1)), 'default_settings' WHERE toNullable(materialize(19)) GROUP BY toUInt128(materialize(100)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 711 out of 1000 SELECT today() - toLowCardinality(1), 'default_settings' WHERE toNullable(materialize(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 712 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 713 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 714 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 715 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 716 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 717 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY 100 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY 100 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY 100 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 718 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY 100 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY 100 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY 100 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 719 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 720 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((100)) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY GROUPING SETS ((100)) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 721 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 722 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 723 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 724 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 725 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 726 out of 1000 SELECT today() - 1, 'default_settings' PREWHERE uniqExact(toNullable(1), thread_id) > 2 WHERE toNullable(toLowCardinality(19)) GROUP BY 100 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT today() - 1, 'default_settings' PREWHERE uniqExact(toNullable(1), thread_id) > 2 WHERE toNullable(toLowCardinality(19)) GROUP BY 100 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT today() - 1, 'default_settings' PREWHERE uniqExact(toNullable(1), thread_id) > 2 WHERE toNullable(toLowCardinality(19)) GROUP BY 100 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 727 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 728 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 729 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 730 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 731 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 732 out of 1000 EXPLAIN AST optimize = true SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN AST optimize = true SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 733 out of 1000 SELECT minus(1), toNullable('default_settings') WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT minus(1), toNullable('default_settings') WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope SELECT minus(1), toNullable('default_settings') WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 734 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 735 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 736 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 737 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 738 out of 1000 SELECT today() - 1, materialize('default_settings') WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 739 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 740 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(toNullable(test_alias_skip_idx__fuzz_5, 1), 100) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(toNullable(test_alias_skip_idx__fuzz_5, 1), 100) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_5' in scope SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(toNullable(test_alias_skip_idx__fuzz_5, 1), 100) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 741 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 742 out of 1000 SELECT today() - 1, 'default_settings' PREWHERE a WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT today() - 1, 'default_settings' PREWHERE a WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT today() - 1, 'default_settings' PREWHERE a WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 743 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY 100 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY 100 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY 100 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 744 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 745 out of 1000 SELECT minus(test_alias_skip_idx__fuzz_8, today(), 1), 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT minus(test_alias_skip_idx__fuzz_8, today(), 1), 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_8' in scope SELECT minus(test_alias_skip_idx__fuzz_8, today(), 1), 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 746 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 747 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 748 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 749 out of 1000 SELECT today() - materialize(toLowCardinality(1)), 'default_settings' WHERE toNullable(toLowCardinality(19)) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 750 out of 1000 SELECT today() - materialize(toLowCardinality(1)), 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 751 out of 1000 SELECT today() - toLowCardinality(1), 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 752 out of 1000 SELECT today() - toLowCardinality(1), 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 753 out of 1000 SELECT today() - toLowCardinality(1), 'default_settings' WHERE toNullable(19) GROUP BY 100 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT today() - toLowCardinality(1), 'default_settings' WHERE toNullable(19) GROUP BY 100 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 2]. In scope SELECT today() - toLowCardinality(1), 'default_settings' WHERE toNullable(19) GROUP BY 100 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 754 out of 1000 SELECT today() - toLowCardinality(toLowCardinality(toUInt128(1))), 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT today() - toLowCardinality(toLowCardinality(toUInt128(1))), 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope SELECT today() - toLowCardinality(toLowCardinality(toUInt128(1))), 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:195: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a91b 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 20. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 755 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 756 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 757 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 758 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH TOTALS Got boring AST Fuzzing step 759 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH TOTALS Got boring AST Fuzzing step 760 out of 1000 SELECT today() - 1, 'default_settings' PREWHERE toNullable(19) WHERE toNullable(19) GROUP BY materialize(100) WITH TOTALS Error on processing query 'SELECT today() - 1, 'default_settings' PREWHERE toNullable(19) WHERE toNullable(19) GROUP BY materialize(100) WITH TOTALS': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (10e232c5-156c-4c30-8082-b99d4b076fa3)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b14f5 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 761 out of 1000 SELECT minus(today()), 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH TOTALS Error on processing query 'SELECT minus(today()), 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope SELECT minus(today()), 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 762 out of 1000 EXPLAIN QUERY TREE dump_ast = true SELECT today() - 1, 'default_settings' PREWHERE toNullable(19) WHERE toNullable(19) GROUP BY materialize(100) WITH TOTALS Error on processing query 'EXPLAIN QUERY TREE dump_ast = true SELECT today() - 1, 'default_settings' PREWHERE toNullable(19) WHERE toNullable(19) GROUP BY materialize(100) WITH TOTALS': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 763 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(materialize(100)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 764 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(materialize(100)) WITH TOTALS Got boring AST Fuzzing step 765 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 766 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH TOTALS Got boring AST Fuzzing step 767 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH TOTALS Got boring AST Fuzzing step 768 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH TOTALS Got boring AST Fuzzing step 769 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) WITH TOTALS Got boring AST Fuzzing step 770 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) Query succeeded, using this AST as a start Fuzzing step 771 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) Got boring AST Fuzzing step 772 out of 1000 SELECT toNullable(materialize(toLowCardinality(26))), today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) Query succeeded, using this AST as a start Fuzzing step 773 out of 1000 SELECT materialize(toLowCardinality(26)), today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY 100 Error on processing query 'SELECT materialize(toLowCardinality(26)), today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY 100': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 3]. In scope SELECT materialize(toLowCardinality(26)), today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 774 out of 1000 SELECT toNullable(test_alias_skip_idx__fuzz_25, materialize(toLowCardinality(26))), today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) Error on processing query 'SELECT toNullable(test_alias_skip_idx__fuzz_25, materialize(toLowCardinality(26))), today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_25' in scope SELECT toNullable(test_alias_skip_idx__fuzz_25, materialize(toLowCardinality(26))), today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 775 out of 1000 SELECT materialize(toLowCardinality(26)), today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) Query succeeded, using this AST as a start Fuzzing step 776 out of 1000 SELECT materialize(toLowCardinality(26)), today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) Got boring AST Fuzzing step 777 out of 1000 SELECT materialize(toLowCardinality(26)), today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) Got boring AST Fuzzing step 778 out of 1000 SELECT materialize(toLowCardinality(26)), minus(today()), 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) Error on processing query 'SELECT materialize(toLowCardinality(26)), minus(today()), 'default_settings' WHERE toNullable(19) GROUP BY materialize(100)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope SELECT materialize(toLowCardinality(26)), minus(today()), 'default_settings' WHERE toNullable(19) GROUP BY materialize(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 779 out of 1000 SELECT materialize(toLowCardinality(26)), today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) Got boring AST Fuzzing step 780 out of 1000 SELECT materialize(26), today() - 1, toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY materialize(100) Error on processing query 'SELECT materialize(26), today() - 1, toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY materialize(100)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT materialize(26), today() - 1, toNullable(toLowCardinality(toNullable(19)), 100), 1091 AS id, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY materialize(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 781 out of 1000 SELECT materialize(toLowCardinality(26)), minus(1), 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) Error on processing query 'SELECT materialize(toLowCardinality(26)), minus(1), 'default_settings' WHERE toNullable(19) GROUP BY materialize(100)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope SELECT materialize(toLowCardinality(26)), minus(1), 'default_settings' WHERE toNullable(19) GROUP BY materialize(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 782 out of 1000 SELECT materialize(toLowCardinality(26)), today(test_nested_alias_idx__fuzz_19) - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) Error on processing query 'SELECT materialize(toLowCardinality(26)), today(test_nested_alias_idx__fuzz_19) - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_19' in scope SELECT materialize(toLowCardinality(26)), today(test_nested_alias_idx__fuzz_19) - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 783 out of 1000 SELECT materialize(toLowCardinality(26)), today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) Got boring AST Fuzzing step 784 out of 1000 SELECT materialize(toLowCardinality(26)), today() - 1, 'default_settings' PREWHERE uniqExact(toNullable('merge_expressions=0'), 19, thread_id) > 2 WHERE toNullable(19) GROUP BY 100 Error on processing query 'SELECT materialize(toLowCardinality(26)), today() - 1, 'default_settings' PREWHERE uniqExact(toNullable('merge_expressions=0'), 19, thread_id) > 2 WHERE toNullable(19) GROUP BY 100': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT materialize(toLowCardinality(26)), today() - 1, 'default_settings' PREWHERE uniqExact(toNullable('merge_expressions=0'), 19, thread_id) > 2 WHERE toNullable(19) GROUP BY 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 785 out of 1000 SELECT materialize(toLowCardinality(26)), today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(100) Got boring AST Fuzzing step 786 out of 1000 SELECT materialize(26), today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(toLowCardinality(100)) Query succeeded, using this AST as a start Fuzzing step 787 out of 1000 SELECT materialize(26), today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(toLowCardinality(100)) Got boring AST Fuzzing step 788 out of 1000 SELECT materialize(26), today() - 1, 'default_settings' WHERE toNullable(19) GROUP BY materialize(toLowCardinality(100)) Got boring AST Fuzzing step 789 out of 1000 SELECT materialize(26), today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY toLowCardinality(100) Query succeeded, using this AST as a start Fuzzing step 790 out of 1000 SELECT materialize(26), today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 791 out of 1000 EXPLAIN PIPELINE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 792 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('today'): today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 793 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 795 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 796 out of 1000 EXPLAIN AST SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 797 out of 1000 EXPLAIN TABLE OVERRIDE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('today'): today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 798 out of 1000 EXPLAIN AST SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 799 out of 1000 SELECT minus(materialize(toUInt128(12)), today(), 1), 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Error on processing query 'SELECT minus(materialize(toUInt128(12)), today(), 1), 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100)))': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope SELECT minus(materialize(toUInt128(12)), today(), 1), 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 800 out of 1000 EXPLAIN AST SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 801 out of 1000 EXPLAIN TABLE OVERRIDE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('today'): today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 802 out of 1000 EXPLAIN TABLE OVERRIDE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('today'): today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 803 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 804 out of 1000 EXPLAIN SYNTAX SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 805 out of 1000 EXPLAIN SYNTAX SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 806 out of 1000 EXPLAIN TABLE OVERRIDE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('today'): today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 807 out of 1000 EXPLAIN SYNTAX SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 808 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 809 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 810 out of 1000 EXPLAIN PIPELINE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 811 out of 1000 EXPLAIN PIPELINE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 812 out of 1000 EXPLAIN PIPELINE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 813 out of 1000 EXPLAIN SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 814 out of 1000 EXPLAIN TABLE OVERRIDE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('today'): today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 815 out of 1000 EXPLAIN QUERY TREE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 816 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(toNullable(toUInt256(1091))), materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(toLowCardinality(toUInt128(materialize(materialize(12)))), 100))) Error on processing query 'SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(toNullable(toUInt256(1091))), materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(toLowCardinality(toUInt128(materialize(materialize(12)))), 100)))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(toNullable(toUInt256(1091))), materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(toLowCardinality(toUInt128(materialize(materialize(12)))), 100))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 817 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 818 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 819 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 820 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 821 out of 1000 EXPLAIN AST SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 822 out of 1000 EXPLAIN AST SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 823 out of 1000 EXPLAIN AST SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 824 out of 1000 EXPLAIN AST SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 825 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('today'): today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 826 out of 1000 EXPLAIN AST SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 827 out of 1000 EXPLAIN AST SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 828 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 829 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 830 out of 1000 EXPLAIN QUERY TREE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 831 out of 1000 EXPLAIN QUERY TREE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 832 out of 1000 EXPLAIN SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 833 out of 1000 EXPLAIN TABLE OVERRIDE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('today'): today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 834 out of 1000 EXPLAIN SYNTAX SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 835 out of 1000 EXPLAIN TABLE OVERRIDE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('today'): today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 836 out of 1000 EXPLAIN SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 837 out of 1000 EXPLAIN SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 838 out of 1000 EXPLAIN SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 839 out of 1000 EXPLAIN AST SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 840 out of 1000 EXPLAIN AST SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 841 out of 1000 EXPLAIN AST SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 842 out of 1000 EXPLAIN SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 843 out of 1000 EXPLAIN SYNTAX SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 844 out of 1000 EXPLAIN SYNTAX SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 845 out of 1000 EXPLAIN SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 846 out of 1000 EXPLAIN SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 847 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 848 out of 1000 EXPLAIN TABLE OVERRIDE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('today'): today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 849 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 850 out of 1000 SELECT today() - 1, 'default_settings' WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 851 out of 1000 SELECT 'default_settings' WHERE toNullable(materialize(19)) WITH TOTALS Error on processing query 'SELECT 'default_settings' WHERE toNullable(materialize(19)) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 852 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 853 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 854 out of 1000 EXPLAIN QUERY TREE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 855 out of 1000 EXPLAIN AST SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 856 out of 1000 EXPLAIN QUERY TREE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 857 out of 1000 EXPLAIN QUERY TREE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 858 out of 1000 EXPLAIN QUERY TREE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 859 out of 1000 EXPLAIN TABLE OVERRIDE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('today'): today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 860 out of 1000 EXPLAIN QUERY TREE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 861 out of 1000 EXPLAIN TABLE OVERRIDE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('today'): today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 862 out of 1000 EXPLAIN SYNTAX SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 863 out of 1000 EXPLAIN AST SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 864 out of 1000 EXPLAIN QUERY TREE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 865 out of 1000 EXPLAIN QUERY TREE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Got boring AST Fuzzing step 866 out of 1000 EXPLAIN SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 867 out of 1000 EXPLAIN QUERY TREE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 868 out of 1000 EXPLAIN PIPELINE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 869 out of 1000 EXPLAIN QUERY TREE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 870 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(100))) Query succeeded, using this AST as a start Fuzzing step 871 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Query succeeded, using this AST as a start Fuzzing step 872 out of 1000 SELECT today() - 1 PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Error on processing query 'SELECT today() - 1 PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100))))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT today() - 1 PREWHERE (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery(toNullable('with 01091 as id select sum(number) from numbers(1000000);'))) WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 873 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Got boring AST Fuzzing step 874 out of 1000 SELECT today(test_nested_alias_idx__fuzz_8) - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Error on processing query 'SELECT today(test_nested_alias_idx__fuzz_8) - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100))))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_8' in scope SELECT today(test_nested_alias_idx__fuzz_8) - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 875 out of 1000 EXPLAIN AST SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Query succeeded, using this AST as a start Fuzzing step 876 out of 1000 EXPLAIN AST SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Got boring AST Fuzzing step 877 out of 1000 EXPLAIN AST SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Got boring AST Fuzzing step 878 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100))))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('today'): today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 879 out of 1000 EXPLAIN SYNTAX SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Query succeeded, using this AST as a start Fuzzing step 880 out of 1000 EXPLAIN SYNTAX SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Got boring AST Fuzzing step 881 out of 1000 EXPLAIN SYNTAX SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Got boring AST Fuzzing step 882 out of 1000 EXPLAIN SYNTAX SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Got boring AST Fuzzing step 883 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Query succeeded, using this AST as a start Fuzzing step 884 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Got boring AST Fuzzing step 885 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Got boring AST Fuzzing step 886 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Got boring AST Fuzzing step 887 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Got boring AST Fuzzing step 888 out of 1000 EXPLAIN PIPELINE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Query succeeded, using this AST as a start Fuzzing step 889 out of 1000 EXPLAIN QUERY TREE SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((toLowCardinality(materialize(100)))) Query succeeded, using this AST as a start Fuzzing step 890 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Query succeeded, using this AST as a start Fuzzing step 891 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 892 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 893 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 894 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 895 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(uniqExact(thread_id) IGNORE NULLS > 2, 100))) Error on processing query 'SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(uniqExact(thread_id) IGNORE NULLS > 2, 100)))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(uniqExact(thread_id) IGNORE NULLS > 2, 100))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e3e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 896 out of 1000 SELECT minus(today(), toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)), 1) WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Error on processing query 'SELECT minus(today(), toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)), 1) WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100)))': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope SELECT minus(today(), toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)), 1) WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 897 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 898 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 899 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((100)) Error on processing query 'SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((100))': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 900 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 901 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((100)) Error on processing query 'SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((100))': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 902 out of 1000 SELECT minus(today(), toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58), 1) WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Error on processing query 'SELECT minus(today(), toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58), 1) WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100)))': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope SELECT minus(today(), toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58), 1) WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 903 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 904 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 905 out of 1000 SELECT today(test_alias_skip_idx__fuzz_32) - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((100)) Error on processing query 'SELECT today(test_alias_skip_idx__fuzz_32) - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((100))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_32' in scope SELECT today(test_alias_skip_idx__fuzz_32) - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 906 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 907 out of 1000 EXPLAIN ESTIMATE SELECT today() - 1 PREWHERE toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), materialize(toNullable(26)), 19) WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Error on processing query 'EXPLAIN ESTIMATE SELECT today() - 1 PREWHERE toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), materialize(toNullable(26)), 19) WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100)))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_24' in scope SELECT today() - 1 PREWHERE toUInt128(materialize(test_alias_skip_idx__fuzz_24, 1091), materialize(toNullable(26)), 19) WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 18. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 19. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 908 out of 1000 SELECT today(currentDatabase(2147483647)) - 1, today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Error on processing query 'SELECT today(currentDatabase(2147483647)) - 1, today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100)))': Received from localhost:9000. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: In scope SELECT today(currentDatabase(2147483647)) - 1, today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 909 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((100)) Error on processing query 'SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((100))': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 910 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 911 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 912 out of 1000 SELECT today() - 1 WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((materialize(100))) Query succeeded, using this AST as a start Fuzzing step 913 out of 1000 SELECT today() - 1 WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 914 out of 1000 SELECT today() - 1 WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 915 out of 1000 SELECT today() - 1 WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 916 out of 1000 SELECT today() - 1 WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 917 out of 1000 SELECT today() - 1 WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((100)) Error on processing query 'SELECT today() - 1 WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((100))': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT today() - 1 WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 918 out of 1000 SELECT today() - toLowCardinality(1) WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((materialize(100))) Query succeeded, using this AST as a start Fuzzing step 919 out of 1000 SELECT today() - toLowCardinality(1) WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 920 out of 1000 SELECT today() - 1 WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((100)) Error on processing query 'SELECT today() - 1 WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((100))': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT today() - 1 WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 921 out of 1000 SELECT today() - toLowCardinality(toUInt128(1)) WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((materialize(100))) Error on processing query 'SELECT today() - toLowCardinality(toUInt128(1)) WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((materialize(100)))': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope SELECT today() - toLowCardinality(toUInt128(1)) WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((materialize(100))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:195: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a91b 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 20. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 922 out of 1000 SELECT today() - toLowCardinality(1) WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 923 out of 1000 SELECT today() - toLowCardinality(1) WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((100)) Error on processing query 'SELECT today() - toLowCardinality(1) WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((100))': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT today() - toLowCardinality(1) WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 924 out of 1000 SELECT today() - 1 WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((materialize(100))) Query succeeded, using this AST as a start Fuzzing step 925 out of 1000 EXPLAIN AST graph = true SELECT minus(test_nested_alias_idx__fuzz_16, today(), 1) WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((materialize(toUInt128(toLowCardinality(12)), 100))) Error on processing query 'EXPLAIN AST graph = true SELECT minus(test_nested_alias_idx__fuzz_16, today(), 1) WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((materialize(toUInt128(toLowCardinality(12)), 100)))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 926 out of 1000 SELECT today() - 1 WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 927 out of 1000 SELECT materialize(toLowCardinality(1091)), minus(today()) WHERE toNullable(toNullable(uniqExact(toFixedString('merge_expressions=0', 19), thread_id) > 2, 19)) WITH TOTALS Error on processing query 'SELECT materialize(toLowCardinality(1091)), minus(today()) WHERE toNullable(toNullable(uniqExact(toFixedString('merge_expressions=0', 19), thread_id) > 2, 19)) WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope SELECT materialize(toLowCardinality(1091)), minus(today()) WHERE toNullable(toNullable(uniqExact(toFixedString('merge_expressions=0', 19), thread_id) > 2, 19)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 928 out of 1000 SELECT today() - 1 WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((100)) Error on processing query 'SELECT today() - 1 WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((100))': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT today() - 1 WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 929 out of 1000 SELECT today() - 1 WHERE toNullable(toNullable(19)) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 930 out of 1000 SELECT today() - 1 WHERE toNullable(toNullable(materialize(19))) GROUP BY GROUPING SETS ((materialize(100))) Query succeeded, using this AST as a start Fuzzing step 931 out of 1000 SELECT today() - 1 WHERE toNullable(toNullable(materialize(19))) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 932 out of 1000 SELECT today() - 1 WHERE toNullable(toNullable(materialize(19))) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 933 out of 1000 SELECT today() - 1 WHERE toNullable(toNullable(materialize(19))) GROUP BY GROUPING SETS ((materialize(toLowCardinality(100)))) Query succeeded, using this AST as a start Fuzzing step 934 out of 1000 SELECT today() - 1 WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((materialize(toLowCardinality(100)))) Query succeeded, using this AST as a start Fuzzing step 935 out of 1000 SELECT today() - 1 WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((materialize(toLowCardinality(100)))) Got boring AST Fuzzing step 936 out of 1000 SELECT today() - 1 WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((materialize(100))) Query succeeded, using this AST as a start Fuzzing step 937 out of 1000 SELECT today() - 1 WHERE toNullable(materialize(19)) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 938 out of 1000 SELECT today() - 1 WHERE toNullable(materialize(toUInt128(19))) GROUP BY GROUPING SETS ((materialize(100))) Error on processing query 'SELECT today() - 1 WHERE toNullable(materialize(toUInt128(19))) GROUP BY GROUPING SETS ((materialize(100)))': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt128) of column toNullable(materialize(_CAST('19'_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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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) @ 0x0000000012fcc497 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001316d043 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&) @ 0x000000001163a878 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>>&) @ 0x0000000011668f69 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662c15 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 10. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 11. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 19. ? @ 0x00007f2af3f87ac3 20. ? @ 0x00007f2af4019850 Fuzzing step 939 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Query succeeded, using this AST as a start Fuzzing step 940 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 941 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 942 out of 1000 EXPLAIN AST optimize = true SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Error on processing query 'EXPLAIN AST optimize = true SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100)))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 943 out of 1000 SELECT minus(1) WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Error on processing query 'SELECT minus(1) WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100)))': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope SELECT minus(1) WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 944 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 945 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) WITH ROLLUP Error on processing query 'SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 946 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 947 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) WITH CUBE Error on processing query 'SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 948 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((materialize(100))) Got boring AST Fuzzing step 949 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((100)) Error on processing query 'SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((100))': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT today() - 1 WHERE toNullable(19) GROUP BY GROUPING SETS ((100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011070e25 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 950 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY materialize(100) Query succeeded, using this AST as a start Fuzzing step 951 out of 1000 SELECT minus(today()) WHERE toNullable(19) GROUP BY materialize(100) Error on processing query 'SELECT minus(today()) WHERE toNullable(19) GROUP BY materialize(100)': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope SELECT minus(today()) WHERE toNullable(19) GROUP BY materialize(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 952 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY materialize(100) Got boring AST Fuzzing step 953 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY materialize(100) Got boring AST Fuzzing step 954 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY materialize(100) Got boring AST Fuzzing step 955 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY materialize(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 956 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 957 out of 1000 SELECT today() - 1 WHERE toNullable(uniqExact(thread_id) > toLowCardinality(2), 19) GROUP BY 100 WITH ROLLUP WITH CUBE Error on processing query 'SELECT today() - 1 WHERE toNullable(uniqExact(thread_id) > toLowCardinality(2), 19) GROUP BY 100 WITH ROLLUP WITH CUBE': Received from localhost:9000. DB::Exception: Syntax error: failed at position 128 ('CUBE'): CUBE. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 958 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 959 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 960 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 961 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY 100 WITH CUBE Error on processing query 'SELECT today() - 1 WHERE toNullable(19) GROUP BY 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT today() - 1 WHERE toNullable(19) GROUP BY 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 962 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 963 out of 1000 SELECT minus(toNullable(1048576), today(), 1) GROUP BY materialize(100) WITH CUBE Error on processing query 'SELECT minus(toNullable(1048576), today(), 1) GROUP BY materialize(100) WITH CUBE': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 3, should be 2: In scope SELECT minus(toNullable(1048576), today(), 1) GROUP BY materialize(100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 964 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 965 out of 1000 SELECT today() - 1 WHERE toNullable(test_nested_alias_idx__fuzz_18, 19) GROUP BY materialize(100) WITH CUBE Error on processing query 'SELECT today() - 1 WHERE toNullable(test_nested_alias_idx__fuzz_18, 19) GROUP BY materialize(100) WITH CUBE': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_18' in scope SELECT today() - 1 WHERE toNullable(test_nested_alias_idx__fuzz_18, 19) GROUP BY materialize(100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 966 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 967 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 968 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 969 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 970 out of 1000 SELECT today() - 1 WHERE toNullable(19) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 971 out of 1000 SELECT today() - 1 GROUP BY materialize(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 972 out of 1000 SELECT today() - 1 GROUP BY materialize(materialize(toLowCardinality(100))) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 973 out of 1000 SELECT today() - 1 GROUP BY materialize(toLowCardinality(100)) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 974 out of 1000 SELECT today() - 1 GROUP BY materialize(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 975 out of 1000 SELECT today() - 1 GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 976 out of 1000 SELECT today() - 1 GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 977 out of 1000 SELECT today() - 1 GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 978 out of 1000 SELECT today() - 1 GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 979 out of 1000 SELECT today() - 1 GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 980 out of 1000 SELECT today() - 1 WHERE materialize(toNullable(1091 AS id)) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) GROUP BY materialize(100) WITH CUBE Error on processing query 'SELECT today() - 1 WHERE materialize(toNullable(1091 AS id)) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) GROUP BY materialize(100) WITH CUBE': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT today() - 1 WHERE materialize(toNullable(1091 AS id)) AND (current_database = currentDatabase()) AND (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) GROUP BY materialize(100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 981 out of 1000 SELECT today() - 1 GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 982 out of 1000 SELECT today() - toUInt128(1) GROUP BY materialize(100) WITH CUBE Error on processing query 'SELECT today() - toUInt128(1) GROUP BY materialize(100) WITH CUBE': Received from localhost:9000. DB::Exception: Second argument for function subtractDays must be a number: In scope SELECT today() - toUInt128(1) GROUP BY materialize(100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Functions/FunctionDateOrDateTimeAddInterval.h:0: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b68368b 5. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 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/Functions/FunctionBinaryArithmetic.h:1170: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000a29bdef 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29b3a2 10. /build/src/Functions/FunctionBinaryArithmetic.h:2461: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a29a5aa 11. /build/src/Functions/IFunction.h:448: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000701034a 12. /build/src/Functions/IFunctionAdaptors.h:28: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000070269da 13. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b69c8f 14. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6a71a 15. /build/src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007b6b645 16. /build/contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011064730 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 20. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 983 out of 1000 SELECT today() - 1 GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 984 out of 1000 SELECT today() - 1 PREWHERE toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), 'WITH 01091 AS id SELECT 1;') GROUP BY materialize(100) WITH CUBE Error on processing query 'SELECT today() - 1 PREWHERE toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), 'WITH 01091 AS id SELECT 1;') GROUP BY materialize(100) WITH CUBE': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT today() - 1 PREWHERE toLowCardinality(greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), 'WITH 01091 AS id SELECT 1;') GROUP BY materialize(100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 985 out of 1000 SELECT today() - 1 WHERE materialize(materialize(toLowCardinality(1))) GROUP BY materialize(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 986 out of 1000 SELECT today() - materialize(1) WHERE materialize(materialize(toLowCardinality(1))) GROUP BY 100 WITH CUBE Error on processing query 'SELECT today() - materialize(1) WHERE materialize(materialize(toLowCardinality(1))) GROUP BY 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT today() - materialize(1) WHERE materialize(materialize(toLowCardinality(1))) GROUP BY 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 987 out of 1000 SELECT today() - 1 WHERE materialize(materialize(toLowCardinality(1))) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 988 out of 1000 SELECT today() - 1 WHERE materialize(materialize(1)) GROUP BY materialize(100) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 989 out of 1000 SELECT today() - 1 WHERE materialize(materialize(1)) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 990 out of 1000 SELECT today() - 1 WHERE materialize(materialize(1)) GROUP BY 100 WITH CUBE Error on processing query 'SELECT today() - 1 WHERE materialize(materialize(1)) GROUP BY 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT today() - 1 WHERE materialize(materialize(1)) GROUP BY 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 991 out of 1000 SELECT today() - 1 WHERE materialize(materialize(1)) GROUP BY materialize(uniqExact(toNullable(1), thread_id) > 2, 100) WITH CUBE Error on processing query 'SELECT today() - 1 WHERE materialize(materialize(1)) GROUP BY materialize(uniqExact(toNullable(1), thread_id) > 2, 100) WITH CUBE': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT today() - 1 WHERE materialize(materialize(1)) GROUP BY materialize(uniqExact(toNullable(1), thread_id) > 2, 100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 992 out of 1000 SELECT today() - 1 WHERE materialize(materialize(1)) GROUP BY 100 WITH CUBE Error on processing query 'SELECT today() - 1 WHERE materialize(materialize(1)) GROUP BY 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT today() - 1 WHERE materialize(materialize(1)) GROUP BY 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 993 out of 1000 SELECT minus(today()) WHERE materialize(materialize(1)) GROUP BY materialize(100) WITH CUBE Error on processing query 'SELECT minus(today()) WHERE materialize(materialize(1)) GROUP BY materialize(100) WITH CUBE': Received from localhost:9000. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: In scope SELECT minus(today()) WHERE materialize(materialize(1)) GROUP BY materialize(100) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 994 out of 1000 SELECT today() - 1 WHERE materialize(materialize(1)) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 995 out of 1000 SELECT today() - 1 WHERE materialize(materialize(1)) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 996 out of 1000 SELECT today() - 1 WHERE materialize(materialize(1)) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 997 out of 1000 SELECT today() - 1 WHERE materialize(materialize(1)) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 998 out of 1000 SELECT today() - 1 WHERE materialize(1) GROUP BY 100 WITH CUBE Error on processing query 'SELECT today() - 1 WHERE materialize(1) GROUP BY 100 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 100 is out of bounds. Expected in range [1, 1]. In scope SELECT today() - 1 WHERE materialize(1) GROUP BY 100 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 999 out of 1000 SELECT today() - 1 WHERE materialize(materialize(1)) GROUP BY materialize(100) WITH CUBE Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 2 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 3 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 4 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 5 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 6 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 7 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 8 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 9 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 10 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 11 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 12 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 13 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 14 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 15 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 16 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 17 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 18 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 19 out of 1000 EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN QUERY TREE query. Supported settings: dump_passes, dump_ast, dump_tree, run_passes, passes. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [11], String&&) @ 0x00000000115973eb 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115903be 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 20 out of 1000 EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('SELECT'): SELECT * FROM test_alias_skip_idx WHERE a > 100. Expected one of: INTO OUTFILE, FORMAT, SETTINGS, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 21 out of 1000 EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN QUERY TREE query. Supported settings: dump_passes, dump_ast, dump_tree, run_passes, passes. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [11], String&&) @ 0x00000000115973eb 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115903be 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 22 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 23 out of 1000 EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN QUERY TREE query. Supported settings: dump_passes, dump_ast, dump_tree, run_passes, passes. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [11], String&&) @ 0x00000000115973eb 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115903be 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 24 out of 1000 EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN SYNTAX query. Supported settings: oneline. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [7], String&&) @ 0x0000000011596e6b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001159022c 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 25 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 26 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 27 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 28 out of 1000 EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN SYNTAX indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN SYNTAX query. Supported settings: oneline. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [7], String&&) @ 0x0000000011596e6b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001159022c 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 29 out of 1000 EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN QUERY TREE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN QUERY TREE query. Supported settings: dump_passes, dump_ast, dump_tree, run_passes, passes. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [11], String&&) @ 0x00000000115973eb 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115903be 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 30 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 31 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 32 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 33 out of 1000 EXPLAIN indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 34 out of 1000 EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN CURRENT TRANSACTION indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('SELECT'): SELECT * FROM test_alias_skip_idx WHERE a > 100. Expected one of: INTO OUTFILE, FORMAT, SETTINGS, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 35 out of 1000 EXPLAIN PIPELINE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN PIPELINE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 36 out of 1000 EXPLAIN PIPELINE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN PIPELINE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 37 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 38 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 39 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 40 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 41 out of 1000 EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Error on processing query 'EXPLAIN AST indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100': Received from localhost:9000. DB::Exception: Unknown setting "indexes" for EXPLAIN AST query. Supported settings: optimize, graph. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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 (&) [4], String&&) @ 0x0000000011595b8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590454 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 42 out of 1000 EXPLAIN ESTIMATE indexes = 1 SELECT * FROM test_alias_skip_idx WHERE a > 100 Got boring AST Fuzzing step 43 out of 1000 SELECT * FROM test_alias_skip_idx WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 44 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 45 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 46 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 47 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE greater(a) WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE greater(a) WHERE a > 100': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE greater(a) WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 48 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 49 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 50 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 51 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 52 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 53 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 54 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 55 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 56 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 58 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE greater(materialize(toUInt256(1091)), a, 100) WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE greater(materialize(toUInt256(1091)), a, 100) WHERE a > 100': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE greater(materialize(toUInt256(1091)), a, 100) WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 59 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 60 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 61 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 62 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 63 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE greater(a, test_alias_skip_idx__fuzz_44, 100) Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE greater(a, test_alias_skip_idx__fuzz_44, 100)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_44' in scope SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE greater(a, test_alias_skip_idx__fuzz_44, 100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 64 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 65 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 66 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE a > 100 WHERE a > materialize(100) Query succeeded, using this AST as a start Fuzzing step 67 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE a > 100 WHERE a > materialize(100) Query succeeded, using this AST as a start Fuzzing step 68 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > 100 WHERE a > materialize(100) Query succeeded, using this AST as a start Fuzzing step 69 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE a > 100 WHERE a > materialize(100) Query succeeded, using this AST as a start Fuzzing step 70 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE a > 100 WHERE a > materialize(100) Query succeeded, using this AST as a start Fuzzing step 71 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 PREWHERE a > 100 WHERE a > materialize(100) Got boring AST Fuzzing step 72 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > 100 WHERE a > materialize(toNullable(toUInt256(100))) Query succeeded, using this AST as a start Fuzzing step 73 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE a > 100 WHERE a > materialize(toNullable(toUInt256(toNullable(100)))) Query succeeded, using this AST as a start Fuzzing step 74 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE a > 100 WHERE a > materialize(toNullable(toUInt256(toNullable(100)))) Query succeeded, using this AST as a start Fuzzing step 75 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE a > 100 WHERE a > materialize(toUInt256(toNullable(100))) Query succeeded, using this AST as a start Fuzzing step 76 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE a > 100 WHERE a > materialize(toUInt256(toNullable(100))) Got boring AST Fuzzing step 77 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE a > 100 WHERE a > materialize(toNullable(100)) Query succeeded, using this AST as a start Fuzzing step 78 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 WHERE a > toNullable(100) GROUP BY test_nested_alias_idx__fuzz_31, toUInt128(19), test_nested_alias_idx__fuzz_30, toNullable(toUInt256(toLowCardinality(toLowCardinality(toUInt256(2))))), a > toNullable(toNullable(100)) Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_7 WHERE a > toNullable(100) GROUP BY test_nested_alias_idx__fuzz_31, toUInt128(19), test_nested_alias_idx__fuzz_30, toNullable(toUInt256(toLowCardinality(toLowCardinality(toUInt256(2))))), a > toNullable(toNullable(100))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_31' in scope SELECT * FROM test_alias_skip_idx__fuzz_7 WHERE a > toNullable(100) GROUP BY test_nested_alias_idx__fuzz_31, toUInt128(19), test_nested_alias_idx__fuzz_30, toNullable(toUInt256(toLowCardinality(toLowCardinality(toUInt256(2))))), a > toNullable(toNullable(100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 79 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE a > 100 WHERE a > toNullable(100) Query succeeded, using this AST as a start Fuzzing step 80 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE a > 100 WHERE a > toNullable(100) Query succeeded, using this AST as a start Fuzzing step 81 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE a > 100 WHERE a > toNullable(100) Got boring AST Fuzzing step 82 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE a > toNullable(100) Query succeeded, using this AST as a start Fuzzing step 83 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE a > toNullable(100) Got boring AST Fuzzing step 84 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE a > toNullable(100) Got boring AST Fuzzing step 85 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE a > toNullable(100) Got boring AST Fuzzing step 86 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE a > toNullable(100) Got boring AST Fuzzing step 87 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > toNullable(100) Query succeeded, using this AST as a start Fuzzing step 88 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > toNullable(100) Got boring AST Fuzzing step 89 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE a > 100 WHERE a > toNullable(100) Query succeeded, using this AST as a start Fuzzing step 90 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE a > 100 WHERE a > toNullable(100) Got boring AST Fuzzing step 91 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE a > 100 WHERE greater(materialize(toLowCardinality('default_settings')), a, toNullable(100)) Error on processing query 'EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE a > 100 WHERE greater(materialize(toLowCardinality('default_settings')), a, toNullable(100))': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 3, should be 2: In scope SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE a > 100 WHERE greater(materialize(toLowCardinality('default_settings')), a, toNullable(100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 92 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE a > materialize(100) WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 94 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE a > materialize(100) WHERE a > 100 Got boring AST Fuzzing step 95 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE a > materialize(100) WHERE a > 100 Got boring AST Fuzzing step 96 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE a > materialize(100) WHERE a > 100 Got boring AST Fuzzing step 97 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 98 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 99 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 100 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 101 out of 1000 EXPLAIN optimize = true SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > 100 WHERE a > 100 Error on processing query 'EXPLAIN optimize = true SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > 100 WHERE a > 100': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 102 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 103 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 104 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 105 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 106 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 107 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 108 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 109 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 110 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 111 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 112 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 113 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 114 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 115 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 116 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 117 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE a > 100 WHERE greater(100) Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE a > 100 WHERE greater(100)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE a > 100 WHERE greater(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 118 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 119 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 120 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 121 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 122 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 123 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE a > 100 WHERE greater(a, equals(19, current_database, toNullable(toLowCardinality(19)), currentDatabase()), 100) Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE a > 100 WHERE greater(a, equals(19, current_database, toNullable(toLowCardinality(19)), currentDatabase()), 100)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE a > 100 WHERE greater(a, equals(19, current_database, toNullable(toLowCardinality(19)), currentDatabase()), 100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 124 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 125 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE greater(a) WHERE a > 100 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE greater(a) WHERE a > 100': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE greater(a) WHERE a > 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 126 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE a > toLowCardinality(100) WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 127 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE a > toLowCardinality(100) WHERE a > 100 GROUP BY (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)), 1091, current_database = currentDatabase(toNullable(12)) Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE a > toLowCardinality(100) WHERE a > 100 GROUP BY (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)), 1091, current_database = currentDatabase(toNullable(12))': Received from localhost:9000. DB::Exception: Positional argument number 1091 is out of bounds. Expected in range [1, 1]. In scope SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE a > toLowCardinality(100) WHERE a > 100 GROUP BY (normalizeQuery(query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')) AND (current_database = currentDatabase()) AND (event_date >= (today() - 1)), 1091, current_database = currentDatabase(toNullable(12)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 128 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > toLowCardinality(100) WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 129 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE a > toLowCardinality(100) WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 130 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > toLowCardinality(100) WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 131 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > toLowCardinality(100) WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 132 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 133 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 134 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 135 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 136 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 137 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 138 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > toLowCardinality(100) WHERE a > 100 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > toLowCardinality(100) WHERE a > 100': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > toLowCardinality(100) WHERE a > 100. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 139 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 140 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 141 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 142 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE greater(100) Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE greater(100)': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE a > 100 WHERE greater(100). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 143 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 144 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 145 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE a > 100 WHERE a > 100 Got boring AST Fuzzing step 146 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE a > 100 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 147 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE a > 100 WHERE a > materialize(toNullable(100)) Query succeeded, using this AST as a start Fuzzing step 148 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > 100 WHERE a > materialize(toNullable(100)) Query succeeded, using this AST as a start Fuzzing step 149 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > 100 WHERE a > materialize(100) Query succeeded, using this AST as a start Fuzzing step 150 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > 100 WHERE a > materialize(100) Got boring AST Fuzzing step 151 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > 100 WHERE a > materialize(100) Got boring AST Fuzzing step 152 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE a > 100 WHERE greater(normalizeQuery(toNullable(19), 'with 01091 as id select sum(number) from numbers_mt(1000000);'), a, materialize(toUInt256(100))) Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE a > 100 WHERE greater(normalizeQuery(toNullable(19), 'with 01091 as id select sum(number) from numbers_mt(1000000);'), a, materialize(toUInt256(100)))': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope SELECT * FROM test_alias_skip_idx__fuzz_31 PREWHERE a > 100 WHERE greater(normalizeQuery(toNullable(19), 'with 01091 as id select sum(number) from numbers_mt(1000000);'), a, materialize(toUInt256(100))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 153 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 PREWHERE a > materialize(100) WHERE a > materialize(100) Query succeeded, using this AST as a start Fuzzing step 154 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE a > materialize(100) WHERE a > materialize(100) Query succeeded, using this AST as a start Fuzzing step 155 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 PREWHERE a > materialize(100) WHERE a > materialize(100) Query succeeded, using this AST as a start Fuzzing step 156 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE a > materialize(100) Query succeeded, using this AST as a start Fuzzing step 157 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE a > materialize(100) Query succeeded, using this AST as a start Fuzzing step 158 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE a > materialize(100) Got boring AST Fuzzing step 159 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE a > materialize(100) Got boring AST Fuzzing step 160 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE a > materialize(100) Got boring AST Fuzzing step 161 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 WHERE a > materialize(100) Got boring AST Fuzzing step 162 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE greater(toUInt128(materialize(toLowCardinality(toNullable(toUInt256(19)))), toNullable(toUInt256(19), 19)), a, materialize(100)) Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE greater(toUInt128(materialize(toLowCardinality(toNullable(toUInt256(19)))), toNullable(toUInt256(19), 19)), a, materialize(100))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE greater(toUInt128(materialize(toLowCardinality(toNullable(toUInt256(19)))), toNullable(toUInt256(19), 19)), a, materialize(100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 163 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 164 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 165 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 166 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 167 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 168 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 169 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 170 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 171 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 172 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 173 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 174 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 175 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 176 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 177 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 178 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 179 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 180 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 181 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 182 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 183 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 184 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 185 out of 1000 EXPLAIN SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 186 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 187 out of 1000 EXPLAIN PIPELINE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 188 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 189 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 190 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 191 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 192 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 193 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 194 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 195 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 196 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 197 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 198 out of 1000 EXPLAIN QUERY TREE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 199 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 200 out of 1000 EXPLAIN AST SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 201 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 202 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 203 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 204 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 205 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 206 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 207 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 208 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 209 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 210 out of 1000 EXPLAIN ESTIMATE SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 211 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 212 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 213 out of 1000 EXPLAIN SYNTAX SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 214 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 215 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 WHERE a > 100 Got boring AST Fuzzing step 216 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 217 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 WHERE a > 100 Query succeeded, using this AST as a start Fuzzing step 218 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 219 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 Got boring AST Fuzzing step 220 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 221 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 222 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 223 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 224 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 225 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 226 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 227 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 228 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Got boring AST Fuzzing step 229 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 230 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 231 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 232 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE master_thread_id Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE master_thread_id': Received from localhost:9000. DB::Exception: Unknown expression identifier 'master_thread_id' in scope SELECT * FROM test_alias_skip_idx__fuzz_10 PREWHERE master_thread_id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 233 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 234 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 235 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 Got boring AST Fuzzing step 236 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 Got boring AST Fuzzing step 237 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 238 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 239 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 240 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 241 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 242 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 243 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 Got boring AST Fuzzing step 244 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 245 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_31 Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_31': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 246 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 247 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 248 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 Got boring AST Fuzzing step 249 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 250 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 251 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 252 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 253 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 254 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 255 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 256 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 257 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 258 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 259 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 261 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Got boring AST Fuzzing step 262 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Got boring AST Fuzzing step 263 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 264 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Got boring AST Fuzzing step 265 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 266 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 267 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Got boring AST Fuzzing step 268 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 GROUP BY toLowCardinality(toLowCardinality(100)) Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_7 GROUP BY toLowCardinality(toLowCardinality(100))': Received from localhost:9000. DB::Exception: Column default.test_alias_skip_idx__fuzz_7.c is not under aggregate function and not in GROUP BY keys. In query SELECT * FROM test_alias_skip_idx__fuzz_7 GROUP BY toLowCardinality(toLowCardinality(100)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x000000001109825e 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001109733c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 269 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Got boring AST Fuzzing step 270 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Got boring AST Fuzzing step 271 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Got boring AST Fuzzing step 272 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 273 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 274 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Got boring AST Fuzzing step 275 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 276 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 277 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 278 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Got boring AST Fuzzing step 279 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 280 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 281 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Got boring AST Fuzzing step 282 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 283 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 284 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 285 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(thread_id, (current_database = currentDatabase()) AND greaterOrEquals(19, materialize('default_settings'), today() - toUInt128(1)), master_thread_id) Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_13 WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(thread_id, (current_database = currentDatabase()) AND greaterOrEquals(19, materialize('default_settings'), today() - toUInt128(1)), master_thread_id)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'event_date' in scope SELECT * FROM test_alias_skip_idx__fuzz_13 WHERE (event_date >= (today() - materialize(1))) AND (query_id = id) AND notEquals(thread_id, (current_database = currentDatabase()) AND greaterOrEquals(19, materialize('default_settings'), today() - toUInt128(1)), master_thread_id). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 286 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 287 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 288 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 Got boring AST Fuzzing step 289 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 GROUP BY toNullable(toNullable(toUInt256(100))), toLowCardinality(toUInt128(materialize(100))), 1091, test_alias_skip_idx__fuzz_41 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_48 GROUP BY toNullable(toNullable(toUInt256(100))), toLowCardinality(toUInt128(materialize(100))), 1091, test_alias_skip_idx__fuzz_41': Received from localhost:9000. DB::Exception: Positional argument number 1091 is out of bounds. Expected in range [1, 1]. In scope SELECT * FROM test_alias_skip_idx__fuzz_48 GROUP BY toNullable(toNullable(toUInt256(100))), toLowCardinality(toUInt128(materialize(100))), 1091, test_alias_skip_idx__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 290 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM test_alias_skip_idx__fuzz_7 Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM test_alias_skip_idx__fuzz_7': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 291 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 Got boring AST Fuzzing step 292 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 293 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Got boring AST Fuzzing step 294 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 295 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE toUInt256(test_alias_skip_idx__fuzz_12, toLowCardinality(materialize(toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1)), 19)) Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE toUInt256(test_alias_skip_idx__fuzz_12, toLowCardinality(materialize(toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1)), 19))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_alias_skip_idx__fuzz_12' in scope SELECT * FROM test_alias_skip_idx__fuzz_10 WHERE toUInt256(test_alias_skip_idx__fuzz_12, toLowCardinality(materialize(toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1)), 19)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 296 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 298 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_7 Got boring AST Fuzzing step 299 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_7 Got boring AST Fuzzing step 300 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_7 Got boring AST Fuzzing step 301 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 302 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 303 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 304 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 305 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 306 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 307 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 308 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 309 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 310 out of 1000 EXPLAIN PIPELINE SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 311 out of 1000 EXPLAIN PIPELINE SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 312 out of 1000 EXPLAIN PIPELINE SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 313 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('toNullable'): toNullable(26), * FROM test_alias_skip_idx__fuzz_9. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 314 out of 1000 EXPLAIN PIPELINE SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 315 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 316 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 317 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 318 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 319 out of 1000 EXPLAIN SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 320 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 321 out of 1000 EXPLAIN AST SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 322 out of 1000 EXPLAIN SYNTAX SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 323 out of 1000 EXPLAIN SYNTAX SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 324 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 326 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_7 Got boring AST Fuzzing step 328 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_7 Got boring AST Fuzzing step 329 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_7 Got boring AST Fuzzing step 330 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 331 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 332 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 333 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 334 out of 1000 SELECT toNullable(26), * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 335 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 336 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 337 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 338 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 339 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 340 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 341 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 342 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 343 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE toUInt128(toUInt128(1091)) Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_45 PREWHERE toUInt128(toUInt128(1091))': Received from localhost:9000. DB::Exception: Illegal type UInt128 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a55b3 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 344 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 345 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 346 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 347 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 348 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 349 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 350 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 351 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 352 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 353 out of 1000 EXPLAIN QUERY TREE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 EXPLAIN QUERY TREE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 355 out of 1000 EXPLAIN QUERY TREE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 356 out of 1000 EXPLAIN QUERY TREE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 357 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 358 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 26, * FROM test_alias_skip_idx__fuzz_45': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('26'): 26, * FROM test_alias_skip_idx__fuzz_45. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 359 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 360 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 361 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 362 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 363 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 364 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 365 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 366 out of 1000 EXPLAIN ESTIMATE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 367 out of 1000 EXPLAIN ESTIMATE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 368 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 26, * FROM test_alias_skip_idx__fuzz_45': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('26'): 26, * FROM test_alias_skip_idx__fuzz_45. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 369 out of 1000 EXPLAIN SYNTAX SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 370 out of 1000 EXPLAIN SYNTAX SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 371 out of 1000 EXPLAIN SYNTAX SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 372 out of 1000 EXPLAIN SYNTAX SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 373 out of 1000 EXPLAIN PIPELINE SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 374 out of 1000 EXPLAIN SYNTAX SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 EXPLAIN SYNTAX SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 376 out of 1000 EXPLAIN SYNTAX SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 377 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 379 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 380 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_31 Got boring AST Fuzzing step 381 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_31 Got boring AST Fuzzing step 382 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 383 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_31 PREWHERE materialize(toUInt128(materialize(12))) Error on processing query 'SELECT 26, * FROM test_alias_skip_idx__fuzz_31 PREWHERE materialize(toUInt128(materialize(12)))': Received from localhost:9000. DB::Exception: Illegal type UInt128 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a55b3 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 384 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 385 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 386 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 387 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 388 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_6 Got boring AST Fuzzing step 389 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 390 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_48 Got boring AST Fuzzing step 391 out of 1000 EXPLAIN AST SELECT 26, * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 392 out of 1000 EXPLAIN SELECT 26, * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 EXPLAIN SELECT 26, * FROM test_alias_skip_idx__fuzz_48 Got boring AST Fuzzing step 394 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 26, * FROM test_alias_skip_idx__fuzz_48 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 26, * FROM test_alias_skip_idx__fuzz_48': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('26'): 26, * FROM test_alias_skip_idx__fuzz_48. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 395 out of 1000 EXPLAIN SELECT 26, * FROM test_alias_skip_idx__fuzz_48 Got boring AST Fuzzing step 396 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 SELECT 26, * FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 SELECT toLowCardinality(toNullable(26)), * FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 399 out of 1000 SELECT toLowCardinality(toNullable(26)), * FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 400 out of 1000 SELECT toLowCardinality(toNullable(26)), * FROM test_alias_skip_idx__fuzz_13 PREWHERE normalizeQuery(toNullable(1091), 'with 01091 as id select sum(number) from numbers_mt(1000000);') Error on processing query 'SELECT toLowCardinality(toNullable(26)), * FROM test_alias_skip_idx__fuzz_13 PREWHERE normalizeQuery(toNullable(1091), 'with 01091 as id select sum(number) from numbers_mt(1000000);')': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(toNullable(26)), * FROM test_alias_skip_idx__fuzz_13 PREWHERE normalizeQuery(toNullable(1091), 'with 01091 as id select sum(number) from numbers_mt(1000000);'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 401 out of 1000 SELECT toLowCardinality(26), * FROM test_alias_skip_idx__fuzz_13 PREWHERE toNullable(toNullable('WITH 01091 AS id SELECT 1;'), 26) Error on processing query 'SELECT toLowCardinality(26), * FROM test_alias_skip_idx__fuzz_13 PREWHERE toNullable(toNullable('WITH 01091 AS id SELECT 1;'), 26)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(26), * FROM test_alias_skip_idx__fuzz_13 PREWHERE toNullable(toNullable('WITH 01091 AS id SELECT 1;'), 26). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 402 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 404 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Got boring AST Fuzzing step 405 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 406 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 407 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Got boring AST Fuzzing step 408 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Got boring AST Fuzzing step 409 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Got boring AST Fuzzing step 410 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 411 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 412 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 413 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 414 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE test_alias_skip_idx__fuzz_5 Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE test_alias_skip_idx__fuzz_5': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_5' in scope SELECT * FROM test_alias_skip_idx__fuzz_48 PREWHERE test_alias_skip_idx__fuzz_5. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 416 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 Got boring AST Fuzzing step 417 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 Got boring AST Fuzzing step 418 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 420 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 421 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 422 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 423 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 424 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 425 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE toUInt128(1) Error on processing query 'SELECT * FROM test_alias_skip_idx__fuzz_13 PREWHERE toUInt128(1)': Received from localhost:9000. DB::Exception: Illegal type UInt128 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x00000000121a55b3 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::VirtualColumnUtils::filterBlockWithExpression(std::shared_ptr const&, DB::Block&) @ 0x00000000124fa333 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(std::shared_ptr const&, DB::MergeTreeData const&, std::vector, std::allocator>> const&, DB::ActionsDAG const*, std::shared_ptr) @ 0x0000000012869eb9 7. /build/contrib/llvm-project/libcxx/include/optional:344: DB::buildIndexes(std::optional&, DB::ActionsDAG const*, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000131ab3df 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1666: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x00000000131aaf9d 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::SourceStepWithFilter::applyFilters() @ 0x000000001321c79a 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryPlanOptimizations::optimizePrimaryKeyConditionAndLimit(std::vector> const&) @ 0x000000001321c573 11. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:122: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001321a9d3 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x0000000013190ee8 13. /build/contrib/llvm-project/libcxx/include/__memory/compressed_pair.h:36: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000131906ce 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001165cb4d 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001165c8fe 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 426 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 427 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 428 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 429 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 430 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 431 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 432 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 434 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 435 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 Got boring AST Fuzzing step 436 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 437 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Got boring AST Fuzzing step 438 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 439 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 440 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 441 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 442 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 443 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 444 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 445 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 446 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 447 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 448 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 449 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 450 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 451 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_8 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM test_alias_skip_idx__fuzz_8': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 452 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 453 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 454 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 455 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 456 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 457 out of 1000 SELECT * FROM test_alias_skip_idx__fuzz_48 Got boring AST Fuzzing step 458 out of 1000 SELECT toLowCardinality(toNullable(64)), * FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 459 out of 1000 SELECT toLowCardinality(toNullable(64)), * FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 460 out of 1000 SELECT toLowCardinality(toNullable(64)), * FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 461 out of 1000 SELECT toLowCardinality(toNullable(64)), * FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 462 out of 1000 SELECT toLowCardinality(toNullable(64)), * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 SELECT toLowCardinality(toNullable(64)), * FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 464 out of 1000 SELECT toLowCardinality(toNullable(64)), * FROM test_alias_skip_idx__fuzz_6 Got boring AST Fuzzing step 465 out of 1000 SELECT toLowCardinality(toNullable(toNullable(toLowCardinality(1)), 64)), * FROM test_alias_skip_idx__fuzz_45 Error on processing query 'SELECT toLowCardinality(toNullable(toNullable(toLowCardinality(1)), 64)), * FROM test_alias_skip_idx__fuzz_45': 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(toNullable(toLowCardinality(1)), 64)), * FROM test_alias_skip_idx__fuzz_45. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 466 out of 1000 SELECT toLowCardinality(toNullable(64)), * FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 467 out of 1000 SELECT toLowCardinality(toNullable(64)), * FROM test_alias_skip_idx__fuzz_31 Got boring AST Fuzzing step 468 out of 1000 SELECT toLowCardinality(toNullable(64)), * FROM test_alias_skip_idx__fuzz_31 Got boring AST Fuzzing step 469 out of 1000 SELECT toLowCardinality(toNullable(64)), * FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 470 out of 1000 SELECT toLowCardinality(toNullable(64)), * FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 471 out of 1000 SELECT toNullable(64), * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 472 out of 1000 SELECT 64, * FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 473 out of 1000 SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 474 out of 1000 SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 475 out of 1000 SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 476 out of 1000 SELECT 64, * FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 477 out of 1000 SELECT 64, * FROM test_alias_skip_idx__fuzz_13 Got boring AST Fuzzing step 478 out of 1000 SELECT 64, * FROM test_alias_skip_idx__fuzz_13 Got boring AST Fuzzing step 479 out of 1000 SELECT 64, * FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 480 out of 1000 SELECT 64, * FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 481 out of 1000 SELECT 64, * FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 482 out of 1000 SELECT toNullable(64), * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 483 out of 1000 SELECT toNullable(64), * FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 484 out of 1000 SELECT 64, * FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 485 out of 1000 EXPLAIN PIPELINE SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 486 out of 1000 EXPLAIN PIPELINE SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 487 out of 1000 EXPLAIN PIPELINE SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 488 out of 1000 EXPLAIN ESTIMATE SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 489 out of 1000 EXPLAIN ESTIMATE SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 490 out of 1000 EXPLAIN ESTIMATE SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 491 out of 1000 EXPLAIN ESTIMATE SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 492 out of 1000 EXPLAIN ESTIMATE SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 493 out of 1000 EXPLAIN AST SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 494 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 64, * FROM test_alias_skip_idx__fuzz_10': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('64'): 64, * FROM test_alias_skip_idx__fuzz_10. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 495 out of 1000 EXPLAIN AST SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 496 out of 1000 EXPLAIN PIPELINE SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 497 out of 1000 EXPLAIN SYNTAX SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 498 out of 1000 EXPLAIN SYNTAX SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 499 out of 1000 EXPLAIN SYNTAX SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 500 out of 1000 EXPLAIN SYNTAX SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 501 out of 1000 EXPLAIN SYNTAX SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 502 out of 1000 EXPLAIN SYNTAX SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 503 out of 1000 EXPLAIN SYNTAX SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 504 out of 1000 EXPLAIN AST SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 505 out of 1000 EXPLAIN AST SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 506 out of 1000 EXPLAIN AST SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 507 out of 1000 EXPLAIN PIPELINE SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 508 out of 1000 EXPLAIN AST SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 509 out of 1000 EXPLAIN AST SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 510 out of 1000 EXPLAIN AST SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 511 out of 1000 EXPLAIN AST SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 512 out of 1000 EXPLAIN SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 513 out of 1000 EXPLAIN AST SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 514 out of 1000 EXPLAIN AST SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 515 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 64, * FROM test_alias_skip_idx__fuzz_10': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('64'): 64, * FROM test_alias_skip_idx__fuzz_10. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 516 out of 1000 EXPLAIN PIPELINE SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 517 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 64, * FROM test_alias_skip_idx__fuzz_10': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('64'): 64, * FROM test_alias_skip_idx__fuzz_10. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 518 out of 1000 EXPLAIN AST SELECT 64, * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 519 out of 1000 SELECT toUInt128(64), * FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 520 out of 1000 SELECT toUInt128(64), * FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 521 out of 1000 SELECT toUInt128(64) FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 522 out of 1000 SELECT toUInt128(64) FROM test_alias_skip_idx__fuzz_31 Got boring AST Fuzzing step 523 out of 1000 SELECT toUInt128(64) FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 524 out of 1000 SELECT uniqExact(thread_id) > materialize(2), toUInt128(64) FROM test_alias_skip_idx__fuzz_13 Error on processing query 'SELECT uniqExact(thread_id) > materialize(2), toUInt128(64) FROM test_alias_skip_idx__fuzz_13': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT uniqExact(thread_id) > materialize(2), toUInt128(64) FROM test_alias_skip_idx__fuzz_13. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 525 out of 1000 SELECT toUInt128(64) FROM test_alias_skip_idx__fuzz_13 Got boring AST Fuzzing step 526 out of 1000 SELECT toUInt128(64) FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 527 out of 1000 SELECT toUInt128(64) FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 528 out of 1000 SELECT toUInt128(64) FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 529 out of 1000 SELECT toUInt128(64) FROM test_alias_skip_idx__fuzz_45 WHERE normalizeQuery(query) = normalizeQuery(toFixedString(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);'), 58)) Error on processing query 'SELECT toUInt128(64) FROM test_alias_skip_idx__fuzz_45 WHERE normalizeQuery(query) = normalizeQuery(toFixedString(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);'), 58))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT toUInt128(64) FROM test_alias_skip_idx__fuzz_45 WHERE normalizeQuery(query) = normalizeQuery(toFixedString(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);'), 58)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 27. ? @ 0x00007f2af3f87ac3 28. ? @ 0x00007f2af4019850 Fuzzing step 530 out of 1000 SELECT 64 FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 531 out of 1000 SELECT 64 FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 532 out of 1000 SELECT 64 FROM test_alias_skip_idx__fuzz_48 Got boring AST Fuzzing step 533 out of 1000 SELECT toNullable(64) FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 SELECT toNullable(64) FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 535 out of 1000 SELECT toNullable(64) FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 536 out of 1000 SELECT toNullable(64) FROM test_alias_skip_idx__fuzz_7 Got boring AST Fuzzing step 537 out of 1000 SELECT toNullable(64) FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 538 out of 1000 SELECT toNullable(64) FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 539 out of 1000 SELECT toNullable(64) FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 540 out of 1000 SELECT 64 FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 541 out of 1000 SELECT 64 FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 542 out of 1000 SELECT 64 FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 543 out of 1000 SELECT 64 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 544 out of 1000 SELECT 64 FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 545 out of 1000 SELECT 64 FROM test_alias_skip_idx__fuzz_7 Got boring AST Fuzzing step 546 out of 1000 SELECT 64 FROM test_alias_skip_idx__fuzz_8 GROUP BY toNullable(toUInt128(22)), toLowCardinality(toUInt128(19)), toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id), toLowCardinality(toUInt128(26)) Error on processing query 'SELECT 64 FROM test_alias_skip_idx__fuzz_8 GROUP BY toNullable(toUInt128(22)), toLowCardinality(toUInt128(19)), toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id), toLowCardinality(toUInt128(26))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 64 FROM test_alias_skip_idx__fuzz_8 GROUP BY toNullable(toUInt128(22)), toLowCardinality(toUInt128(19)), toNullable(toLowCardinality(100)) AND (thread_id != master_thread_id), toLowCardinality(toUInt128(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 547 out of 1000 SELECT 64 FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 548 out of 1000 SELECT 64 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 549 out of 1000 SELECT 64 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 550 out of 1000 SELECT 64 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 551 out of 1000 SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 553 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 554 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 555 out of 1000 EXPLAIN AST SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 556 out of 1000 EXPLAIN AST SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 557 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 558 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 559 out of 1000 EXPLAIN AST SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 560 out of 1000 EXPLAIN SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 561 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 562 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 563 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 564 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 565 out of 1000 EXPLAIN AST SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 566 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 567 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 568 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 569 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 570 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 571 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 572 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Got boring AST Fuzzing step 573 out of 1000 SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 574 out of 1000 SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 575 out of 1000 SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 577 out of 1000 SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 578 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 579 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_6 Got boring AST Fuzzing step 580 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(64) FROM test_alias_skip_idx__fuzz_6 Got boring AST Fuzzing step 581 out of 1000 SELECT toUInt256(toLowCardinality(19)), toUInt256(64) FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 582 out of 1000 SELECT toLowCardinality(19), toUInt256(64) FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 SELECT toLowCardinality(19), toUInt256(materialize(toUInt128(64))) FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 584 out of 1000 EXPLAIN PIPELINE compact = true SELECT toLowCardinality(19), toUInt256(materialize(toUInt128(64))) FROM test_alias_skip_idx__fuzz_31 Error on processing query 'EXPLAIN PIPELINE compact = true SELECT toLowCardinality(19), toUInt256(materialize(toUInt128(64))) FROM test_alias_skip_idx__fuzz_31': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 585 out of 1000 SELECT toLowCardinality(19), toUInt256(materialize(toUInt128(64))) FROM test_alias_skip_idx__fuzz_31 Got boring AST Fuzzing step 586 out of 1000 SELECT toLowCardinality(19), toUInt256(materialize(64)) FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 SELECT toLowCardinality(19), toUInt256(materialize(64)) FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 588 out of 1000 SELECT toLowCardinality(19), toUInt256(materialize(64)) FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 589 out of 1000 SELECT toLowCardinality(19), toUInt256(materialize(64)) FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 590 out of 1000 SELECT toLowCardinality(19), toUInt256(materialize(64)) FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 591 out of 1000 SELECT toLowCardinality(19), toUInt256(materialize(64)) FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 592 out of 1000 SELECT toLowCardinality(19), toUInt256(toFixedString(toLowCardinality('merge_expressions=0'), toLowCardinality(19)), materialize(64)) FROM test_alias_skip_idx__fuzz_31 Error on processing query 'SELECT toLowCardinality(19), toUInt256(toFixedString(toLowCardinality('merge_expressions=0'), toLowCardinality(19)), materialize(64)) FROM test_alias_skip_idx__fuzz_31': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt256'. Expected 1 argument, got 2 arguments: In scope SELECT toLowCardinality(19), toUInt256(toFixedString(toLowCardinality('merge_expressions=0'), toLowCardinality(19)), materialize(64)) FROM test_alias_skip_idx__fuzz_31. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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)::NameToUInt256, 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&) @ 0x00000000071719f8 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x000000000716b91b 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 593 out of 1000 SELECT toLowCardinality(19), toUInt256(64) FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 594 out of 1000 SELECT 19, toUInt256(64) FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 595 out of 1000 SELECT toLowCardinality(19), toUInt256(64) FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 596 out of 1000 SELECT toLowCardinality(19), toUInt256(64) FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 597 out of 1000 SELECT toLowCardinality(19), toUInt256(64) FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 598 out of 1000 SELECT toLowCardinality(19), toUInt256(64) FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 599 out of 1000 SELECT toLowCardinality(19), toUInt256(64) FROM test_alias_skip_idx__fuzz_48 Got boring AST Fuzzing step 600 out of 1000 SELECT toLowCardinality(toUInt256(19)), 64 FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 601 out of 1000 SELECT toLowCardinality(toUInt256(19)), 64 FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 602 out of 1000 SELECT toUInt256(19), 64 FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 603 out of 1000 SELECT toUInt256(19), 64 FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 SELECT 19, 64 FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 605 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 606 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 607 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 608 out of 1000 EXPLAIN AST graph = true SELECT 19 FROM test_alias_skip_idx__fuzz_13 Error on processing query 'EXPLAIN AST graph = true SELECT 19 FROM test_alias_skip_idx__fuzz_13': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 609 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 610 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 611 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 612 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 613 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_6 PREWHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 614 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_6 PREWHERE materialize(16) Got boring AST Fuzzing step 615 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_6 PREWHERE materialize(16) Got boring AST Fuzzing step 616 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_8 PREWHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 618 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 619 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 620 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 621 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 622 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 623 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 624 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 625 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 626 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 627 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 628 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 629 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 630 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 631 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('19'): 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 632 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('19'): 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 633 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 634 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 635 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 636 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 637 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 638 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 639 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 640 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 641 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 642 out of 1000 EXPLAIN AST SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 643 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 644 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('19'): 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 645 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 646 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 647 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 648 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Got boring AST Fuzzing step 649 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(materialize(16)) Query succeeded, using this AST as a start Fuzzing step 651 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(materialize(16)) Got boring AST Fuzzing step 652 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(materialize(16)) Got boring AST Fuzzing step 653 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_8 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 654 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_7 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 655 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_45 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 656 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_48 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 657 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_48 WHERE materialize(16) Got boring AST Fuzzing step 658 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_48 WHERE materialize(16) Got boring AST Fuzzing step 659 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_7 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 660 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 661 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 662 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Got boring AST Fuzzing step 663 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Got boring AST Fuzzing step 664 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Got boring AST Fuzzing step 665 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 666 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Got boring AST Fuzzing step 667 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('19'): 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 668 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 669 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Got boring AST Fuzzing step 670 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Got boring AST Fuzzing step 671 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Got boring AST Fuzzing step 672 out of 1000 EXPLAIN QUERY TREE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Got boring AST Fuzzing step 673 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 674 out of 1000 EXPLAIN SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 675 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('19'): 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 676 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 677 out of 1000 EXPLAIN PIPELINE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 679 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Got boring AST Fuzzing step 680 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Got boring AST Fuzzing step 681 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Got boring AST Fuzzing step 682 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Got boring AST Fuzzing step 683 out of 1000 EXPLAIN ESTIMATE SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Got boring AST Fuzzing step 684 out of 1000 EXPLAIN SYNTAX SELECT 19 FROM test_alias_skip_idx__fuzz_6 WHERE materialize(16) Query succeeded, using this AST as a start Fuzzing step 685 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 686 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 687 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 688 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 689 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 690 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 691 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 692 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 693 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 694 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 695 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 Got boring AST Fuzzing step 696 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_31 PREWHERE test_nested_alias_idx__fuzz_31 Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_31 PREWHERE test_nested_alias_idx__fuzz_31': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_31' in scope SELECT 19 FROM test_alias_skip_idx__fuzz_31 PREWHERE test_nested_alias_idx__fuzz_31. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 697 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 698 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_48 Got boring AST Fuzzing step 699 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 700 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_13 Got boring AST Fuzzing step 701 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 702 out of 1000 EXPLAIN QUERY TREE run_passes = true SELECT 19 FROM test_alias_skip_idx__fuzz_6 Error on processing query 'EXPLAIN QUERY TREE run_passes = true SELECT 19 FROM test_alias_skip_idx__fuzz_6': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 703 out of 1000 SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 704 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 705 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 706 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 707 out of 1000 EXPLAIN PIPELINE SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 708 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 709 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 710 out of 1000 EXPLAIN AST SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 711 out of 1000 EXPLAIN SYNTAX SELECT toNullable(19) FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 712 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 713 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 714 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 715 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_31 Got boring AST Fuzzing step 716 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 717 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 718 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 719 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 720 out of 1000 SELECT materialize(19) FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 721 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 722 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 723 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 724 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_48 Got boring AST Fuzzing step 725 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 726 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 727 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 728 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 729 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_31 Got boring AST Fuzzing step 730 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 731 out of 1000 SELECT toNullable(22), 19 FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 732 out of 1000 EXPLAIN `header, description` = true, actions = true SELECT toNullable(22), 19 FROM test_alias_skip_idx__fuzz_10 Error on processing query 'EXPLAIN `header, description` = true, actions = true SELECT toNullable(22), 19 FROM test_alias_skip_idx__fuzz_10': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 733 out of 1000 SELECT toNullable(22), toLowCardinality(toUInt128(19)) FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 734 out of 1000 SELECT toNullable(22), toLowCardinality(toUInt128(19)) FROM test_alias_skip_idx__fuzz_13 Got boring AST Fuzzing step 735 out of 1000 SELECT toNullable(22), toLowCardinality(toUInt128(19)) FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 736 out of 1000 SELECT toNullable(22), toUInt128(19) FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 737 out of 1000 SELECT 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 738 out of 1000 SELECT 22, toUInt128(uniqExact(100, thread_id) RESPECT NULLS >= event_date, 19) FROM test_alias_skip_idx__fuzz_13 Error on processing query 'SELECT 22, toUInt128(uniqExact(100, thread_id) RESPECT NULLS >= event_date, 19) FROM test_alias_skip_idx__fuzz_13': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT 22, toUInt128(uniqExact(100, thread_id) RESPECT NULLS >= event_date, 19) FROM test_alias_skip_idx__fuzz_13. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 739 out of 1000 SELECT 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 740 out of 1000 SELECT 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_6 Got boring AST Fuzzing step 741 out of 1000 SELECT 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_6 WHERE toNullable(materialize(toNullable(equals(normalizeQuery(query), toUInt256(toUInt256(1)), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')), 100))) Error on processing query 'SELECT 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_6 WHERE toNullable(materialize(toNullable(equals(normalizeQuery(query), toUInt256(toUInt256(1)), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')), 100)))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'query' in scope SELECT 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_6 WHERE toNullable(materialize(toNullable(equals(normalizeQuery(query), toUInt256(toUInt256(1)), normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);')), 100))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 16. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 19. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 Fuzzing step 742 out of 1000 SELECT 22, toUInt128(19) FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 743 out of 1000 SELECT 22, toUInt128(toUInt256(19)) FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 744 out of 1000 SELECT toNullable(toUInt128(22)), toUInt128(toUInt256(19)) FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 745 out of 1000 SELECT toNullable(toUInt128(22)), toUInt128(19) FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 746 out of 1000 SELECT toNullable(toUInt128(22)), toUInt128(19) FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 747 out of 1000 SELECT toNullable(toUInt128(22)), toUInt128(19) FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 748 out of 1000 SELECT toNullable(22), toUInt128(19) FROM test_alias_skip_idx__fuzz_48 Query succeeded, using this AST as a start Fuzzing step 749 out of 1000 SELECT toNullable(22), toUInt128(19) FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 750 out of 1000 SELECT toNullable(22), 19 FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 751 out of 1000 SELECT toNullable(22), 19 FROM test_alias_skip_idx__fuzz_10 WHERE toNullable('WITH 01091 AS id SELECT 1;', 26) Error on processing query 'SELECT toNullable(22), 19 FROM test_alias_skip_idx__fuzz_10 WHERE toNullable('WITH 01091 AS id SELECT 1;', 26)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toNullable(22), 19 FROM test_alias_skip_idx__fuzz_10 WHERE toNullable('WITH 01091 AS id SELECT 1;', 26). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 752 out of 1000 SELECT toNullable(22), 19 FROM test_alias_skip_idx__fuzz_13 Query succeeded, using this AST as a start Fuzzing step 753 out of 1000 SELECT toNullable(22), 19 FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 754 out of 1000 SELECT toNullable(toUInt256(toLowCardinality(19)), 22), 19 FROM test_alias_skip_idx__fuzz_8 Error on processing query 'SELECT toNullable(toUInt256(toLowCardinality(19)), 22), 19 FROM test_alias_skip_idx__fuzz_8': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toNullable(toUInt256(toLowCardinality(19)), 22), 19 FROM test_alias_skip_idx__fuzz_8. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 755 out of 1000 SELECT toNullable(22), materialize(19) FROM test_alias_skip_idx__fuzz_31 Query succeeded, using this AST as a start Fuzzing step 756 out of 1000 SELECT toNullable(22), materialize(19) FROM test_alias_skip_idx__fuzz_8 Query succeeded, using this AST as a start Fuzzing step 757 out of 1000 SELECT toNullable(22), materialize(19) FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 758 out of 1000 SELECT toNullable(22), materialize(19) FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 759 out of 1000 SELECT toNullable(22), materialize(19) FROM test_alias_skip_idx__fuzz_45 Got boring AST Fuzzing step 760 out of 1000 SELECT 22, 19 FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 761 out of 1000 SELECT 22, 19 FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 762 out of 1000 SELECT 22, 19 FROM test_alias_skip_idx__fuzz_6 PREWHERE equals(normalizeQuery(toUInt128(toUInt128(1091)), 'with 01091 as id select sum(number) from numbers_mt(1000000);')) Error on processing query 'SELECT 22, 19 FROM test_alias_skip_idx__fuzz_6 PREWHERE equals(normalizeQuery(toUInt128(toUInt128(1091)), 'with 01091 as id select sum(number) from numbers_mt(1000000);'))': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope SELECT 22, 19 FROM test_alias_skip_idx__fuzz_6 PREWHERE equals(normalizeQuery(toUInt128(toUInt128(1091)), 'with 01091 as id select sum(number) from numbers_mt(1000000);')). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 763 out of 1000 SELECT 22, 19 FROM test_alias_skip_idx__fuzz_6 Got boring AST Fuzzing step 764 out of 1000 SELECT 22, 19 FROM test_alias_skip_idx__fuzz_6 Got boring AST Fuzzing step 765 out of 1000 SELECT 22, 19 FROM test_alias_skip_idx__fuzz_6 Got boring AST Fuzzing step 766 out of 1000 SELECT 22, 19 FROM test_alias_skip_idx__fuzz_6 Got boring AST Fuzzing step 767 out of 1000 SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_6 Query succeeded, using this AST as a start Fuzzing step 768 out of 1000 SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_45 Query succeeded, using this AST as a start Fuzzing step 769 out of 1000 SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 770 out of 1000 SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_7 Query succeeded, using this AST as a start Fuzzing step 771 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 772 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 773 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 774 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 775 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 776 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 777 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 778 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 779 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 780 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 781 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 782 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 783 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 784 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 785 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 786 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 787 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 788 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 789 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 790 out of 1000 EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 791 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 792 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 793 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 795 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 796 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 797 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 798 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 799 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 801 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 802 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 803 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 804 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 805 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 806 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 807 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Got boring AST Fuzzing step 808 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 809 out of 1000 SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 Query succeeded, using this AST as a start Fuzzing step 810 out of 1000 SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_10 Query succeeded, using this AST as a start Fuzzing step 811 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Query succeeded, using this AST as a start Fuzzing step 812 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 813 out of 1000 SELECT 22, 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'SELECT 22, 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT 22, 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 814 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)): While processing SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c688a 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 9. /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) @ 0x000000001161bd8c 10. /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&) @ 0x000000001161baf1 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 12. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 16. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 17. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 815 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 816 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 817 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 818 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)): While processing SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c688a 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 9. /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) @ 0x000000001161bd8c 10. /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&) @ 0x000000001161baf1 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 12. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 16. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 17. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 819 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 820 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 821 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 822 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 823 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)): While processing SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c688a 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 9. /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) @ 0x000000001161bd8c 10. /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&) @ 0x000000001161baf1 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 12. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 16. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 17. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 824 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 825 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 826 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 827 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 828 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 829 out of 1000 SELECT 19 FROM test_alias_skip_idx__fuzz_48 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'SELECT 19 FROM test_alias_skip_idx__fuzz_48 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT 19 FROM test_alias_skip_idx__fuzz_48 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 830 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 831 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 832 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 833 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 834 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)): While processing SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c688a 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 9. /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) @ 0x000000001161bd8c 10. /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&) @ 0x000000001161baf1 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 12. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 16. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 17. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 835 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 836 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 837 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 838 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 839 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 840 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 841 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 842 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 843 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 844 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 845 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 846 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 847 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 848 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 849 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 850 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 851 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 852 out of 1000 SELECT toUInt256(22), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_31 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', 18, toNullable(26)) Error on processing query 'SELECT toUInt256(22), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_31 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', 18, toNullable(26))': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope SELECT toUInt256(22), toLowCardinality(19) FROM test_alias_skip_idx__fuzz_31 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', 18, toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 853 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)): While processing SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c688a 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 9. /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) @ 0x000000001161bd8c 10. /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&) @ 0x000000001161baf1 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 12. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 16. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 17. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 854 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 855 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 856 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 857 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 858 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 859 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 860 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 861 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 862 out of 1000 EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 863 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 864 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 865 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 866 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 867 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 868 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 869 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 870 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 871 out of 1000 SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_13 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_13 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_13 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 872 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 873 out of 1000 SELECT 22, 19 FROM test_alias_skip_idx__fuzz_7 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', 26) Error on processing query 'SELECT 22, 19 FROM test_alias_skip_idx__fuzz_7 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', 26)': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: FixedString(26). In query SELECT 22, 19 FROM test_alias_skip_idx__fuzz_7 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', 26). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 874 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 875 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 876 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 877 out of 1000 EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 878 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 879 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 880 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 881 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 882 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 883 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 884 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 885 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 886 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 887 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 888 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 889 out of 1000 EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 890 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 891 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 892 out of 1000 SELECT 22, 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(materialize(toNullable(100)), 26)) Error on processing query 'SELECT 22, 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(materialize(toNullable(100)), 26))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 22, 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(materialize(toNullable(100)), 26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 893 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 894 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)): While processing SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c688a 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 9. /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) @ 0x000000001161bd8c 10. /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&) @ 0x000000001161baf1 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 12. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 16. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 17. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 895 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 896 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 897 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 898 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 899 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 900 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 901 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 902 out of 1000 SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 903 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 904 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 905 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 906 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 907 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 908 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 909 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 910 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 911 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 912 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 913 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 914 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 915 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 916 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 917 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 918 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 919 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 920 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 921 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 922 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 923 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 924 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 925 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 926 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 927 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 928 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)): While processing SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c688a 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 9. /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) @ 0x000000001161bd8c 10. /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&) @ 0x000000001161baf1 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 12. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 16. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 17. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 929 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 930 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 931 out of 1000 EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 932 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 933 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 934 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 935 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 936 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 937 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 938 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 939 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 940 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 941 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 942 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 943 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 944 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 945 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 946 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 947 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)): While processing SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c688a 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 9. /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) @ 0x000000001161bd8c 10. /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&) @ 0x000000001161baf1 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 12. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 16. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 17. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 948 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 949 out of 1000 EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 950 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 951 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 952 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 953 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 954 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 955 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 956 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 957 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 958 out of 1000 EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 959 out of 1000 EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 960 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 961 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 962 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 963 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 964 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 965 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 966 out of 1000 EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN PIPELINE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 967 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 968 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)): While processing SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c688a 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 9. /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) @ 0x000000001161bd8c 10. /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&) @ 0x000000001161baf1 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 12. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 16. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 17. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 969 out of 1000 EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 970 out of 1000 EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN ESTIMATE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158d292 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 971 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 972 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 973 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 974 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 975 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 976 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 977 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 978 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 979 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 980 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 981 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 982 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 983 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('toUInt256'): toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 984 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 985 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)): While processing SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c688a 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 9. /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) @ 0x000000001161bd8c 10. /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&) @ 0x000000001161baf1 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 12. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 16. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 17. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 986 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 987 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 988 out of 1000 EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ce99 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 989 out of 1000 SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 990 out of 1000 EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN QUERY TREE SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)). In query SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x0000000011599b74 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158f022 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 991 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 992 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 993 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 994 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 995 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)): While processing SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c688a 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 9. /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) @ 0x000000001161bd8c 10. /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&) @ 0x000000001161baf1 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 12. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 16. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 17. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 996 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 997 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 998 out of 1000 EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Error on processing query 'EXPLAIN SYNTAX SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26))': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: Nullable(FixedString(26)): While processing SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111c688a 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cc380 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 9. /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) @ 0x000000001161bd8c 10. /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&) @ 0x000000001161baf1 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 12. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 16. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 17. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 999 out of 1000 EXPLAIN AST SELECT toUInt256(22), 19 FROM test_alias_skip_idx__fuzz_9 PREWHERE toFixedString('WITH 01091 AS id SELECT 1;', toNullable(26)) Got boring AST Fuzzing step 0 out of 1 Query succeeded, using this AST as a start DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_0 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_1 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_2 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_3 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_4 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_5 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_6 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_7 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_8 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_9 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_10 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_11 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_12 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_13 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_14 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_15 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_16 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_17 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_18 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_19 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_20 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_21 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_22 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_23 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_24 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_25 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_26 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_27 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_28 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_29 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_30 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_31 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_32 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_33 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_34 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_35 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_36 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_37 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_38 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_39 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_40 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_41 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_42 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_43 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_44 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_45 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_46 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_47 DROP TABLE IF EXISTS test_alias_skip_idx__fuzz_48 Fuzzing step 0 out of 1 Query succeeded, using this AST as a start DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_0 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_1 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_2 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_3 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_4 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_5 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_6 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_7 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_8 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_9 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_10 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_11 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_12 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_13 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_14 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_15 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_16 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_17 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_18 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_19 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_20 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_21 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_22 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_23 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_24 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_25 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_26 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_27 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_28 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_29 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_30 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_31 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_32 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_33 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_34 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_35 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_36 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_37 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_38 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_39 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_40 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_41 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_42 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_43 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_44 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_45 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_46 DROP TABLE IF EXISTS test_nested_alias_idx__fuzz_47 DROP TABLE IF EXISTS test_nested_alias_idx__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 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 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 2 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number) GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 3 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 4 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number) GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 5 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 6 out of 1000 EXPLAIN PIPELINE header = true, compact = true SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN PIPELINE header = true, compact = true SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number) GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 7 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 8 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 9 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 10 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 11 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 12 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 13 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 14 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 15 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 16 out of 1000 SELECT * FROM ( SELECT * FROM numbers(toDecimal32(100000000., 1)) GROUP BY number ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers(toDecimal32(100000000., 1)) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Illegal type Decimal(9, 1) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027afa1 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 17 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 18 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 19 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 20 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 21 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 22 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 23 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 24 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 25 out of 1000 SELECT * FROM ( SELECT * FROM numbers(toDecimal64(100000000., 5)) WHERE greater(toLowCardinality(100), a2, toLowCardinality(100)) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(toDecimal64(100000000., 5)) WHERE greater(toLowCardinality(100), a2, toLowCardinality(100)) GROUP BY number) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Illegal type Decimal(18, 5) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027afa1 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 26 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 27 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 28 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 29 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 30 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 31 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 32 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 33 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) PREWHERE uniqExact(thread_id) > toUInt256(2) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) PREWHERE uniqExact(thread_id) > toUInt256(2) GROUP BY number) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT * FROM numbers(100000000.) PREWHERE uniqExact(thread_id) > toUInt256(2) GROUP BY number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 34 out of 1000 SELECT * FROM ( SELECT test_alias_skip_idx__fuzz_43, * FROM numbers(materialize(100000000.)) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT test_alias_skip_idx__fuzz_43, * FROM numbers(materialize(100000000.)) GROUP BY number) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): materialize(100000000.). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000703ad2b 4. /build/src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903a10 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 6. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027ad2d 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001027a7e4 8. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 9. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 35 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 36 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 37 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 38 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 39 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 40 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 41 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 42 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 43 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 44 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 45 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 46 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 47 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 48 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 49 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 50 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 51 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 52 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 53 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 54 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 55 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 56 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 57 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) WITH ROLLUP Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number) GROUP BY GROUPING SETS ((number)) WITH ROLLUP': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 58 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 59 out of 1000 SELECT toNullable(materialize(12)), * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 60 out of 1000 EXPLAIN SELECT toNullable(12), * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 61 out of 1000 SELECT 12, * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 62 out of 1000 SELECT 12, * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 63 out of 1000 SELECT 12, * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 64 out of 1000 SELECT 12, * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 65 out of 1000 SELECT 12, * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 66 out of 1000 SELECT 12, * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 67 out of 1000 EXPLAIN QUERY TREE run_passes = true SELECT 12, * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN QUERY TREE run_passes = true SELECT 12, * FROM (SELECT * FROM numbers(100000000.) GROUP BY number) GROUP BY GROUPING SETS ((number))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 68 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 69 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 70 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 71 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 72 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 73 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) PREWHERE toUInt128(toUInt128(1091)) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) PREWHERE toUInt128(toUInt128(1091)) GROUP BY number WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Table function storage SystemNumbers (table _table_function.numbers) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b1dc0 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 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) @ 0x000000001167a47d 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&) @ 0x000000001167675c 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011661c30 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 74 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 75 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 76 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 77 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 78 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 79 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 80 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 81 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 82 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 83 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 84 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 85 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 86 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 87 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 88 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 89 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 90 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 92 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 93 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 94 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 95 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 96 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 97 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 98 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 99 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 100 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 101 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 102 out of 1000 SELECT * FROM ( SELECT test_nested_alias_idx__fuzz_4, * FROM numbers(100000000.) GROUP BY number ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT test_nested_alias_idx__fuzz_4, * FROM numbers(100000000.) GROUP BY number) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_4' in scope SELECT test_nested_alias_idx__fuzz_4, * FROM numbers(100000000.) GROUP BY number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 103 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 104 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 105 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 106 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) WITH TOTALS Got boring AST Fuzzing step 107 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) WITH TOTALS Got boring AST Fuzzing step 108 out of 1000 SELECT * FROM ( SELECT materialize('default_settings'), * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) WITH TOTALS Error on processing query 'SELECT * FROM (SELECT materialize('default_settings'), * FROM numbers(100000000.) GROUP BY number WITH TOTALS) GROUP BY GROUPING SETS ((number)) WITH TOTALS': Received from localhost:9000. DB::Exception: Column `materialize('default_settings')` is not under aggregate function and not in GROUP BY keys. In query SELECT * FROM (SELECT materialize('default_settings'), * FROM numbers(100000000.) GROUP BY number WITH TOTALS) GROUP BY GROUPING SETS ((number)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x000000001109825e 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001109733c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 109 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) WITH TOTALS Got boring AST Fuzzing step 110 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) WHERE toNullable(1091) GROUP BY GROUPING SETS ((number)) WITH TOTALS Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS) WHERE toNullable(1091) GROUP BY GROUPING SETS ((number)) WITH TOTALS': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 111 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 112 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 113 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS) GROUP BY GROUPING SETS ((number))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 114 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 115 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 116 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 117 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) WHERE 257 GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS) WHERE 257 GROUP BY GROUPING SETS ((number))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 118 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 119 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 120 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 121 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) WITH CUBE Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS) GROUP BY GROUPING SETS ((number)) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 122 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) WHERE test_nested_alias_idx__fuzz_3 WITH TOTALS Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS) WHERE test_nested_alias_idx__fuzz_3 WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_nested_alias_idx__fuzz_3' in scope SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS) WHERE test_nested_alias_idx__fuzz_3 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 123 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 124 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) WHERE toNullable(toUInt128(22)) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN SYNTAX SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS) WHERE toNullable(toUInt128(22)) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt128) of column for constant filter. Must be UInt8 or Nullable(UInt8).: While processing SELECT number FROM (SELECT number FROM numbers(100000000.) GROUP BY number HAVING toNullable(toUInt128(22))) WHERE toNullable(toUInt128(22)) GROUP BY number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Interpreters/ExpressionAnalyzer.cpp:2005: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111cceab 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001162bcc9 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 @ 0x0000000011623ef0 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) @ 0x000000001161f094 9. /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) @ 0x000000001161bd8c 10. /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&) @ 0x000000001161baf1 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000011593f7b 12. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011594230 13. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001159423b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158e4ce 16. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 17. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 125 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 126 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 127 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 128 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT toUInt128(64), * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN PIPELINE SELECT * FROM (SELECT toUInt128(64), * FROM numbers(100000000.) GROUP BY number WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Column `toUInt128(64)` is not under aggregate function and not in GROUP BY keys. In query SELECT * FROM (SELECT toUInt128(64), * FROM numbers(100000000.) GROUP BY number WITH TOTALS) GROUP BY GROUPING SETS ((number)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x000000001109825e 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001109733c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158ecc3 14. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 15. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 129 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 130 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 131 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 132 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 133 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 134 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 135 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 136 out of 1000 SELECT test_alias_skip_idx__fuzz_44, * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) PREWHERE today() - materialize(toLowCardinality(1)) GROUP BY GROUPING SETS ((number)) WITH ROLLUP Error on processing query 'SELECT test_alias_skip_idx__fuzz_44, * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS) PREWHERE today() - materialize(toLowCardinality(1)) GROUP BY GROUPING SETS ((number)) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 137 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 138 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 139 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 140 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 141 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 142 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 143 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 144 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 145 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 146 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 147 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 148 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 149 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 150 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 151 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 152 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 153 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 154 out of 1000 SELECT * FROM ( SELECT toLowCardinality(100), * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT toLowCardinality(100), * FROM numbers(100000000.) GROUP BY number WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Column `toLowCardinality(100)` is not under aggregate function and not in GROUP BY keys. In query SELECT * FROM (SELECT toLowCardinality(100), * FROM numbers(100000000.) GROUP BY number WITH TOTALS) GROUP BY GROUPING SETS ((number)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x000000001109825e 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001109733c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 155 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 156 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 157 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) PREWHERE uniqExact(thread_id) > 2 GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) PREWHERE uniqExact(thread_id) > 2 GROUP BY number WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT * FROM numbers(100000000.) PREWHERE uniqExact(thread_id) > 2 GROUP BY number WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 158 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 159 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 160 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 161 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 162 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 163 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 164 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 165 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 19.547468592 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 166 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 167 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 168 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 169 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 170 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 171 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 172 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 173 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 174 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) WITH TOTALS) GROUP BY GROUPING SETS ((number))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 175 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 176 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 177 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 178 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 179 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 180 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 181 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 182 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 183 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 184 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 185 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 186 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 187 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 188 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 189 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 190 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 191 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 192 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 193 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 194 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 195 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 197 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 198 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 199 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Timeout exceeded while receiving data from server. Waited for 10 seconds, timeout is 10 seconds. Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 20.217754919 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 200 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 201 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 202 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 203 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 204 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 205 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 206 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 207 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 208 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Timeout exceeded while receiving data from server. Waited for 10 seconds, timeout is 10 seconds. Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 20.668915672 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 209 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 210 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 211 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 212 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 213 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 214 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 215 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 216 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 217 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 218 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 219 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 220 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 221 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 222 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 223 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 224 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 225 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 226 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 227 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 228 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 229 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 230 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 231 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 232 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 233 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 234 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 235 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 236 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 237 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 238 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 239 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 240 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 241 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 242 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 243 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 244 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 245 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 246 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 247 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 248 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 249 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 250 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 251 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 252 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 253 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 254 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 255 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 256 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 257 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 258 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 259 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Timeout exceeded while receiving data from server. Waited for 10 seconds, timeout is 10 seconds. Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 21.39687217 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 261 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 19.895299232 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 262 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 263 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 264 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 265 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 266 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 267 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 268 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 269 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 270 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 271 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 272 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 273 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 274 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 275 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 276 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 277 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 278 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 279 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 280 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 281 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 282 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 283 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 284 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 285 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 286 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 287 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 288 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 289 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 290 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 291 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 292 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 293 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 294 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 295 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 297 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 298 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 299 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 300 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 301 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 302 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 19.018101804 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 303 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 304 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 305 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 306 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 307 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 308 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 309 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 310 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 311 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 312 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 313 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 314 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 315 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 316 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 317 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 318 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 319 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 320 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 321 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 322 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 323 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 324 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 326 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 328 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 329 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 330 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 331 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 332 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 333 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 334 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 335 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 336 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 337 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 338 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 339 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 340 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 341 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 342 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 343 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 344 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 345 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 346 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 347 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 348 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 349 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 350 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 351 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 352 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 353 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 355 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 356 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 357 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 358 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 359 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 360 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 361 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 362 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 363 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 364 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 365 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 366 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 367 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 368 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 19.445983105 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 369 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 370 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 371 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 372 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 373 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 374 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 376 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 378 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 379 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 380 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 381 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 382 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) WITH CUBE Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number)) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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&) @ 0x00000000110480cb 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 383 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 384 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 385 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 386 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 387 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 388 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 389 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 390 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 391 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 392 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 394 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 395 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 396 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 397 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 399 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 400 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 401 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 402 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 403 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 404 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 405 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 406 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 407 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 408 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 409 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 410 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 411 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 412 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 413 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 414 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 415 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 416 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 417 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 418 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 420 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 421 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 422 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 423 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 424 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 425 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 426 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 427 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 428 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 429 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 19.46369119 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 430 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 431 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) WHERE toFixedString(toNullable('merge_expressions=0'), 19) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) WHERE toFixedString(toNullable('merge_expressions=0'), 19) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: Nullable(FixedString(19)). In query SELECT * FROM numbers(100000000.) WHERE toFixedString(toNullable('merge_expressions=0'), 19) GROUP BY number WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 11. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 12. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 16. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 432 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 433 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 434 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 435 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 436 out of 1000 SELECT * FROM ( SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)), * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)), * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'current_database' in scope SELECT (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)), * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 Fuzzing step 437 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 438 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 439 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 440 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 441 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 442 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 443 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 444 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH ROLLUP WITH CUBE WITH TOTALS ) WHERE toLowCardinality(1091) GROUP BY GROUPING SETS ((number)) WITH TOTALS Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH ROLLUP WITH CUBE WITH TOTALS) WHERE toLowCardinality(1091) GROUP BY GROUPING SETS ((number)) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 83 ('CUBE'): CUBE WITH TOTALS) WHERE toLowCardinality(1091) GROUP BY GROUPING SETS ((number)) WITH TOTALS. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 446 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 447 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 448 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 449 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 450 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Timeout exceeded while receiving data from server. Waited for 10 seconds, timeout is 10 seconds. Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 21.068442538 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 451 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 452 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 453 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 454 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 455 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 456 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 457 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 458 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 459 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 460 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 461 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 462 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 464 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 465 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 466 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 467 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 468 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 469 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 470 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 471 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 472 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 473 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 474 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 475 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 476 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 477 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 478 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 479 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 480 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 481 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 482 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 483 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 484 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Timeout exceeded while receiving data from server. Waited for 10 seconds, timeout is 10 seconds. Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 20.376681298 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 485 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 486 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 487 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 488 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 489 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 490 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 491 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 492 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 493 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 494 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 495 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 496 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 497 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 498 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 499 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 500 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 501 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 502 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 503 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 504 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 505 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 506 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 507 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 508 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 509 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Timeout exceeded while receiving data from server. Waited for 10 seconds, timeout is 10 seconds. Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 20.996330311 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 510 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 511 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 512 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 513 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 514 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 515 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 19.465738637 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 516 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 517 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 518 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 519 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 520 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 521 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 522 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 523 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 524 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 525 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 526 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 527 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 528 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 529 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 530 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 531 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 532 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 533 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 534 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 535 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 536 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 537 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 538 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 539 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 540 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Timeout exceeded while receiving data from server. Waited for 10 seconds, timeout is 10 seconds. Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 20.706873947 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 541 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 18.640418828 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 542 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 543 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 544 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 545 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 546 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 547 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 548 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 549 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 550 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 551 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 553 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Timeout exceeded while receiving data from server. Waited for 10 seconds, timeout is 10 seconds. Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 21.467424609 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 554 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 555 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 556 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 558 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 559 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 560 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 561 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 562 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 563 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Timeout exceeded while receiving data from server. Waited for 10 seconds, timeout is 10 seconds. Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 20.803766807 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 564 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 565 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 566 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 567 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 568 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 569 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 570 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 571 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 572 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 573 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 574 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 575 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 576 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 577 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 578 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 579 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 580 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 581 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 582 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 584 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 585 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 586 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 587 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 588 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 589 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 590 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 591 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Timeout exceeded while receiving data from server. Waited for 10 seconds, timeout is 10 seconds. Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 21.673802695 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 592 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 593 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 594 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 595 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 596 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 597 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 598 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 599 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 600 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 601 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 602 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 603 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 605 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 606 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 607 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 608 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 609 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 610 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 611 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 612 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 613 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 614 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 616 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 617 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 618 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 619 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 620 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 621 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 622 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 623 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 624 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 625 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 626 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 627 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 628 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 629 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 630 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 631 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 632 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 19.058158064 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 633 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 634 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 635 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 636 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 637 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Timeout exceeded while receiving data from server. Waited for 10 seconds, timeout is 10 seconds. Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 21.370947903 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 638 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 639 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 640 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 641 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 642 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 643 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 644 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 645 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 646 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 647 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 648 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 649 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 650 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 651 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 652 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 653 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 654 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 655 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 656 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 657 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 658 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 659 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 660 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 661 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 662 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 663 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 664 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 665 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 666 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 667 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 668 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 669 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 670 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 671 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 672 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 673 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 674 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 675 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 676 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 677 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 19.465591386 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 678 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 679 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 680 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 681 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 682 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 683 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 684 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 685 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 686 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 687 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 688 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 689 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 690 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 691 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 692 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 693 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 694 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 695 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 696 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 697 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 698 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 699 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 700 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 701 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 702 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 703 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 704 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 705 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 706 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 707 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 708 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 709 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 710 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 711 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 712 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 713 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 714 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 715 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 716 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 717 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 718 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 719 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 720 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 721 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 722 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 723 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 724 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 725 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 726 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 727 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 728 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 729 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 730 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Timeout exceeded while receiving data from server. Waited for 10 seconds, timeout is 10 seconds. Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 21.056040372 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 731 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 732 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 733 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 734 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 735 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 736 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Timeout exceeded while receiving data from server. Waited for 10 seconds, timeout is 10 seconds. Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 21.119892776 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 737 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 738 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 739 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 740 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 741 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 742 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 743 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 744 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 745 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 746 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 747 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 748 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 749 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 750 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 751 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 752 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 753 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 754 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 755 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 756 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 757 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 758 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 759 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 760 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 761 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 762 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 763 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 764 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 765 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 766 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 767 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 768 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 769 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 770 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 771 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 772 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 773 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 774 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 775 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 776 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 777 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 778 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 779 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 780 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 781 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 782 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 783 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 784 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 785 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 786 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 787 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) PREWHERE toNullable(materialize(materialize(1091))) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) PREWHERE toNullable(materialize(materialize(1091))) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Table function storage SystemNumbers (table _table_function.numbers) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b1dc0 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 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) @ 0x000000001167a47d 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&) @ 0x000000001167675c 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011661c30 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 788 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 789 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 790 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 791 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 792 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 793 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 794 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 795 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 796 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 797 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 798 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 799 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 800 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 801 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 802 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 803 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 804 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 805 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 806 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 807 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 808 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 809 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 810 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 811 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 812 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 813 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 814 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 815 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 19.086166672 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 816 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 817 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 818 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 819 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 820 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 821 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 822 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 823 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 824 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 825 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 826 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 827 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 828 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 829 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 830 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 831 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 832 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 833 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 834 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 835 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 836 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 837 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 838 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 839 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 840 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 841 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 842 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 843 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 844 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 845 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 846 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 847 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 848 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 849 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 850 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 851 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 852 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 853 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 854 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) WITH TOTALS Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 855 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 856 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 857 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 858 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 859 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 860 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 861 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 862 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 863 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 864 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 865 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 866 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 867 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 868 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 869 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 870 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 871 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 872 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 873 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 874 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 875 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 876 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 877 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 19.381187227 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 878 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 879 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 880 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 881 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 882 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 883 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 884 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 885 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 886 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Timeout exceeded while receiving data from server. Waited for 10 seconds, timeout is 10 seconds. Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 21.144925525 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 887 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 888 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 889 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 890 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 18.82963318 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 891 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 892 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 893 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 894 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 895 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 896 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 897 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 898 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 899 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 900 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 901 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 902 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 903 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 904 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 905 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 906 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 907 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 908 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 909 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 910 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 911 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 912 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 913 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 914 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 915 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 916 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 917 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 918 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 919 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 920 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 921 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 922 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 923 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 924 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 925 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 18.340767471 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 926 out of 1000 SELECT * FROM ( SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), * FROM numbers(100000000.) WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT materialize(toNullable('WITH 01091 AS id SELECT 1;')), * FROM numbers(100000000.) WITH TOTALS) GROUP BY GROUPING SETS ((number))': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 927 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 928 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 929 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 930 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 931 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 932 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 933 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 934 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 935 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 936 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 937 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 938 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Timeout exceeded while receiving data from server. Waited for 10 seconds, timeout is 10 seconds. Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 20.082298225 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 939 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 940 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 941 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 942 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 943 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 944 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 945 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 946 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 947 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 948 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 949 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 950 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 19.902816595 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 951 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 19.039070085 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 952 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 953 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 954 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 955 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 956 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 957 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 958 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 959 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 960 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 961 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 962 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 963 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 964 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 965 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 966 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 967 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 968 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 969 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 970 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 971 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 972 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 973 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 974 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 975 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 976 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 977 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 978 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 979 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 980 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 981 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 982 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 983 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 984 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 985 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 19.481410874 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 986 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 987 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 19.744666373 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 988 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 989 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 990 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 991 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 992 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 993 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 994 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 995 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 996 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 997 out of 1000 SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Error on processing query 'SELECT * FROM (SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS) GROUP BY GROUPING SETS ((number))': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 18.936043326 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 998 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Query succeeded, using this AST as a start Fuzzing step 999 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers(100000000.) GROUP BY number WITH CUBE WITH TOTALS ) GROUP BY GROUPING SETS ((number)) Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 2 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 3 out of 1000 EXPLAIN actions = true, indexes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN actions = true, indexes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "actions" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 4 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 5 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 6 out of 1000 EXPLAIN indexes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN indexes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 7 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 8 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 9 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true, compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true, compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 10 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 11 out of 1000 EXPLAIN `header, description` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN `header, description` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 12 out of 1000 EXPLAIN QUERY TREE run_passes = true, passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN QUERY TREE run_passes = true, passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 13 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 14 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 15 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 16 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 17 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 18 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 19 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 20 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 21 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 22 out of 1000 EXPLAIN QUERY TREE run_passes = true, passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN QUERY TREE run_passes = true, passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 23 out of 1000 EXPLAIN QUERY TREE dump_ast = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN QUERY TREE dump_ast = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 24 out of 1000 EXPLAIN json = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN json = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 25 out of 1000 EXPLAIN QUERY TREE run_passes = true, passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN QUERY TREE run_passes = true, passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 26 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 27 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 28 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 29 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 30 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 31 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 32 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 33 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 34 out of 1000 SELECT normalizeQuery(toUInt128(toNullable(1091)), 'with 01091 as id select sum(number) from numbers_mt(1000000);'), * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) PREWHERE toNullable(toUInt256(19), 19) GROUP BY number Error on processing query 'SELECT normalizeQuery(toUInt128(toNullable(1091)), 'with 01091 as id select sum(number) from numbers_mt(1000000);'), * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) PREWHERE toNullable(toUInt256(19), 19) GROUP BY number': Received from localhost:9000. DB::Exception: Number of arguments for function normalizeQuery doesn't match: passed 2, should be 1: In scope SELECT normalizeQuery(toUInt128(toNullable(1091)), 'with 01091 as id select sum(number) from numbers_mt(1000000);'), * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) PREWHERE toNullable(toUInt256(19), 19) GROUP BY number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 35 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 36 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) PREWHERE materialize(toLowCardinality('default_settings')) WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) PREWHERE materialize(toLowCardinality('default_settings')) WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: LowCardinality(String). In query SELECT * FROM numbers_mt(100000000.) PREWHERE materialize(toLowCardinality('default_settings')) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095e4d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 11. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 12. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 16. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 25. ? @ 0x00007f2af3f87ac3 26. ? @ 0x00007f2af4019850 Fuzzing step 37 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 38 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 39 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 40 out of 1000 SELECT uniqExact(toNullable(1), thread_id) > 2, * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) WHERE toLowCardinality(1091) GROUP BY number Error on processing query 'SELECT uniqExact(toNullable(1), thread_id) > 2, * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) WHERE toLowCardinality(1091) GROUP BY number': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'thread_id' in scope SELECT uniqExact(toNullable(1), thread_id) > 2, * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) WHERE toLowCardinality(1091) GROUP BY number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 41 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 42 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 43 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 44 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 45 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(toNullable(12), 100000000.) GROUP BY number ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(toNullable(12), 100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt8) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000102799cf 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 46 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 47 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 48 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 49 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 50 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 51 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 52 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 53 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 54 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 55 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 56 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 58 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 59 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 60 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 61 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 62 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 63 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 64 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 65 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 66 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(toLowCardinality(25), 100000000.) GROUP BY number ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(toLowCardinality(25), 100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt8) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000102799cf 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 67 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 68 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 69 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 70 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 71 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 72 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 14.896832853 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 73 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 74 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 75 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 76 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 77 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 78 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 17.173203163 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 79 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 80 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 81 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) WITH TOTALS Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 21. ? @ 0x00007f2af3f87ac3 22. ? @ 0x00007f2af4019850 Fuzzing step 82 out of 1000 SELECT * FROM ( SELECT greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), * FROM numbers_mt(100000000.) WHERE greaterOrEquals(today() - 1) GROUP BY number ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), * FROM numbers_mt(100000000.) WHERE greaterOrEquals(today() - 1) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT greater(toLowCardinality(toLowCardinality(100)), a2, event_date, -2147483649, toNullable(100)), * FROM numbers_mt(100000000.) WHERE greaterOrEquals(today() - 1) GROUP BY number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 83 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 84 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 85 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 86 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 87 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 88 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 89 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 90 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 91 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 92 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 93 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 94 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 95 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 96 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 97 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 98 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 99 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 100 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 101 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 102 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 103 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 104 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 105 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 106 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 107 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 108 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 109 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 110 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 111 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 112 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 113 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 114 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 115 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 116 out of 1000 SELECT a > 100, * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'SELECT a > 100, * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope SELECT a > 100, * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 117 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 118 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 119 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 120 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 121 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 122 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 123 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 124 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 125 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 126 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 127 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 128 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 129 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 130 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 131 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 132 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 133 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 134 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 135 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 136 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 137 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 138 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 140 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 141 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 142 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 143 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 144 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 145 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 146 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 147 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 148 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 149 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 150 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(uniqExact(materialize(1), thread_id) IGNORE NULLS, 100000000.) GROUP BY number ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(uniqExact(materialize(1), thread_id) IGNORE NULLS, 100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Aggregate function uniqExact(materialize(1), thread_id) IGNORE NULLS is found in wrong place in query: While processing uniqExact(materialize(1), thread_id) IGNORE NULLS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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/Interpreters/GetAggregatesVisitor.h:0: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x00000000111da221 5. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111d9e29 6. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x00000000118992fd 7. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903331 8. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 9. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000010279f8d 10. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000102799cf 11. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 12. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e Fuzzing step 151 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 152 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number WITH ROLLUP Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number WITH ROLLUP': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 17.990109126 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 153 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 154 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 155 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 156 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 157 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(materialize(toUInt256(toNullable(19))), 100000000.) GROUP BY number ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(materialize(toUInt256(toNullable(19))), 100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): materialize(_CAST('19', 'Nullable(UInt256)')). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000703ad2b 4. /build/src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x0000000011903a10 5. /build/contrib/llvm-project/libcxx/include/optional:344: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000011903df9 6. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:513: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000010279f8d 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:79: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000102799cf 8. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 9. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 158 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 159 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 160 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 161 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 162 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 163 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 164 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 165 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 166 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 167 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 168 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 169 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 170 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 171 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 172 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 173 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 174 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 175 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 176 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 177 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 178 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 179 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 180 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 181 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) WITH TOTALS) GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 182 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 183 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 184 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 185 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 186 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 15.664516334 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 187 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) PREWHERE greater(100, a2, toLowCardinality(toLowCardinality(19, toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091), 1), materialize(1091), toNullable(19)), event_date, 1091, -2147483649, 100) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) PREWHERE greater(100, a2, toLowCardinality(toLowCardinality(19, toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091), 1), materialize(1091), toNullable(19)), event_date, 1091, -2147483649, 100) GROUP BY number': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a2' in scope SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) PREWHERE greater(100, a2, toLowCardinality(toLowCardinality(19, toNullable(toLowCardinality(test_nested_alias_idx__fuzz_5, 1), 1091), 1), materialize(1091), toNullable(19)), event_date, 1091, -2147483649, 100) GROUP BY number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 188 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 189 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) WHERE toUInt256(26) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) WHERE toUInt256(26) GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 190 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 191 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) WHERE -1 GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) WHERE -1 GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000121a5188 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x00000000116a6def 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001169f469 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011662a33 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 18. ? @ 0x00007f2af3f87ac3 19. ? @ 0x00007f2af4019850 Fuzzing step 192 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY number Got boring AST Fuzzing step 193 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 194 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 195 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 196 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 197 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 198 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 199 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(toNullable(100000000.)) WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(toNullable(100000000.)) WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Illegal type Nullable(Float64) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 200 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) PREWHERE greater(100) GROUP BY number WITH ROLLUP WITH TOTALS ) WITH TOTALS Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) PREWHERE greater(100) GROUP BY number WITH ROLLUP WITH TOTALS) WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: In scope SELECT * FROM numbers_mt(100000000.) PREWHERE greater(100) GROUP BY number WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 201 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number WITH ROLLUP Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS) GROUP BY number WITH ROLLUP': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 19.445785759 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 202 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 15.868541695 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 203 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 204 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 205 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 206 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 207 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 208 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 209 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 210 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 211 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 212 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 213 out of 1000 SELECT * FROM ( SELECT materialize(toNullable(toUInt128(100))), * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT materialize(toNullable(toUInt128(100))), * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Column `materialize(toNullable(toUInt128(100)))` is not under aggregate function and not in GROUP BY keys. In query SELECT * FROM (SELECT materialize(toNullable(toUInt128(100))), * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS) GROUP BY number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x000000001109825e 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001109733c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 214 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 215 out of 1000 SELECT test_alias_skip_idx__fuzz_10, * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Error on processing query 'SELECT test_alias_skip_idx__fuzz_10, * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_10' in scope SELECT test_alias_skip_idx__fuzz_10, * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS) GROUP BY number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 216 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 217 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 218 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) PREWHERE toUInt128(toNullable(100), toUInt256(100)) GROUP BY number WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) PREWHERE toUInt128(toNullable(100), toUInt256(100)) GROUP BY number WITH TOTALS) GROUP BY number': 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 * FROM numbers_mt(100000000.) PREWHERE toUInt128(toNullable(100), toUInt256(100)) GROUP BY number WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 219 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 220 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 221 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 222 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 223 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 224 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 225 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) PREWHERE toDecimal256(toDecimal128(0., 25), 64) GROUP BY number WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) PREWHERE toDecimal256(toDecimal128(0., 25), 64) GROUP BY number WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Table function storage SystemNumbers (table _table_function.numbers_mt) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b1dc0 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 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) @ 0x000000001167a47d 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&) @ 0x000000001167675c 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011661c30 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 226 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 227 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 228 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 229 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 230 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 231 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 232 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 233 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 234 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 235 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 236 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 237 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 238 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 239 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 240 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 241 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 242 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 243 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 244 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 245 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 246 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 247 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 248 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number WITH CUBE Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS) GROUP BY number WITH CUBE': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 18.883334964 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 249 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 250 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 251 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 252 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 253 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 254 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 255 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 256 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 257 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 258 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 259 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 261 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS) GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 262 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 263 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 264 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 265 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 266 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 267 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 268 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 269 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) WHERE toNullable(toLowCardinality(toNullable(toFixedString('merge_expressions=0', 19)))) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS) WHERE toNullable(toLowCardinality(toNullable(toFixedString('merge_expressions=0', 19)))) GROUP BY number': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: LowCardinality(Nullable(FixedString(19))). In query SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS) WHERE toNullable(toLowCardinality(toNullable(toFixedString('merge_expressions=0', 19)))) GROUP BY number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&&) @ 0x000000001098850b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x00000000110962aa 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011095ef5 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046eb9 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 270 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 271 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 272 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 273 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 274 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 275 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 276 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 277 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 278 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 279 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) WITH TOTALS) GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 280 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(toLowCardinality(100000000.)) GROUP BY number WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(toLowCardinality(100000000.)) GROUP BY number WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(Float64) expression, must be numeric type. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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/TableFunctions/TableFunctionNumbers.cpp:0: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001027a201 5. /build/src/TableFunctions/TableFunctionNumbers.cpp:80: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000010279a44 6. /build/src/TableFunctions/ITableFunction.cpp:36: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000104d0ec8 7. /build/src/Interpreters/Context.cpp:2234: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000110fb352 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4838: DB::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&, bool) @ 0x0000000011050ee4 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073be1 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 281 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 282 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 283 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 284 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 285 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 286 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 287 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 288 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 289 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 290 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 291 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 292 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 293 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 294 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 295 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 298 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 299 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 300 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 301 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 302 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 303 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 304 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 305 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 306 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 307 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 308 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 309 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 310 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 311 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 16.990746701 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 312 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 313 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 16.854393148 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 314 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 315 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 316 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 317 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 318 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 319 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 320 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 321 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 322 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 323 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 324 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 326 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 328 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 329 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 330 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 331 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 332 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 333 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 334 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 335 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 336 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 337 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 338 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 339 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 340 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 341 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 17.403654739 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 342 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 343 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 344 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 14.826203003 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 345 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 346 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 347 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 348 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 349 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 350 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 17.069103267 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 351 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 352 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 353 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 354 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 355 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 356 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 357 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 358 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 359 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 360 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 361 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 362 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 363 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 364 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 365 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 366 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 367 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 368 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 369 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 370 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 371 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 372 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 373 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 374 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 375 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 377 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 378 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 379 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 380 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 381 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 382 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 383 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 384 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 385 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 386 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 387 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 388 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 389 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 390 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 391 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 392 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 394 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 395 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 396 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 398 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 399 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 400 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 401 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 402 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 403 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 404 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 405 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 406 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 15.544252792 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 407 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 408 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 409 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 410 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 411 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 412 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 413 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 414 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 16.752560898 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 415 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 416 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 417 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 418 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 419 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 420 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 421 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 422 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 423 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 424 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 425 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 426 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 427 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 428 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 429 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 430 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 431 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 432 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 433 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 434 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 435 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 436 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 437 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 438 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 439 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 440 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 441 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 442 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 15.793950373 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 443 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 444 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 445 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 446 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 447 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 17.388503893 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 448 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 449 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 450 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 451 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 452 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 453 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 454 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 455 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 456 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 457 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 458 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 459 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 460 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 461 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 462 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 464 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 465 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 466 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 15.685477549 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 467 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 468 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 469 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 470 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 471 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 472 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 473 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 474 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 475 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 476 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 477 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 15.037553922 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 478 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 479 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 480 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 481 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 482 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 483 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 484 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 485 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 486 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 488 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 489 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 490 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 491 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 492 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 493 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 494 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 495 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 496 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 497 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 498 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 499 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 500 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 501 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 502 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 503 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 504 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 505 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 506 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 507 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 508 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 509 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 510 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 511 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 512 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 513 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 514 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 515 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 516 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 517 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 518 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 519 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 520 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 521 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 522 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 523 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 524 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 525 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 526 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 527 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 528 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 529 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 530 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 531 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 532 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 533 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 17.365455013 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 535 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 536 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 537 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 538 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 539 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 540 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 541 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 542 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 543 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 544 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 545 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 546 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 547 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 548 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 549 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 550 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 551 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 553 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 554 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 555 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 556 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 557 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 558 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 559 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 560 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 561 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 562 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 564 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 565 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 566 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 567 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 568 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 569 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 570 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 571 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 573 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 574 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 575 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 576 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 577 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 578 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 16.48123041 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 579 out of 1000 SELECT * FROM ( SELECT 1048576, * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT 1048576, * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Column `1048576` is not under aggregate function and not in GROUP BY keys. In query SELECT * FROM (SELECT 1048576, * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x000000001109825e 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001109733c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 580 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 581 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 582 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 16.257335691 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 583 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 584 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 585 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 586 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 588 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 589 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 590 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 591 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 592 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 593 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 594 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 595 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 596 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 597 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 598 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 599 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 600 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 601 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 602 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 603 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 605 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 606 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 607 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 608 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 609 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 610 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 611 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 612 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 613 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 614 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 615 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 616 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 618 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 619 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 620 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 621 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 622 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 623 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 624 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 625 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 626 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 627 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 628 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 629 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 630 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 631 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 17.076823524 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 632 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 633 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 634 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 635 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 636 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 637 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 638 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 639 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 640 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 16.381539374 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 641 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 642 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 643 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 644 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 645 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 646 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 16.469834533 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 647 out of 1000 SELECT * FROM ( SELECT test_alias_skip_idx__fuzz_47, * FROM numbers_mt(100000000.) WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND notEquals(thread_id, test_alias_skip_idx__fuzz_11, master_thread_id) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT test_alias_skip_idx__fuzz_47, * FROM numbers_mt(100000000.) WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND notEquals(thread_id, test_alias_skip_idx__fuzz_11, master_thread_id) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_47' in scope SELECT test_alias_skip_idx__fuzz_47, * FROM numbers_mt(100000000.) WHERE (event_date >= (today() - toLowCardinality(1))) AND (query_id = id) AND notEquals(thread_id, test_alias_skip_idx__fuzz_11, master_thread_id) GROUP BY number WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 26. ? @ 0x00007f2af3f87ac3 27. ? @ 0x00007f2af4019850 Fuzzing step 648 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 649 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 650 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 651 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 652 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 653 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 654 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 655 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 656 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 657 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 658 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 659 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 660 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 661 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 662 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 663 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 664 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 665 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 666 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 667 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 668 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 14.176661068 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 669 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 15.696250604 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 670 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 671 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 672 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 673 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 674 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 675 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 676 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 677 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 679 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 680 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 681 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 682 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 683 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 684 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 685 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 686 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 687 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 688 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 689 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 690 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 16.106291873 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 691 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 692 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 693 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 17.46466698 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 694 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 695 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 696 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 697 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 698 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 699 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 700 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) WITH TOTALS ) PREWHERE a > materialize(toUInt256(toNullable(100))) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) WITH TOTALS) PREWHERE a > materialize(toUInt256(toNullable(100))) GROUP BY number': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/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) @ 0x0000000011097ba1 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 24. ? @ 0x00007f2af3f87ac3 25. ? @ 0x00007f2af4019850 Fuzzing step 701 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 702 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 703 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 704 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 705 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 706 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 707 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 708 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 709 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 710 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 711 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 712 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 713 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 714 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 715 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 716 out of 1000 SELECT * FROM ( SELECT 256, * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT 256, * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Column `256` is not under aggregate function and not in GROUP BY keys. In query SELECT * FROM (SELECT 256, * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x000000001109825e 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x0000000011097f3e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001109733c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011046ece 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 717 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 718 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) PREWHERE toLowCardinality(toLowCardinality(1), 19) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) PREWHERE toLowCardinality(toLowCardinality(1), 19) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT * FROM numbers_mt(100000000.) PREWHERE toLowCardinality(toLowCardinality(1), 19) GROUP BY number WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045ead 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 29. ? @ 0x00007f2af3f87ac3 30. ? @ 0x00007f2af4019850 Fuzzing step 719 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 720 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 721 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 722 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 723 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 724 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 725 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 726 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 727 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 728 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 729 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 730 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 731 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 732 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 733 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 734 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 735 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 736 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 737 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 738 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 16.199730222 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 739 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 740 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 741 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 742 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 743 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 744 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 745 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 746 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 747 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 748 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 749 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 16.012390333 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 750 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 751 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 752 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 753 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 754 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 18.567279831 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 755 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 756 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 757 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 758 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 759 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 760 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 761 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 762 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 763 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 764 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 765 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 766 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 767 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 768 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 769 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 770 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 771 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 772 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 773 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 774 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 775 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 776 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 777 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 778 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 779 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 780 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 781 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 782 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 783 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 784 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 785 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 786 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 787 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 788 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 789 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 790 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 791 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 792 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 793 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 794 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 795 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 796 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 797 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 798 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 799 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 801 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 802 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 803 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 804 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 805 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 806 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 807 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 808 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 809 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 810 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 811 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 812 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 813 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 814 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 815 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 816 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 817 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 818 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 819 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 820 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 821 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 15.685792676 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 822 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 16.874428525 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 823 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 824 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 825 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 826 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 827 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 828 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 829 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 830 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 831 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 832 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 833 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 834 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 835 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 836 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 837 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 838 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 839 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 840 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 841 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 842 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 843 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 844 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 845 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 846 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 847 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 848 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 849 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 15.93875565 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 850 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 851 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 852 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 853 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 854 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 855 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 856 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 857 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 858 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 859 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 860 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 861 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 862 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 863 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 864 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 16.220949378 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 865 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 16.409300445 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 866 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 867 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 868 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 869 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 870 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 871 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 872 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 873 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 874 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 875 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 876 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 877 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 878 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 879 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 880 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 17.134161894 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 881 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 882 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 883 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 884 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 885 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 16.958054515 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 886 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 887 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 888 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 889 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 890 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 891 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 892 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 893 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 894 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 895 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 896 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 897 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 898 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 899 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 900 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 901 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 902 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 903 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 904 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 905 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 906 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 907 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 908 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 909 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 910 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 911 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 912 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 913 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 914 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) WHERE toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) WHERE toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19) GROUP BY number': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_nested_alias_idx__fuzz_30' in scope SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) WHERE toLowCardinality(normalizeQuery(test_nested_alias_idx__fuzz_30, query) = normalizeQuery('with 01091 as id select sum(number) from numbers(1000000);'), 1, 19) GROUP BY number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 30. ? @ 0x00007f2af3f87ac3 31. ? @ 0x00007f2af4019850 Fuzzing step 915 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 916 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 917 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 918 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 919 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 920 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 921 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 922 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 923 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 924 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 925 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 926 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 927 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 928 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 929 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 930 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 931 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 932 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 933 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 934 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 935 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 936 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 937 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 16.580426528 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 938 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 939 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 940 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 941 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 942 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 943 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 944 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 945 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 946 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 947 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 948 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 949 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 950 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 951 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 952 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 953 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 954 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 955 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 15.570999796 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 956 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 957 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 958 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 959 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 960 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 961 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 962 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 963 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 964 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 965 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 966 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 967 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 968 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 969 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 970 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 971 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 16.080415462 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 972 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 973 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 974 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 975 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 976 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 977 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 978 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 979 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 980 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 981 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 982 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 983 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 984 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 985 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 986 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 987 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 988 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 989 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 990 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 991 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 992 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 993 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 16.873108299 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 994 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY number': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS) GROUP BY 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 995 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Got boring AST Fuzzing step 996 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 997 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 998 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number Query succeeded, using this AST as a start Fuzzing step 999 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP WITH TOTALS ) GROUP BY number 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 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 2 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 3 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 4 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 5 out of 1000 EXPLAIN optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 6 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 7 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 8 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 9 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 10 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 11 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 12 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 13 out of 1000 EXPLAIN `header, description` = true, sorting = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN `header, description` = true, sorting = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 14 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 15 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 16 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 17 out of 1000 EXPLAIN QUERY TREE run_passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE run_passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 18 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 19 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 20 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 21 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 22 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 23 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 24 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 25 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 26 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) PREWHERE toLowCardinality(1091 AS id) GROUP BY number ) ORDER BY number DESC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) PREWHERE toLowCardinality(1091 AS id) GROUP BY number) ORDER BY number DESC': Received from localhost:9000. DB::Exception: Table function storage SystemNumbers (table _table_function.numbers_mt) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&) @ 0x00000000110b1dc0 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 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) @ 0x000000001167a47d 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&) @ 0x000000001167675c 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011661c30 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 20. ? @ 0x00007f2af3f87ac3 21. ? @ 0x00007f2af4019850 Fuzzing step 27 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 28 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 29 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 30 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 31 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 32 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 33 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 34 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 35 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 36 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 37 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 38 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 39 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 40 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 41 out of 1000 EXPLAIN AST graph = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 42 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 43 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 44 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 45 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 46 out of 1000 EXPLAIN indexes = true, optimize = true, json = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN indexes = true, optimize = true, json = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 47 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 48 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 49 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 50 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 51 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 52 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 53 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 54 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 55 out of 1000 EXPLAIN QUERY TREE dump_passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 56 out of 1000 EXPLAIN actions = true, json = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN actions = true, json = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "actions" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 57 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 58 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 59 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 60 out of 1000 EXPLAIN QUERY TREE run_passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE run_passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 61 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 62 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 63 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 64 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 65 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 66 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 67 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 68 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 69 out of 1000 EXPLAIN QUERY TREE dump_ast = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_ast = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 70 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 71 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 72 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 73 out of 1000 EXPLAIN actions = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN actions = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "actions" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 74 out of 1000 EXPLAIN `header, description` = true, optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN `header, description` = true, optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 75 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 76 out of 1000 EXPLAIN `header, description` = true, optimize = true, sorting = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN `header, description` = true, optimize = true, sorting = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 77 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 78 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 79 out of 1000 EXPLAIN AST graph = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 80 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 81 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 82 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 83 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 85 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 86 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 87 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 88 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 89 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 90 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 91 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 92 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 94 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 95 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 96 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 97 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 98 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 99 out of 1000 SELECT * FROM ( SELECT equals(normalizeQuery(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);'))), * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT equals(normalizeQuery(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);'))), * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope SELECT equals(normalizeQuery(toLowCardinality('with 01091 as id select sum(number) from numbers(1000000);'))), * FROM numbers_mt(100000000.) GROUP BY number. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011071d89 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045dbe 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c6af 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011073b64 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045d4e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 31. ? @ 0x00007f2af3f87ac3 Fuzzing step 100 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 101 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 102 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 103 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 104 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 105 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 106 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 107 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 108 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC NULLS FIRST Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.009987448 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 109 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 110 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 111 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 112 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 113 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.006861332 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 114 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 115 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 116 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 117 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 118 out of 1000 EXPLAIN QUERY TREE passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 119 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 120 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 121 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 122 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 123 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 124 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 125 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 126 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 127 out of 1000 EXPLAIN QUERY TREE dump_ast = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_ast = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 128 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 129 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 130 out of 1000 EXPLAIN QUERY TREE dump_ast = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_ast = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 131 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 132 out of 1000 EXPLAIN QUERY TREE run_passes = true, passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE run_passes = true, passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 133 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 134 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 135 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 136 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 137 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 138 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 140 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 141 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 142 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 143 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 144 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 145 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.005852961 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 146 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 147 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 148 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 149 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 150 out of 1000 EXPLAIN AST graph = true, optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true, optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 151 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 152 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 153 out of 1000 EXPLAIN optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 154 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 155 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 156 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 157 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 158 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 159 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 160 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 161 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 162 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 163 out of 1000 EXPLAIN AST graph = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 164 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 165 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 166 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.009150213 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 167 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.004269087 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 168 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 169 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 170 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 171 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 172 out of 1000 EXPLAIN sorting = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN sorting = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "sorting" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 173 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 174 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 175 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 176 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 177 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 178 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 179 out of 1000 EXPLAIN AST graph = true, optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true, optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 180 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 181 out of 1000 EXPLAIN sorting = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN sorting = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "sorting" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 182 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.009497193 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 183 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 184 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 185 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 186 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 187 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 188 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 189 out of 1000 EXPLAIN `header, description` = true, actions = true, optimize = true, json = true, sorting = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN `header, description` = true, actions = true, optimize = true, json = true, sorting = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 190 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 191 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 192 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 193 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 194 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 195 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 197 out of 1000 EXPLAIN AST graph = true, optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true, optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 198 out of 1000 EXPLAIN sorting = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN sorting = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "sorting" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 199 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 200 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 201 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 202 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 203 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 204 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 205 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 206 out of 1000 EXPLAIN QUERY TREE dump_passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 207 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 208 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 209 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 210 out of 1000 EXPLAIN AST graph = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 211 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 212 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 213 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.003005035 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 214 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.006018642 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 215 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 216 out of 1000 EXPLAIN QUERY TREE dump_passes = true, dump_ast = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_passes = true, dump_ast = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 217 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.006520872 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 218 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 219 out of 1000 EXPLAIN indexes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN indexes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 220 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 221 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.005437622 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 222 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 223 out of 1000 EXPLAIN `header, description` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN `header, description` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 224 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 225 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 226 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number DESC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number DESC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.017213783 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 227 out of 1000 EXPLAIN QUERY TREE dump_passes = true, dump_ast = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_passes = true, dump_ast = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 228 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS ) PREWHERE toNullable(100) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS) PREWHERE toNullable(100) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Subquery SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH TOTALS does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/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&) @ 0x00000000110b1cf6 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011660475 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001165ea7e 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001165cc6d 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925c4d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 16. ? @ 0x00007f2af3f87ac3 17. ? @ 0x00007f2af4019850 Fuzzing step 229 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 230 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 231 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 232 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 233 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 234 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 235 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 236 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.011728818 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 237 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 238 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 239 out of 1000 EXPLAIN indexes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN indexes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 240 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 241 out of 1000 EXPLAIN AST graph = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 242 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 243 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 244 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 245 out of 1000 EXPLAIN QUERY TREE passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 246 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 247 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 248 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 249 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 250 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 251 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 252 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 253 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 254 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 255 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 256 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 257 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 258 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 259 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 260 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 261 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 262 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 263 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 264 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 265 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 266 out of 1000 EXPLAIN QUERY TREE passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 267 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 268 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 269 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 270 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 271 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 272 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 273 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 274 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 275 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 276 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 277 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 278 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 279 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 280 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 281 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 282 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 283 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 284 out of 1000 EXPLAIN optimize = true, sorting = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN optimize = true, sorting = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 285 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 286 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 287 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 288 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 289 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 290 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 291 out of 1000 EXPLAIN QUERY TREE run_passes = true, dump_passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE run_passes = true, dump_passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 292 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 293 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 294 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 295 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 296 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 EXPLAIN actions = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN actions = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "actions" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 298 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 299 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.025726284 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 300 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 301 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 302 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 303 out of 1000 EXPLAIN AST graph = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 304 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 305 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 306 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 307 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 308 out of 1000 EXPLAIN QUERY TREE passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 309 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 310 out of 1000 EXPLAIN QUERY TREE dump_ast = true, passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_ast = true, passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 311 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 312 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 313 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 314 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 315 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 316 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 317 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 318 out of 1000 EXPLAIN AST graph = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 319 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 320 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 321 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 322 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 323 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 324 out of 1000 EXPLAIN `header, description` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN `header, description` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 325 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 326 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 328 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 329 out of 1000 EXPLAIN indexes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN indexes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 330 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 331 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 332 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 333 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.012421679 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 334 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 335 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 336 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 337 out of 1000 EXPLAIN QUERY TREE dump_passes = true, dump_ast = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_passes = true, dump_ast = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 338 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 339 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 340 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 341 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))), toFixedString('nested_alias', toFixedString('nested_alias', toUInt256(12)), toUInt256(12)), 65536 ORDER BY numbers_mt(toUInt256(26), 16, 100000000.) DESC, number DESC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))), toFixedString('nested_alias', toFixedString('nested_alias', toUInt256(12)), toUInt256(12)), 65536 ORDER BY numbers_mt(toUInt256(26), 16, 100000000.) DESC, number DESC': Received from localhost:9000. DB::Exception: Positional argument number 65536 is out of bounds. Expected in range [1, 1]. In scope SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY today() - toUInt128(toLowCardinality(toNullable(toNullable(1)))), toFixedString('nested_alias', toFixedString('nested_alias', toUInt256(12)), toUInt256(12)), 65536 ORDER BY numbers_mt(toUInt256(26), 16, 100000000.) DESC, number DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e96a0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x000000001105757a 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001107101f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001165c276 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001165d064 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011925aa9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 22. ? @ 0x00007f2af3f87ac3 23. ? @ 0x00007f2af4019850 Fuzzing step 342 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 343 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 344 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 345 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 346 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 347 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 348 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 349 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 350 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 351 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 352 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 353 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 354 out of 1000 EXPLAIN sorting = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN sorting = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "sorting" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 355 out of 1000 EXPLAIN `header, description` = true, json = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN `header, description` = true, json = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 356 out of 1000 EXPLAIN QUERY TREE dump_ast = true, passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_ast = true, passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 357 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 358 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.005509074 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 359 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 360 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 361 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 362 out of 1000 EXPLAIN QUERY TREE dump_passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 363 out of 1000 EXPLAIN AST graph = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 364 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.007584472 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 365 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 366 out of 1000 EXPLAIN QUERY TREE dump_ast = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_ast = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 367 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.006720876 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 368 out of 1000 EXPLAIN `header, description` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN `header, description` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 369 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 370 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 372 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 373 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.003551722 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 374 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 375 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 376 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 377 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 EXPLAIN `header, description` = true, actions = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN `header, description` = true, actions = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 379 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 380 out of 1000 EXPLAIN optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 381 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 382 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 383 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 384 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 385 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 386 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 387 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 388 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 389 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 390 out of 1000 EXPLAIN QUERY TREE passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 391 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 392 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 394 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 395 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 396 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 397 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 398 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 399 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 400 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 401 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 402 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 403 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 404 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 405 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.008206907 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 406 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 407 out of 1000 EXPLAIN AST graph = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 408 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 409 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 410 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 411 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 412 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 413 out of 1000 EXPLAIN optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 414 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 416 out of 1000 EXPLAIN `header, description` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN `header, description` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 417 out of 1000 EXPLAIN QUERY TREE run_passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE run_passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 418 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 419 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 420 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 421 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 422 out of 1000 EXPLAIN QUERY TREE dump_passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 423 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 424 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 425 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 426 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 427 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 428 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 429 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.007121357 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 430 out of 1000 EXPLAIN QUERY TREE dump_ast = true, passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_ast = true, passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 431 out of 1000 EXPLAIN QUERY TREE dump_ast = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_ast = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 432 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 433 out of 1000 EXPLAIN QUERY TREE passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 434 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 435 out of 1000 EXPLAIN QUERY TREE dump_passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 436 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 437 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 438 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 439 out of 1000 EXPLAIN actions = true, indexes = true, json = true, sorting = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN actions = true, indexes = true, json = true, sorting = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "actions" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 440 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 441 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 442 out of 1000 EXPLAIN AST graph = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 443 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 444 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 446 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 447 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 448 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 449 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 450 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 451 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.006602628 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 452 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 453 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number WITH ROLLUP) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 14.451787175 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 454 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 455 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 456 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 457 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 458 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 459 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 460 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 461 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 462 out of 1000 EXPLAIN optimize = true, json = true, sorting = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN optimize = true, json = true, sorting = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 463 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 464 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 465 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 466 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 467 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 468 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 469 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 470 out of 1000 EXPLAIN QUERY TREE dump_ast = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_ast = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 471 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 472 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.005467261 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 473 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 474 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 475 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true, compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true, compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 476 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 477 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 478 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 479 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 480 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 481 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 482 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 483 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 484 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 485 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 486 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 487 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 488 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 489 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 490 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 491 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 492 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 493 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.016633433 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 494 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 495 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 496 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 497 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 498 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 499 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 500 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 501 out of 1000 SELECT * FROM ( SELECT toUInt128(materialize(toLowCardinality(toNullable(toUInt256(19))))), * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY test_alias_skip_idx__fuzz_13, numbers(1000000), normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)), toNullable(toLowCardinality(1)) ORDER BY number ASC NULLS LAST Error on processing query 'SELECT * FROM (SELECT toUInt128(materialize(toLowCardinality(toNullable(toUInt256(19))))), * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY test_alias_skip_idx__fuzz_13, numbers(1000000), normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)), toNullable(toLowCardinality(1)) ORDER BY number ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_alias_skip_idx__fuzz_13' in scope SELECT * FROM (SELECT toUInt128(materialize(toLowCardinality(toNullable(toUInt256(19))))), * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY test_alias_skip_idx__fuzz_13, numbers(1000000), normalizeQuery(toFixedString('with 01091 as id select sum(number) from numbers(1000000);', 58)), toNullable(toLowCardinality(1)) ORDER BY number ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000011079c39 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104e371 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 23. ? @ 0x00007f2af3f87ac3 24. ? @ 0x00007f2af4019850 Fuzzing step 502 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 503 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 504 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 505 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 506 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 507 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 508 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 509 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 510 out of 1000 EXPLAIN `header, description` = true, indexes = true, json = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN `header, description` = true, indexes = true, json = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 511 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 512 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 513 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.00149189 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 514 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 515 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 516 out of 1000 EXPLAIN `header, description` = true, json = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN `header, description` = true, json = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 517 out of 1000 EXPLAIN QUERY TREE dump_passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 518 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 519 out of 1000 EXPLAIN QUERY TREE passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 520 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 521 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 522 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 523 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 524 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 525 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 526 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 527 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 528 out of 1000 EXPLAIN QUERY TREE dump_ast = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_ast = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 529 out of 1000 EXPLAIN QUERY TREE dump_ast = true, passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_ast = true, passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 530 out of 1000 EXPLAIN QUERY TREE run_passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE run_passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 531 out of 1000 EXPLAIN QUERY TREE run_passes = true, dump_ast = true, passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE run_passes = true, dump_ast = true, passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 532 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 533 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 535 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 536 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 537 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 538 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 539 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 540 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 541 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 542 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 543 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 544 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 545 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 546 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 547 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 548 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 549 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 550 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 551 out of 1000 EXPLAIN QUERY TREE dump_passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 552 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 553 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 554 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 555 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 556 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 557 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 558 out of 1000 EXPLAIN AST graph = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 559 out of 1000 EXPLAIN QUERY TREE dump_ast = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_ast = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 560 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 561 out of 1000 EXPLAIN QUERY TREE run_passes = true, dump_passes = true, dump_ast = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE run_passes = true, dump_passes = true, dump_ast = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 562 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 563 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 564 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 565 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 566 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 567 out of 1000 EXPLAIN AST graph = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 568 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 569 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 570 out of 1000 EXPLAIN AST optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 571 out of 1000 EXPLAIN AST graph = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 572 out of 1000 EXPLAIN AST graph = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 573 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 574 out of 1000 EXPLAIN actions = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN actions = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "actions" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 575 out of 1000 EXPLAIN json = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN json = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 576 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 577 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 578 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 579 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 580 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 581 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 582 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 EXPLAIN QUERY TREE passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 584 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 585 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 586 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 587 out of 1000 EXPLAIN QUERY TREE run_passes = true, passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE run_passes = true, passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 588 out of 1000 EXPLAIN QUERY TREE passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 589 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 590 out of 1000 EXPLAIN QUERY TREE run_passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE run_passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 591 out of 1000 EXPLAIN QUERY TREE run_passes = true, passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE run_passes = true, passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 592 out of 1000 EXPLAIN QUERY TREE run_passes = true, dump_ast = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE run_passes = true, dump_ast = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 593 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 594 out of 1000 EXPLAIN QUERY TREE run_passes = true, dump_ast = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE run_passes = true, dump_ast = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 595 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 596 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 597 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 598 out of 1000 EXPLAIN QUERY TREE run_passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE run_passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 599 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 600 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 601 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 602 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 603 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 605 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 606 out of 1000 EXPLAIN actions = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN actions = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "actions" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 607 out of 1000 EXPLAIN indexes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN indexes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 608 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 609 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 610 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 611 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 612 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 613 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 614 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 615 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 616 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.00483126 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 617 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 618 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 619 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) WHERE materialize(toNullable(toUInt256(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), toLowCardinality(toUInt256(2))))) ORDER BY number DESC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) WHERE materialize(toNullable(toUInt256(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), toLowCardinality(toUInt256(2))))) ORDER BY number DESC': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 3, should be 1: In scope SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) WHERE materialize(toNullable(toUInt256(toNullable(toLowCardinality(toNullable(19)), 100, 1091 AS id), toLowCardinality(toUInt256(2))))) ORDER BY number DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011060084 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011045fda 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 Fuzzing step 620 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 621 out of 1000 EXPLAIN optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 622 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.017306698 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 623 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 624 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 625 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 626 out of 1000 EXPLAIN AST graph = true, optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true, optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 627 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 628 out of 1000 EXPLAIN QUERY TREE dump_ast = true, passes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN QUERY TREE dump_ast = true, passes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fd01 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 629 out of 1000 EXPLAIN indexes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN indexes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 630 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 631 out of 1000 EXPLAIN json = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN json = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 632 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 633 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 634 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x000000001159842b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590601 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 635 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 636 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 637 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 638 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 639 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 640 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 641 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 642 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 643 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 644 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 645 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 646 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 647 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 648 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 649 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 650 out of 1000 EXPLAIN PIPELINE compact = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011590035 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 651 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 652 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 653 out of 1000 EXPLAIN `header, description` = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN `header, description` = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 654 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 655 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 656 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 657 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 658 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 659 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 660 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 661 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.00744632 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::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&&) @ 0x0000000010c10cab 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c103ba 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d7be70 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d7b104 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*) @ 0x0000000012d8978a 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. ? @ 0x00007f2af3f87ac3 11. ? @ 0x00007f2af4019850 Fuzzing step 662 out of 1000 EXPLAIN QUERY TREE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 663 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 664 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 665 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 666 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 667 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 668 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 669 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 670 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 671 out of 1000 EXPLAIN AST graph = true, optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true, optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 672 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 673 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 674 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 675 out of 1000 EXPLAIN PIPELINE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 676 out of 1000 EXPLAIN AST SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 677 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 EXPLAIN AST graph = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN AST graph = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158fc57 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 14. ? @ 0x00007f2af3f87ac3 15. ? @ 0x00007f2af4019850 Fuzzing step 679 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 680 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 681 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 682 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 683 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 684 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 685 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 686 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) GROUP BY toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', toNullable(toNullable(100)), 61), materialize(22), materialize(materialize(toNullable(19))), (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)) ORDER BY number DESC Error on processing query 'SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', toNullable(toNullable(100)), 61), materialize(22), materialize(materialize(toNullable(19))), (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)) ORDER BY number DESC': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) GROUP BY toFixedString('with 01091 as id select sum(number) from numbers_mt(1000000);', toNullable(toNullable(100)), 61), materialize(22), materialize(materialize(toNullable(19))), (current_database = currentDatabase()) AND (normalizeQuery(query) LIKE normalizeQuery(toLowCardinality('WITH 01091 AS id SELECT 1;'))) AND (event_date >= (today() - 1)) ORDER BY number DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&) @ 0x0000000011063bcb 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001104c7dc 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001104b920 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011071052 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001104608d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011045119 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x00000000110449ee 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x0000000011598c8a 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&) @ 0x000000001165c276 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001165a769 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&) @ 0x000000001165d064 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000011606ea4 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*) @ 0x0000000011925aa9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 28. ? @ 0x00007f2af3f87ac3 29. ? @ 0x00007f2af4019850 Fuzzing step 687 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 688 out of 1000 EXPLAIN optimize = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN optimize = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 689 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 690 out of 1000 EXPLAIN json = true, sorting = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN json = true, sorting = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 691 out of 1000 EXPLAIN actions = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN actions = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "actions" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 692 out of 1000 EXPLAIN SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Got boring AST Fuzzing step 693 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC. 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135e45ec 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135e467e 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119223f0 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 13. ? @ 0x00007f2af3f87ac3 14. ? @ 0x00007f2af4019850 Fuzzing step 694 out of 1000 EXPLAIN indexes = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN indexes = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/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&) @ 0x0000000010612a8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593592 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 695 out of 1000 EXPLAIN `header, description` = true, optimize = true, json = true SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Error on processing query 'EXPLAIN `header, description` = true, optimize = true, json = true SELECT * FROM (SELECT * FROM numbers_mt(100000000.) GROUP BY number) ORDER BY number ASC': 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) @ 0x00000000164a0872 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 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&&) @ 0x0000000011597eab 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011593782 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158cdd1 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001158c907 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011926236 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119218bd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cd099b 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012ce72d9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000016545e47 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001654631e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164f2b32 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164f0843 15. ? @ 0x00007f2af3f87ac3 16. ? @ 0x00007f2af4019850 Fuzzing step 696 out of 1000 EXPLAIN ESTIMATE SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 697 out of 1000 EXPLAIN SYNTAX SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC Query succeeded, using this AST as a start Fuzzing step 698 out of 1000 SELECT * FROM ( SELECT * FROM numbers_mt(100000000.) GROUP BY number ) ORDER BY number ASC NULLS LAST